main/devicepkg-dev: Automatically install initfs-hook.sh (!191)
This commit is contained in:
committed by
Oliver Smith
parent
797f0d5319
commit
6b3b08f08a
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user