The benefit of this change is that even if kernel-install
is not used (e.g. direct user invocation), the correct
kernel command line options will be set for the generated
rescue image.
hostonly="no"
add_dracutmodules+=" rescue "
uefi="no"
+kernel_cmdline=" rd.auto=1 "
echo "title $PRETTY_NAME - Rescue Image"
echo "version $KERNEL_VERSION"
echo "machine-id $MACHINE_ID"
- echo "options ${BOOT_OPTIONS[*]} rd.auto=1"
+ echo "options ${BOOT_OPTIONS[*]}"
echo "linux $BOOT_DIR/linux"
echo "initrd $BOOT_DIR/initrd"
} > "$LOADER_ENTRY"