# HG changeset patch # User Hans-G?nter Theisgen # Date 1645423131 -3600 # Node ID 3ef416821a7d9eb122f72c1eb99f607ccfae3b08 # Parent 92ffb94dcac0ec39b755dec9a7a6b9ab93a473de updated efibootmgr (16 -> 17) diff -r 92ffb94dcac0 -r 3ef416821a7d efibootmgr/description.txt --- a/efibootmgr/description.txt Sun Feb 20 17:31:17 2022 +0100 +++ b/efibootmgr/description.txt Mon Feb 21 06:58:51 2022 +0100 @@ -1,10 +1,10 @@ -This is efibootmgr, a Linux user-space application to modify the -Intel Extensible Firmware Interface (EFI) Boot Manager. +Efibootmgr is a Linux user-space application to modify the Intel +Extensible Firmware Interface (EFI) Boot Manager. This application can create and destroy boot entries, change the boot order, change the next running boot option, and more. -Details on the EFI Boot Manager are available from the EFI Specification, -v1.02 or above, available from: http://www.uefi.org +Details on the EFI Boot Manager are available from the EFI +Specification, v1.02 or above, available from: http://www.uefi.org -Note: efibootmgr requires that the kernel module efivars be loaded -prior to use. Running modprobe efivars should do the trick. +Note: efibootmgr requires either the efivarfs or the legacy efivars +kernel module to be loaded prior to use. diff -r 92ffb94dcac0 -r 3ef416821a7d efibootmgr/receipt --- a/efibootmgr/receipt Sun Feb 20 17:31:17 2022 +0100 +++ b/efibootmgr/receipt Mon Feb 21 06:58:51 2022 +0100 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="efibootmgr" -VERSION="16" +VERSION="17" CATEGORY="system-tools" SHORT_DESC="Manage UEFI boot manager variables." MAINTAINER="maintainer@slitaz.org" @@ -23,6 +23,8 @@ # Rules to configure and make the package. compile_rules() { + patch --strip=1 --input=$stuff/patches/efibootmgr.c-17 && + export EFIDIR=/boot/efi export CC=gcc-83 export COMPILER=gcc-83 @@ -35,6 +37,5 @@ # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr - cp -a $install/usr/sbin $fs/usr + cook_copy_folders sbin } diff -r 92ffb94dcac0 -r 3ef416821a7d efibootmgr/stuff/patches/efibootmgr.c-17 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/efibootmgr/stuff/patches/efibootmgr.c-17 Mon Feb 21 06:58:51 2022 +0100 @@ -0,0 +1,14 @@ +diff --git a/src/efibootmgr.c b/src/efibootmgr.c +index de38f01..4e1a680 100644 +--- a/src/efibootmgr.c ++++ b/src/efibootmgr.c +@@ -1536,9 +1536,6 @@ parse_opts(int argc, char **argv) + "invalid numeric value %s\n", + optarg); + } +- /* XXX efivar-36 accidentally doesn't have a public +- * header for this */ +- extern int efi_set_verbose(int verbosity, FILE *errlog); + efi_set_verbose(opts.verbose - 2, stderr); + break; + case 'V':