main/devicepkg-dev: Automatically install initfs-hook.sh (!191)

This commit is contained in:
Grant Miller
2019-02-05 09:34:34 +01:00
committed by Oliver Smith
parent 797f0d5319
commit 6b3b08f08a
2 changed files with 7 additions and 2 deletions
+5
View File
@@ -25,3 +25,8 @@ if [ -f "$srcdir/90-$pkgname.rules" ]; then
install -Dm644 "$srcdir/90-$pkgname.rules" \
"$pkgdir/etc/udev/rules.d/90-$pkgname.rules"
fi
if [ -f "$srcdir/initfs-hook.sh" ]; then
install -Dm644 "$srcdir/initfs-hook.sh" \
"$pkgdir/etc/postmarketos-mkinitfs/hooks/00-$pkgname.sh"
fi