mirror of
https://gitlab.postmarketos.org/postmarketOS/pmaports.git
synced 2025-07-13 00:29:49 +03:00
main/postmarketos-base-nofde: split from postmarketos-base (MR 5875)
Split -nofde into a separate package to resolve the cyclic depenency: postmarketos-base -> postmarketos-initramfs -> postmarketos-base-nofde Fixes: issue 3236 [ci:skip-build]: already built successfully in CI
This commit is contained in:
parent
278bdcc619
commit
1ba238d37e
2 changed files with 14 additions and 10 deletions
13
main/postmarketos-base-nofde/APKBUILD
Normal file
13
main/postmarketos-base-nofde/APKBUILD
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
pkgname=postmarketos-base-nofde
|
||||||
|
pkgver=39
|
||||||
|
pkgrel=0
|
||||||
|
pkgdesc="Dummy unlocker package for systems without FDE"
|
||||||
|
url="https://postmarketos.org"
|
||||||
|
arch="noarch"
|
||||||
|
license="GPL-3.0-or-later"
|
||||||
|
options="!check"
|
||||||
|
provider_priority=1
|
||||||
|
|
||||||
|
package() {
|
||||||
|
mkdir -p "$pkgdir"
|
||||||
|
}
|
|
@ -1,6 +1,6 @@
|
||||||
pkgname=postmarketos-base
|
pkgname=postmarketos-base
|
||||||
pkgver=38
|
pkgver=38
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
pkgdesc="Meta package for minimal postmarketOS base"
|
pkgdesc="Meta package for minimal postmarketOS base"
|
||||||
url="https://postmarketos.org"
|
url="https://postmarketos.org"
|
||||||
arch="noarch"
|
arch="noarch"
|
||||||
|
@ -29,7 +29,6 @@ subpackages="
|
||||||
$pkgname-mesa
|
$pkgname-mesa
|
||||||
$pkgname-nftables
|
$pkgname-nftables
|
||||||
$pkgname-nftables-openrc:nftables_openrc
|
$pkgname-nftables-openrc:nftables_openrc
|
||||||
$pkgname-nofde
|
|
||||||
$pkgname-openrc
|
$pkgname-openrc
|
||||||
"
|
"
|
||||||
options="!check"
|
options="!check"
|
||||||
|
@ -133,14 +132,6 @@ nftables_openrc() {
|
||||||
mkdir -p "$subpkgdir"
|
mkdir -p "$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"
|
|
||||||
}
|
|
||||||
|
|
||||||
openrc() {
|
openrc() {
|
||||||
install_if="$pkgname=$pkgver-r$pkgrel openrc"
|
install_if="$pkgname=$pkgver-r$pkgrel openrc"
|
||||||
install="$subpkgname.post-install $subpkgname.post-upgrade"
|
install="$subpkgname.post-install $subpkgname.post-upgrade"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue