summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authornl67202018-10-08 13:51:52 +0300
committernl67202018-10-08 13:51:52 +0300
commiteeb62474511f4f862bf8b74907715a244d35294c (patch)
treeb5ca49033871f959eae044315f87c0bc4e034332
parente68acb8aedef98265c2efd17f5f1e8da83b47813 (diff)
downloadaur-eeb62474511f4f862bf8b74907715a244d35294c.tar.gz
shim-signed 15.f8-2
Use old MokManager from Fedora's shim-signed 13-4 https://github.com/rhboot/shim/issues/143
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD15
2 files changed, 16 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a8cb391dd48..021d5b87470 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,13 +1,16 @@
pkgbase = shim-signed
pkgdesc = Initial UEFI bootloader that handles chaining to a trusted full bootloader under secure boot environments
pkgver = 15.f8
- pkgrel = 1
+ pkgrel = 2
url = https://apps.fedoraproject.org/packages/shim
arch = x86_64
license = BSD
+ noextract = shim-x64-13-4.x86_64.rpm
options = !strip
source_x86_64 = https://kojipkgs.fedoraproject.org/packages/shim/15/8/x86_64/shim-x64-15-8.x86_64.rpm
+ source_x86_64 = https://kojipkgs.fedoraproject.org/packages/shim-signed/13/4/x86_64/shim-x64-13-4.x86_64.rpm
sha512sums_x86_64 = bea58059801c9af1f9beab675cf7b6bb7262278b1fe874cb56c3dec051a71236a352d3444f82ee0204518fdf1e18cbde4ce2d240dc1223dda2409ea23c3daa48
+ sha512sums_x86_64 = b6091fd4154b7cd4353e9bea2bcd0b796864c3c268a5a9ebce90e738afc7ab30924099b2127eec108d62da96983147c4d40292ed391ed1b2cfe5257b8d6fd474
pkgname = shim-signed
diff --git a/PKGBUILD b/PKGBUILD
index 7b54db76520..7caae59a34e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,14 +2,23 @@
pkgname='shim-signed'
pkgver='15.f8'
-pkgrel='1'
+pkgrel='2'
pkgdesc='Initial UEFI bootloader that handles chaining to a trusted full bootloader under secure boot environments'
url='https://apps.fedoraproject.org/packages/shim'
arch=('x86_64')
license=('BSD')
options=('!strip')
-source_x86_64=("https://kojipkgs.fedoraproject.org/packages/shim/${pkgver//.f/\/}/x86_64/shim-x64-${pkgver//.f/-}.${CARCH}.rpm")
-sha512sums_x86_64=('bea58059801c9af1f9beab675cf7b6bb7262278b1fe874cb56c3dec051a71236a352d3444f82ee0204518fdf1e18cbde4ce2d240dc1223dda2409ea23c3daa48')
+noextract=('shim-x64-13-4.x86_64.rpm')
+source_x86_64=("https://kojipkgs.fedoraproject.org/packages/shim/${pkgver//.f/\/}/x86_64/shim-x64-${pkgver//.f/-}.${CARCH}.rpm"
+ 'https://kojipkgs.fedoraproject.org/packages/shim-signed/13/4/x86_64/shim-x64-13-4.x86_64.rpm')
+sha512sums_x86_64=('bea58059801c9af1f9beab675cf7b6bb7262278b1fe874cb56c3dec051a71236a352d3444f82ee0204518fdf1e18cbde4ce2d240dc1223dda2409ea23c3daa48'
+ 'b6091fd4154b7cd4353e9bea2bcd0b796864c3c268a5a9ebce90e738afc7ab30924099b2127eec108d62da96983147c4d40292ed391ed1b2cfe5257b8d6fd474')
+
+prepare() {
+ cd "${srcdir}"
+ # Use old MokManager from Fedora's shim-signed 13-4, https://github.com/rhboot/shim/issues/143
+ bsdtar -f shim-x64-13-4.x86_64.rpm -x boot/efi/EFI/fedora/mmx64.efi
+}
package() {
# EFI binaries for x86_64 UEFI