mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-05-12 23:54:32 +02:00
28 lines
1.1 KiB
Text
28 lines
1.1 KiB
Text
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
|
||
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
|
||
pkgname=secureboot-hook
|
||
pkgver=0.3
|
||
pkgrel=0
|
||
pkgdesc="A kernel hook for generating signed UEFI Unified Kernel Image"
|
||
url="https://gitlab.alpinelinux.org/alpine/aports"
|
||
arch="noarch !armhf !s390x !ppc64le" # limited by sbsigntool
|
||
license="MIT"
|
||
depends="efi-mkuki kernel-hooks initramfs-generator sbsigntool"
|
||
install="$pkgname.post-install $pkgname.pre-deinstall"
|
||
source="secureboot.hook
|
||
secureboot.conf
|
||
"
|
||
options="!check" # no tests provided
|
||
|
||
package() {
|
||
local name='secureboot'
|
||
|
||
install -D -m755 "$srcdir"/$name.hook "$pkgdir"/usr/share/kernel-hooks.d/$name.hook
|
||
install -D -m644 "$srcdir"/$name.conf "$pkgdir"/etc/kernel-hooks.d/$name.conf
|
||
install -d -m700 "$pkgdir"/etc/uefi-keys
|
||
}
|
||
|
||
sha512sums="
|
||
df4c3c75cad8a9b89f60197ce6c426a7eebdff92dc5831da24eece4c4abd873270a5eadf494af9c9946ed19961ddb67035bb2981210808f5ce78cf8c304ba290 secureboot.hook
|
||
0777b1ec63d7d21a2144737fb913a52b8deedadbec69b7450799c228950adf9213d5d40e52617841dbae3bf4451f37a18f833e94860fab2c7779779b5fa9f66d secureboot.conf
|
||
"
|