aports/main/secureboot-hook/APKBUILD
Sertonix 3a23f07bba main/secureboot-hook: use PATH to find binaries
Not hardcoding the paths to binaries avoids issues when these are moved.
2025-03-16 18:37:31 +00:00

28 lines
1.1 KiB
Text
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 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
"