summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--images/NEWS4
-rw-r--r--images/dracut.conf.d/01-dist.conf (renamed from images/dracut.conf)0
-rwxr-xr-ximages/make_boot_img3
3 files changed, 5 insertions, 2 deletions
diff --git a/images/NEWS b/images/NEWS
index d08d5d491..6dc81585f 100644
--- a/images/NEWS
+++ b/images/NEWS
@@ -1,3 +1,7 @@
+- fix image build with dracut >= 108-8
+ * default distro config was moved into /usr/lib/dracut/dracut.conf.d and
+ renamed as 01-dist.conf
+
Version 2.92 - 18 October 2025 by Jani Välimaa
- remove 'Memory Test' from boot images as we don't have linux32 module anymore in grub2
diff --git a/images/dracut.conf b/images/dracut.conf.d/01-dist.conf
index 88efd9a14..88efd9a14 100644
--- a/images/dracut.conf
+++ b/images/dracut.conf.d/01-dist.conf
diff --git a/images/make_boot_img b/images/make_boot_img
index 31af50744..6953b02df 100755
--- a/images/make_boot_img
+++ b/images/make_boot_img
@@ -159,9 +159,8 @@ sub initrd {
chomp $extras;
my $install_extras = $extras ? "--install '$extras'" : "";
- mkdir_p("build/dracut.conf.d");
# TODO if --nofscks and --no-hostonly are switched, dracut gives an error - fix or report upstream
- __ "DRAKX_STAGE1_BINARY=$stage1_binary DRAKX_INIT_BINARY=$init_binary DRAKX_FAKE_MODULES='$fakedrivers' dracut --conf dracut.conf --confdir ./build/dracut.conf.d --add ' $modules ' --add-drivers ' $drivers ' $install_extras '$img' '$kernel'";
+ __ "DRAKX_STAGE1_BINARY=$stage1_binary DRAKX_INIT_BINARY=$init_binary DRAKX_FAKE_MODULES='$fakedrivers' dracut --confdir ./dracut.conf.d --add ' $modules ' --add-drivers ' $drivers ' $install_extras '$img' '$kernel'";
chmod(0644, $img);
}