wok rev 24510

updated efibootmgr (16 -> 17)
author Hans-G?nter Theisgen
date Mon Feb 21 06:58:51 2022 +0100 (2022-02-21)
parents 92ffb94dcac0
children ff9ccba72fd2
files efibootmgr/description.txt efibootmgr/receipt efibootmgr/stuff/patches/efibootmgr.c-17
line diff
     1.1 --- a/efibootmgr/description.txt	Sun Feb 20 17:31:17 2022 +0100
     1.2 +++ b/efibootmgr/description.txt	Mon Feb 21 06:58:51 2022 +0100
     1.3 @@ -1,10 +1,10 @@
     1.4 -This is efibootmgr, a Linux user-space application to modify the
     1.5 -Intel Extensible Firmware Interface (EFI) Boot Manager.
     1.6 +Efibootmgr is a Linux user-space application to modify the Intel
     1.7 +Extensible Firmware Interface (EFI) Boot Manager.
     1.8  This application can create and destroy boot entries, change the
     1.9  boot order, change the next running boot option, and more.
    1.10  
    1.11 -Details on the EFI Boot Manager are available from the EFI Specification,
    1.12 -v1.02 or above, available from: http://www.uefi.org
    1.13 +Details on the EFI Boot Manager are available from the EFI
    1.14 +Specification, v1.02 or above, available from: http://www.uefi.org
    1.15  
    1.16 -Note: efibootmgr requires that the kernel module efivars be loaded
    1.17 -prior to use. Running modprobe efivars should do the trick.
    1.18 +Note: efibootmgr requires either the efivarfs or the legacy efivars
    1.19 +kernel module to be loaded prior to use.
     2.1 --- a/efibootmgr/receipt	Sun Feb 20 17:31:17 2022 +0100
     2.2 +++ b/efibootmgr/receipt	Mon Feb 21 06:58:51 2022 +0100
     2.3 @@ -1,7 +1,7 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="efibootmgr"
     2.7 -VERSION="16"
     2.8 +VERSION="17"
     2.9  CATEGORY="system-tools"
    2.10  SHORT_DESC="Manage UEFI boot manager variables."
    2.11  MAINTAINER="maintainer@slitaz.org"
    2.12 @@ -23,6 +23,8 @@
    2.13  # Rules to configure and make the package.
    2.14  compile_rules()
    2.15  {
    2.16 +	patch --strip=1 --input=$stuff/patches/efibootmgr.c-17 &&
    2.17 +
    2.18  	export	EFIDIR=/boot/efi
    2.19  	export	CC=gcc-83
    2.20  	export	COMPILER=gcc-83
    2.21 @@ -35,6 +37,5 @@
    2.22  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.23  genpkg_rules()
    2.24  {
    2.25 -	mkdir -p $fs/usr
    2.26 -	cp -a $install/usr/sbin	$fs/usr
    2.27 +	cook_copy_folders	sbin
    2.28  }
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/efibootmgr/stuff/patches/efibootmgr.c-17	Mon Feb 21 06:58:51 2022 +0100
     3.3 @@ -0,0 +1,14 @@
     3.4 +diff --git a/src/efibootmgr.c b/src/efibootmgr.c
     3.5 +index de38f01..4e1a680 100644
     3.6 +--- a/src/efibootmgr.c
     3.7 ++++ b/src/efibootmgr.c
     3.8 +@@ -1536,9 +1536,6 @@ parse_opts(int argc, char **argv)
     3.9 + 					       "invalid numeric value %s\n",
    3.10 + 					       optarg);
    3.11 + 			}
    3.12 +-                        /* XXX efivar-36 accidentally doesn't have a public
    3.13 +-                         * header for this */
    3.14 +-			extern int efi_set_verbose(int verbosity, FILE *errlog);
    3.15 + 			efi_set_verbose(opts.verbose - 2, stderr);
    3.16 + 			break;
    3.17 + 		case 'V':