postmarketos-base: add nofde subpackage (MR 2278)

This commit is contained in:
Clayton Craft 2021-06-18 15:46:01 -07:00
parent 77b31aece1
commit 4136eeae5a
No known key found for this signature in database
GPG key ID: 7A3461CA187CEA54

View file

@ -1,6 +1,6 @@
pkgname=postmarketos-base
pkgver=12
pkgrel=0
pkgrel=1
pkgdesc="Meta package for minimal postmarketOS base"
url="https://postmarketos.org"
arch="noarch"
@ -17,6 +17,7 @@ install="$pkgname.post-install $pkgname.pre-upgrade $pkgname.post-upgrade"
triggers="$pkgname.trigger=/etc"
subpackages="
$pkgname-nftables
$pkgname-nofde
"
options="!check"
replaces="
@ -86,6 +87,14 @@ nftables() {
mkdir "$subpkgdir"
}
nofde() {
# dummy package that satisfies the unlocker dependency for mkinitfs without
# installing anything for systems that don't use fde
provides="postmarketos-fde-unlocker"
provider_priority=1
mkdir "$subpkgdir"
}
sha512sums="
e529f5cef1f31481b577f99b8917704f2cfefb963d98bf40a14b017938e55a00134d2033f81d2cb0b8489c5e9b4a92fdc0a788013f1adb4cd46d9580c9988186 rootfs-etc-sudoers
e0d2d48b82a03239a4c0a00acaf83e00d397c23a8d7c71053d4e2a383357c22dcedef9e81b0e12a1d7514e1fdbe0bb3eb82613d18b29034a7ce5447f13c84a53 rootfs-etc-conf.d-swapfile