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] https://gitlab.alpinelinux.org/alpine/aports/-/commit/4fac61c826cac81af72e095b645098900d3094a1
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user