summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorCorey Hinshaw2018-11-29 20:33:03 -0500
committerCorey Hinshaw2018-11-29 20:33:03 -0500
commit4103bdee8ae5264451f867d40694b7f5502d2a50 (patch)
treed11b201216092dc968d9d961176e8153c0f8e244
parentf0bdbf887f846888a068c89ffae062601ae0cfa6 (diff)
downloadaur-4103bdee8ae5264451f867d40694b7f5502d2a50.tar.gz
Make pacman hook compatible with Manjaro and rEFInd
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD4
-rw-r--r--luks-tpm2.hook3
3 files changed, 6 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 6ab7df39b223..2dc5d9337bd2 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = luks-tpm2
pkgdesc = Utility to manage LUKS keys sealed by a TPM 2.0
pkgver = 0.6.0
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/electrickite/luks-tpm2
install = luks-tpm2.install
arch = any
@@ -16,7 +16,7 @@ pkgbase = luks-tpm2
source = https://github.com/electrickite/luks-tpm2/archive/0.6.0.tar.gz
source = luks-tpm2.hook
sha1sums = d5de7348787f140ab9af4055ea6d4db37f56291b
- sha1sums = 3f0f166a469d71441d0a9d20320cea671119ef0b
+ sha1sums = 6156622b538d8f78d2930bc85e91d3bfee5ebfb6
pkgname = luks-tpm2
diff --git a/PKGBUILD b/PKGBUILD
index c73be184210d..b78706e8de84 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=luks-tpm2
pkgver=0.6.0
-pkgrel=1
+pkgrel=2
pkgdesc="Utility to manage LUKS keys sealed by a TPM 2.0"
arch=('any')
url="https://github.com/electrickite/luks-tpm2"
@@ -18,7 +18,7 @@ depends=('tpm2-tools'
source=("https://github.com/electrickite/${pkgname}/archive/${pkgver}.tar.gz"
'luks-tpm2.hook')
sha1sums=('d5de7348787f140ab9af4055ea6d4db37f56291b'
- '3f0f166a469d71441d0a9d20320cea671119ef0b')
+ '6156622b538d8f78d2930bc85e91d3bfee5ebfb6')
package() {
diff --git a/luks-tpm2.hook b/luks-tpm2.hook
index 800f492846f5..883519a5db1e 100644
--- a/luks-tpm2.hook
+++ b/luks-tpm2.hook
@@ -3,10 +3,11 @@ Operation = Install
Operation = Upgrade
Operation = Remove
Type = File
-Target = boot/vmlinuz-linux*
+Target = boot/vmlinuz-*
Target = boot/intel-ucode.img
Target = usr/lib/initcpio/*
Target = usr/lib/systemd/boot/efi/linux*.efi.stub
+Target = usr/share/refind/refind_x64.efi
[Action]
Description = Adding temporary LUKS TPM key...