diff options
| author | Jani Välimaa <wally@mageia.org> | 2025-10-25 12:56:02 +0300 |
|---|---|---|
| committer | Jani Välimaa <wally@mageia.org> | 2025-10-25 13:08:50 +0300 |
| commit | 4390acee98708ff75d00685995ac7dd40d0b3f5f (patch) | |
| tree | 2e5eb54429a88293ab3ef317105a778b1bf0e739 | |
| parent | d45506bfa1ec98c00e215cb47b122afa5b61ee5f (diff) | |
| download | drakx-4390acee98708ff75d00685995ac7dd40d0b3f5f.tar drakx-4390acee98708ff75d00685995ac7dd40d0b3f5f.tar.gz drakx-4390acee98708ff75d00685995ac7dd40d0b3f5f.tar.bz2 drakx-4390acee98708ff75d00685995ac7dd40d0b3f5f.tar.xz drakx-4390acee98708ff75d00685995ac7dd40d0b3f5f.zip | |
images: fix image build with new dracut distro config location
| -rw-r--r-- | images/NEWS | 4 | ||||
| -rw-r--r-- | images/dracut.conf.d/01-dist.conf (renamed from images/dracut.conf) | 0 | ||||
| -rwxr-xr-x | images/make_boot_img | 3 |
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); } |
