summaryrefslogtreecommitdiff
path: root/libraries/efivar/efivar.SlackBuild
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2018-01-18 21:40:57 +1300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-01-20 07:01:20 +0700
commitbd48040e2c38d180791db193941a728af90c53bc (patch)
tree230077bdda2a974091cad5ad244ae28b34ef1922 /libraries/efivar/efivar.SlackBuild
parent60dfbd1fd169c59645d4b687beb61c635c6f160c (diff)
downloadslackbuilds-bd48040e2c38d180791db193941a728af90c53bc.tar.gz
libraries/efivar: Add patch to make efi_guid_ux_capsule work.
This allows building fwupdate 10. Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
Diffstat (limited to 'libraries/efivar/efivar.SlackBuild')
-rw-r--r--libraries/efivar/efivar.SlackBuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/libraries/efivar/efivar.SlackBuild b/libraries/efivar/efivar.SlackBuild
index d90165b735..0983a50b56 100644
--- a/libraries/efivar/efivar.SlackBuild
+++ b/libraries/efivar/efivar.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for efivar
-# Copyright 2017 Andrew Clemons, Wellington New Zealand
+# Copyright 2017-2018 Andrew Clemons, Wellington New Zealand
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,7 +24,7 @@
PRGNAM=efivar
VERSION=${VERSION:-32}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -64,6 +64,9 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
+# patch to allow building latest fwupdate
+# https://github.com/rhboot/efivar/issues/96
+zcat $CWD/cd732494ba7685feaf71b9ee58619ca6aef39fc9.patch.gz | patch -p1
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \