diff options
author | pyllyukko <pyllyukko@maimed.org> | 2022-02-05 22:18:22 +0200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-02-06 12:59:29 +0700 |
commit | d4548cf3dacda40a1cfd5b063d844e2ee69c8285 (patch) | |
tree | 5a21131f19cbffd2e05824db83cc9031d5fd7ed1 /system/chipsec/chipsec.SlackBuild | |
parent | 0f222a339e0732b74ee32a58c84dfc4c2499ac06 (diff) |
system/chipsec: Updated for version 1.8.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/chipsec/chipsec.SlackBuild')
-rw-r--r-- | system/chipsec/chipsec.SlackBuild | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/system/chipsec/chipsec.SlackBuild b/system/chipsec/chipsec.SlackBuild index 63e82b61aaded..a612bc06c27c4 100644 --- a/system/chipsec/chipsec.SlackBuild +++ b/system/chipsec/chipsec.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=chipsec -VERSION=${VERSION:-1.3.6} +VERSION=${VERSION:-1.8.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -83,7 +83,8 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -python setup.py install --root=$PKG +mkdir -pv build/lib/chipsec/helper/linux +python3 setup.py build_ext install --root=$PKG # Sign the kernel module (if available) if [ -f /proc/config.gz ] @@ -99,7 +100,7 @@ then ${CONFIG_MODULE_SIG_HASH} \ $KERNSRC/certs/signing_key.pem \ $KERNSRC/certs/signing_key.x509 \ - ${PKG}/usr/lib${LIBDIRSUFFIX}/python2.7/site-packages/chipsec/helper/linux/chipsec.ko + ${PKG}/usr/lib${LIBDIRSUFFIX}/python3.9/site-packages/chipsec/helper/linux/chipsec.ko fi fi @@ -110,8 +111,7 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ AUTHORS COPYING LICENSE README README.md \ $PKG/usr/doc/$PRGNAM-$VERSION -mv -v ${PKG}/usr/share/doc/chipsec/chipsec-manual.pdf $PKG/usr/doc/$PRGNAM-$VERSION -rmdir ${PKG}/usr/share/doc/chipsec ${PKG}/usr/share/doc ${PKG}/usr/share +mv -v ${PKG}/usr/chipsec-manual.pdf $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |