Remove add_efi_memmap option

See: https://bbs.archlinux.org/viewtopic.php?id=147400
This commit is contained in:
Jeremy Gardais 2023-09-04 17:02:17 +02:00
parent bda48a81c0
commit e40ace37a5
Signed by: jegardai
GPG Key ID: E759BAA22501AF32
1 changed files with 3 additions and 3 deletions

View File

@ -99,7 +99,7 @@ Unified kernel OPTIONS :
-k,--kernel,--kernel-cmd -k,--kernel,--kernel-cmd
Define the kernel command line to use. Define the kernel command line to use.
(default: build with root-fs|root-uuid and add_efi_memmap + ro options) (default: build with root-fs|root-uuid + ro options)
UEFI entry OPTIONS: UEFI entry OPTIONS:
@ -155,9 +155,9 @@ define_vars() { # {{{
# If kernel_command_line wasn't defined (argument) {{{ # If kernel_command_line wasn't defined (argument) {{{
if [ -z "${kernel_command_line-}" ]; then if [ -z "${kernel_command_line-}" ]; then
## Use default value ## Use default value
readonly kernel_command_line="root=UUID=${root_uuid} rootfstype=${root_fstype} add_efi_memmap ro" readonly kernel_command_line="root=UUID=${root_uuid} rootfstype=${root_fstype} ro"
## For encrypted LVM ## For encrypted LVM
#readonly kernel_command_line="root=UUID=${root_uuid} rootfstype=${root_fstype} add_efi_memmap ro cryptdevice=UUID=${crypt_part_uuid}:lvm" #readonly kernel_command_line="root=UUID=${root_uuid} rootfstype=${root_fstype} ro cryptdevice=UUID=${crypt_part_uuid}:lvm"
fi fi
# }}} # }}}
# If uefi_boot_stub_file wasn't defined (argument) {{{ # If uefi_boot_stub_file wasn't defined (argument) {{{