main/postmarketos-mkinitfs: trigger on /etc/pmos-mkinitfs/* (MR 3876)

These directories should also trigger a rebuild so that any changes are
reflected in the initramfs.
This will include things like 'files', 'modules' and so on that weren't
previously triggering rebuilds of the initramfs...

[ci:skip-build]: already built successfully in CI
This commit is contained in:
Clayton Craft 2023-02-16 22:07:47 -08:00 committed by Dylan Van Assche
parent 624a384a9f
commit ac9bff857c
No known key found for this signature in database
GPG key ID: 8642571587897EA1

View file

@ -2,7 +2,7 @@
# Co-Maintainer: Clayton Craft <clayton@craftyguy.net>
pkgname=postmarketos-mkinitfs
pkgver=1.6.1
pkgrel=2
pkgrel=3
pkgdesc="Tool to generate initramfs images for postmarketOS"
url="https://postmarketos.org"
depends="
@ -24,7 +24,7 @@ depends="
"
makedepends="go"
replaces="mkinitfs"
triggers="$pkgname.trigger=/etc/postmarketos-mkinitfs/hooks:/usr/share/kernel/*:/usr/share/postmarketos-mkinitfs-triggers"
triggers="$pkgname.trigger=/etc/postmarketos-mkinitfs/*:/usr/share/kernel/*:/usr/share/postmarketos-mkinitfs-triggers"
source="
https://gitlab.com/postmarketOS/postmarketos-mkinitfs/-/archive/$pkgver/postmarketos-mkinitfs-$pkgver.tar.gz
00-default.modules