main/postmarketos-mkinitfs: provide only a virtual package (MR 3228)
Fixes02dfe83c4b
The previous `provides="mkinifs=3.6.0"` was a requirement because alpine's kernels had a minimum dependency in `mkinitfs>=3.6.0` to make sure that support for compressed modules existed. That requirement is no longer in place[1], since the dependency is now on the `initramfs-generator` virtual package. Also, since `initramfs-generator` is a virtual package and not a real package, versioning it might mess up APK. The documentation explictly states that virtual packages are those with unversioned provides and a provider_priority. So to avoid having problems in the future, let's strictly stick to it. [1]4fac61c826
This commit is contained in:
parent
6c01d67f3c
commit
f4783d4c88
1 changed files with 2 additions and 2 deletions
|
@ -2,7 +2,7 @@
|
|||
# Co-Maintainer: Clayton Craft <clayton@craftyguy.net>
|
||||
pkgname=postmarketos-mkinitfs
|
||||
pkgver=1.4.1
|
||||
pkgrel=7
|
||||
pkgrel=8
|
||||
pkgdesc="Tool to generate initramfs images for postmarketOS"
|
||||
url="https://postmarketos.org"
|
||||
depends="
|
||||
|
@ -35,7 +35,7 @@ install="$pkgname.post-upgrade"
|
|||
arch="all"
|
||||
license="GPL-2.0-or-later"
|
||||
provider_priority=999 # higher priority than Alpine's mkinitfs
|
||||
provides="mkinitfs=3.6.1 initramfs-generator=3.6.1"
|
||||
provides="initramfs-generator"
|
||||
|
||||
export GOPATH="$srcdir"
|
||||
export CGO_ENABLED=0
|
||||
|
|
Loading…
Reference in a new issue