Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

efibootmgr: add option to set partition number of EFI partition #12899

Merged
merged 1 commit into from
Jul 8, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 2 additions & 0 deletions srcpkgs/efibootmgr/files/efibootmgr-kernel-hook.confd
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@ MODIFY_EFI_ENTRIES=0
# OPTIONS="root=/dev/sda3 loglevel=4 slub_debug=P page_poison=1"
# Disk where EFI Partition is. Default is /dev/sda
# DISK="/dev/sda"
# Partition number of EFI Partition. Default is 1
# PART=1
3 changes: 3 additions & 0 deletions srcpkgs/efibootmgr/files/kernel.d/efibootmgr.post-install
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ args=""
if [ "x${DISK}" != x ]; then
args="-d $DISK"
fi
if [ "x${PART}" != x ]; then
args="$args -p $PART"
fi

# get major version, e.g. "4.8" for "linux4.8"
major_version=$(echo $PKGNAME | cut -c 6-)
Expand Down
2 changes: 1 addition & 1 deletion srcpkgs/efibootmgr/template
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Template file for 'efibootmgr'
pkgname=efibootmgr
version=17
revision=2
revision=3
hostmakedepends="pkg-config"
makedepends="libefivar-devel popt-devel"
short_desc="Tool to modify UEFI Firmware Boot Manager Variables"
Expand Down