This commit is contained in:
Valeria Fadeeva 2023-10-18 13:03:11 +05:00
parent 8f58aadaa3
commit 6d2cacb8cd
1 changed files with 4 additions and 2 deletions

View File

@ -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")