main/postmarketos-initramfs*: prohibit installing multiple -initramfs packages (MR 5249)

Thanks to a good hint of Craftyguy, we just have too use versioned
provides.

Closes #2903
[ci:skip-build]: already built successfully in CI
This commit is contained in:
jane400 2024-06-19 10:11:42 +02:00 committed by Clayton Craft
parent 2e4ef2b276
commit 48250d4ad2
No known key found for this signature in database
GPG key ID: 4A4CED6D7EDF950A
2 changed files with 4 additions and 4 deletions

View file

@ -2,11 +2,11 @@
# only be used on devices that do not have space for the full size ramdisk.
pkgname=postmarketos-initramfs-minimal
pkgver=2.5.6
pkgrel=0
pkgrel=1
pkgdesc="Deprecated minimal initramfs for space constrained devices"
url="https://postmarketos.org"
options="!check" # no tests
provides="postmarketos-ramdisk"
provides="postmarketos-ramdisk=$pkgver-r$pkgrel"
provider_priority=1
depends="
blkid

View file

@ -2,11 +2,11 @@
# Co-Maintainer: Clayton Craft <clayton@craftyguy.net>
pkgname=postmarketos-initramfs
pkgver=3.1.0
pkgrel=1
pkgrel=2
pkgdesc="Base files for the postmarketOS initramfs / initramfs-extra"
url="https://postmarketos.org"
options="!check" # no tests
provides="postmarketos-ramdisk"
provides="postmarketos-ramdisk=$pkgver-r$pkgrel"
provider_priority=10
depends="
blkid