From 4a9844739776a42356be0025eff5caa84c9d519f Mon Sep 17 00:00:00 2001 From: David Flatz Date: Wed, 22 Feb 2017 11:29:19 +0100 Subject: [PATCH] efibootmgr: copy cmdline from grub.default, fix syntax error Closes: #5800 [via git-merge-pr] --- srcpkgs/efibootmgr/files/efibootmgr-kernel-hook.confd | 2 +- srcpkgs/efibootmgr/files/kernel.d/efibootmgr.post-install | 2 +- srcpkgs/efibootmgr/template | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/srcpkgs/efibootmgr/files/efibootmgr-kernel-hook.confd b/srcpkgs/efibootmgr/files/efibootmgr-kernel-hook.confd index 87c0eef92c6..fb704e7b2ec 100644 --- a/srcpkgs/efibootmgr/files/efibootmgr-kernel-hook.confd +++ b/srcpkgs/efibootmgr/files/efibootmgr-kernel-hook.confd @@ -3,6 +3,6 @@ MODIFY_EFI_ENTRIES=0 # To allow efibootmgr to modify boot entries, set # MODIFY_EFI_ENTRIES=1 # 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="/dev/sda" diff --git a/srcpkgs/efibootmgr/files/kernel.d/efibootmgr.post-install b/srcpkgs/efibootmgr/files/kernel.d/efibootmgr.post-install index c3251e0a59a..55bde1bce26 100644 --- a/srcpkgs/efibootmgr/files/kernel.d/efibootmgr.post-install +++ b/srcpkgs/efibootmgr/files/kernel.d/efibootmgr.post-install @@ -15,7 +15,7 @@ fi OPTIONS="${OPTIONS} initrd=/initramfs-${VERSION}.img" args="" -if ["x${DISK}" != x]; then +if [ "x${DISK}" != x ]; then args="-d $DISK" fi diff --git a/srcpkgs/efibootmgr/template b/srcpkgs/efibootmgr/template index 5d40e8cfad6..e3aed0c487d 100644 --- a/srcpkgs/efibootmgr/template +++ b/srcpkgs/efibootmgr/template @@ -1,7 +1,7 @@ # Template file for 'efibootmgr' pkgname=efibootmgr version=14 -revision=2 +revision=3 hostmakedepends="pkg-config" makedepends="libefivar-devel zlib-devel pciutils-devel" short_desc="Tool to modify UEFI Firmware Boot Manager Variables"