main/postmarketos-mkinitfs: provide only a virtual package (MR 3228)

Fixes 02dfe83c4b

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:
Pablo Correa Gómez 2022-06-12 18:34:56 +02:00 committed by Oliver Smith
parent 6c01d67f3c
commit f4783d4c88
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB

View file

@ -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