main/postmarketos-mkinitfs: add trigger on deviceinfo directory (MR 4283)

Fixes #2228

In addition, depend on the first boot-deploy that implemented support
for deviceinfo in /usr/share
This commit is contained in:
Pablo Correa Gómez 2023-07-29 15:45:10 +02:00 committed by Oliver Smith
parent 34e2a3ddad
commit 7b2208d292
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB

View file

@ -2,15 +2,15 @@
# Co-Maintainer: Clayton Craft <clayton@craftyguy.net>
pkgname=postmarketos-mkinitfs
pkgver=2.2.1
pkgrel=0
pkgrel=1
pkgdesc="Tool to generate initramfs images for postmarketOS"
url="https://postmarketos.org"
depends="
boot-deploy>=0.7
boot-deploy>=0.9
"
makedepends="go scdoc"
replaces="mkinitfs"
triggers="$pkgname.trigger=/usr/share/mkinitfs/*:/usr/share/kernel/*:/usr/share/mkinitfs-triggers"
triggers="$pkgname.trigger=/usr/share/mkinitfs/*:/usr/share/kernel/*:/usr/share/mkinitfs-triggers:/usr/share/deviceinfo"
# mkinitfs-vendor-$pkgver.tar.gz: vendored Go deps, is part of the release:
# https://gitlab.com/postmarketOS/postmarketos-mkinitfs/-/releases
source="