Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=a025d5fe228141e7e69bf6c1e4bae2522b322bc1

commit a025d5fe228141e7e69bf6c1e4bae2522b322bc1
Author: DeX77 <[email protected]>
Date:   Tue Jan 9 10:03:02 2018 +0100

efivar-32-2-x86_64

* fix fwupdate

diff --git a/source/base/efivar/FrugalBuild b/source/base/efivar/FrugalBuild
index b83a318..10020db 100644
--- a/source/base/efivar/FrugalBuild
+++ b/source/base/efivar/FrugalBuild
@@ -3,7 +3,7 @@

pkgname=efivar
pkgver=32
-pkgrel=1
+pkgrel=2
pkgdesc="Library to manipulate EFI variables"
depends=('popt>=1.16-9')
groups=('base')
@@ -11,7 +11,9 @@ archs=('x86_64')
_F_github_author="rhboot"
_F_github_tag=y
Finclude github
-sha1sums=('00eb9cfcb5b2de72e42d25fb044e12fb0ce83603')
+source+=("efi_guid_ux_capsule.patch")
+sha1sums=('00eb9cfcb5b2de72e42d25fb044e12fb0ce83603' \
+          'f582716de1e38f0c44ed691cce053f8da75d1152')
options+=('force' 'static')
_F_make_opts="libdir=/usr/lib/ bindir=/usr/bin/ mandir=/usr/share/man/ 
includedir=/usr/include/ V=1 -j1"

diff --git a/source/base/efivar/efi_guid_ux_capsule.patch 
b/source/base/efivar/efi_guid_ux_capsule.patch
new file mode 100644
index 0000000..8a5a72f
--- /dev/null
+++ b/source/base/efivar/efi_guid_ux_capsule.patch
@@ -0,0 +1,59 @@
+From cd732494ba7685feaf71b9ee58619ca6aef39fc9 Mon Sep 17 00:00:00 2001
+From: Peter Jones <[email protected]>
+Date: Tue, 12 Sep 2017 10:45:31 -0400
+Subject: [PATCH] Make efi_guid_ux_capsule actually work.
+
+Signed-off-by: Peter Jones <[email protected]>
+---
+ src/abignore         | 11 ++++++++++-
+ src/guids.txt        |  2 +-
+ src/libefivar.map.in |  4 ++++
+ 3 files changed, 15 insertions(+), 2 deletions(-)
+
+diff --git a/src/abignore b/src/abignore
+index 74b5160..479b5c3 100644
+--- a/src/abignore
++++ b/src/abignore
+@@ -14,7 +14,16 @@
+ #               'efidp_wifi __anonymous_union__::wifi' at efivar-dp.h:868:1
+ #
+ [suppress_type]
+-  soname_regexp = libefi(var|boot)\\.so
++  soname_regexp = libefi(var|boot)\\.so\\..*
+   name = efidp_data
+   type_kind = typedef
+   has_data_member_inserted_at = end
++
++# 1 Added variable:
++#
++#  'const __anonymous_struct__ efi_guid_ux_capsule'    
{efi_guid_ux_capsule@@LIBEFIVAR_1.32}
++#
++[suppress_variable]
++  soname_regexp = ^libefivar\\.so\\.[[:digit:]]+
++  symbol_name_regexp = ^efi_guid_[[:alnum:]_]+$
++  change_kind = add-variable
+diff --git a/src/guids.txt b/src/guids.txt
+index 87e2f61..06081ed 100644
+--- a/src/guids.txt
++++ b/src/guids.txt
+@@ -3,7 +3,7 @@
+ 0abba7dc-e516-4167-bbf5-4d9d1c739416  redhat  Red Hat
+ 0b6e5233-a65c-44c9-9407-d9ab83bfc8bd  sha224  SHA-224
+ 126a762d-5758-4fca-8531-201a7f57f850  lenovo_boot_menu        Lenovo Boot Menu
+-3b8c8162-188c-46a4-aec9-be43f1d65697  ux_capsule_guid Firmware update 
localized text image
++3b8c8162-188c-46a4-aec9-be43f1d65697  ux_capsule      Firmware update 
localized text image
+ 3bd2a492-96c0-4079-b420-fcf98ef103ed  x509_sha256     SHA256 hash of X.509 
Certificate
+ 3c5766e8-269c-4e34-aa14-ed776e85b3b6  rsa2048 RSA 2048
+ 3CC24E96-22C7-41D8-8863-8E39DCDCC2CF  lenovo  Lenovo
+diff --git a/src/libefivar.map.in b/src/libefivar.map.in
+index ba51d55..a95a505 100644
+--- a/src/libefivar.map.in
++++ b/src/libefivar.map.in
+@@ -110,3 +110,7 @@ LIBEFIVAR_1.30 {
+               efi_error_get;
+               efi_error_clear;
+ } LIBEFIVAR_1.29;
++
++LIBEFIVAR_1.32 {
++      global: efi_guid_ux_capsule;
++} LIBEFIVAR_1.30;
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to