# Contributor: Jakub Jirutka # Maintainer: Jakub Jirutka pkgname=secureboot-hook pkgver=0.1 pkgrel=4 pkgdesc="A kernel hook for generating signed UEFI Unified Kernel Image" url="https://gitlab.alpinelinux.org/alpine/aports" arch="noarch !armhf !s390x !ppc64le !mips !mips64" # 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=" 10ef8d0a1fa7f3d323f69b1321fea02add512b40fc97b05b51f507544567bd6518816efaa46d2b50876c71d2e13acdcc25f92271b3f668d2be5e4e534ac4651c secureboot.hook a4f0c8c018231b77ef2545ce87dc79e0067741b46d84843056ce5b58c1809840fe916c4317b477b7d8db704afd8f59debc9ff0badceb9101d93b4cd626e58c74 secureboot.conf "