From 6d2cacb8cd1b824b2c8b1494bfd4a65d964d3fe8 Mon Sep 17 00:00:00 2001 From: Valeria Fadeeva Date: Wed, 18 Oct 2023 13:03:11 +0500 Subject: [PATCH] Update --- usr/bin/dracut-ukify | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/usr/bin/dracut-ukify b/usr/bin/dracut-ukify index f698a17..13b4348 100755 --- a/usr/bin/dracut-ukify +++ b/usr/bin/dracut-ukify @@ -220,7 +220,8 @@ function gen_image() { efi_image_fallback="$BOOT_PATH/$kernel_name-fallback.efi" echo "==> Building initrd image $kernel_name $initrd_image" - dracut --force --hostonly --no-hostonly-cmdline --kver "$kernel_version" "$initrd_image" +# dracut --force --hostonly --no-hostonly-cmdline --kver "$kernel_version" "$initrd_image" + dracut --force --hostonly --no-hostonly-i18n --early-microcode --kernel-cmdline="$cmdline" --kver "$kernel_version" "$initrd_image" declare -a ukify_args=("${ukify_global_args[@]}") ukify_args+=(--linux "$vmlinuz") @@ -247,7 +248,8 @@ function gen_image() { fi echo "==> Building initrd image $kernel_name $initrd_image_fallback" - dracut --force --kver "$kernel_version" "$initrd_image_fallback" +# dracut --force --kver "$kernel_version" "$initrd_image_fallback" + dracut --force --no-hostonly --no-hostonly-i18n --early-microcode --kernel-cmdline="$cmdline" --kver "$kernel_version" "$initrd_image_fallback" declare -a ukify_args=("${ukify_global_args[@]}") ukify_args+=(--linux "$vmlinuz")