postmarketos-mkinitfs: trigger on upgrades to sd-boot (MR 4525)

Since mkinitfs / boot-deploy install sd-boot in the ESP, it makes sense
to always trigger mkinitfs when sd-boot is upgraded so that we always
boot with the latest supported version.

[ci:skip-build]: already built successfully in CI
This commit is contained in:
Clayton Craft 2023-10-31 15:45:15 -07:00 committed by Oliver Smith
parent c9c4b492e4
commit cc3dd7de87
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=2.2.2
pkgrel=1
pkgrel=2
pkgdesc="Tool to generate initramfs images for postmarketOS"
url="https://postmarketos.org"
depends="
@ -10,7 +10,7 @@ depends="
"
makedepends="go scdoc"
replaces="mkinitfs"
triggers="$pkgname.trigger=/usr/share/mkinitfs/*:/usr/share/kernel/*:/usr/share/mkinitfs-triggers:/usr/share/deviceinfo:/usr/libexec/pmos-tests-initramfs"
triggers="$pkgname.trigger=/usr/share/mkinitfs/*:/usr/share/kernel/*:/usr/share/mkinitfs-triggers:/usr/share/deviceinfo:/usr/libexec/pmos-tests-initramfs:/usr/lib/systemd/boot"
# mkinitfs-vendor-$pkgver.tar.gz: vendored Go deps, is part of the release:
# https://gitlab.com/postmarketOS/postmarketos-mkinitfs/-/releases
source="