Update
This commit is contained in:
parent
8f58aadaa3
commit
6d2cacb8cd
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue