efibootmgr: copy cmdline from grub.default, fix syntax error
Closes: #5800 [via git-merge-pr]
This commit is contained in:
parent
6a92429fa9
commit
4a98447397
|
@ -3,6 +3,6 @@ MODIFY_EFI_ENTRIES=0
|
||||||
# To allow efibootmgr to modify boot entries, set
|
# To allow efibootmgr to modify boot entries, set
|
||||||
# MODIFY_EFI_ENTRIES=1
|
# MODIFY_EFI_ENTRIES=1
|
||||||
# Kernel command-line options. Example:
|
# Kernel command-line options. Example:
|
||||||
# OPTIONS="root=/dev/sda3"
|
# OPTIONS="root=/dev/sda3 loglevel=4 slub_debug=P page_poison=1"
|
||||||
# Disk where EFI Partition is. Default is /dev/sda
|
# Disk where EFI Partition is. Default is /dev/sda
|
||||||
# DISK="/dev/sda"
|
# DISK="/dev/sda"
|
||||||
|
|
|
@ -15,7 +15,7 @@ fi
|
||||||
OPTIONS="${OPTIONS} initrd=/initramfs-${VERSION}.img"
|
OPTIONS="${OPTIONS} initrd=/initramfs-${VERSION}.img"
|
||||||
|
|
||||||
args=""
|
args=""
|
||||||
if ["x${DISK}" != x]; then
|
if [ "x${DISK}" != x ]; then
|
||||||
args="-d $DISK"
|
args="-d $DISK"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'efibootmgr'
|
# Template file for 'efibootmgr'
|
||||||
pkgname=efibootmgr
|
pkgname=efibootmgr
|
||||||
version=14
|
version=14
|
||||||
revision=2
|
revision=3
|
||||||
hostmakedepends="pkg-config"
|
hostmakedepends="pkg-config"
|
||||||
makedepends="libefivar-devel zlib-devel pciutils-devel"
|
makedepends="libefivar-devel zlib-devel pciutils-devel"
|
||||||
short_desc="Tool to modify UEFI Firmware Boot Manager Variables"
|
short_desc="Tool to modify UEFI Firmware Boot Manager Variables"
|
||||||
|
|
Loading…
Reference in New Issue