postmarketos-mkintifs-hook-kernel-panic: support new mkintifs paths (MR 3895)

This commit is contained in:
Clayton Craft 2023-02-18 15:22:31 -08:00
parent 6778e7b10b
commit 5a5d290ebd
No known key found for this signature in database
GPG key ID: 7A342565FF635F79

View file

@ -1,6 +1,6 @@
pkgname=postmarketos-mkinitfs-hook-kernel-panic pkgname=postmarketos-mkinitfs-hook-kernel-panic
pkgver=0.1.0 pkgver=0.1.0
pkgrel=0 pkgrel=1
pkgdesc="Script to cause a kernel panic after 30s from the initramfs (for debugging only)" pkgdesc="Script to cause a kernel panic after 30s from the initramfs (for debugging only)"
url="https://postmarketos.org" url="https://postmarketos.org"
depends="postmarketos-mkinitfs" depends="postmarketos-mkinitfs"
@ -9,9 +9,8 @@ arch="noarch"
license="GPL2" license="GPL2"
package() { package() {
mkdir -p "$pkgdir"/etc/postmarketos-mkinitfs/hooks/
install -Dm644 "$srcdir"/00-kernel-panic.sh \ install -Dm644 "$srcdir"/00-kernel-panic.sh \
"$pkgdir"/etc/postmarketos-mkinitfs/hooks/ -t "$pkgdir"/usr/share/mkinitfs/hooks/
} }
sha512sums="39be4de98daf4306c15dc8196bcd7649a149e5babccf9860c753d40f1e17ef550556444f65238d30d9dbc3d8610319b0d00f9ff99f128fd8a6bd4cdfb3b38dbe 00-kernel-panic.sh" sha512sums="39be4de98daf4306c15dc8196bcd7649a149e5babccf9860c753d40f1e17ef550556444f65238d30d9dbc3d8610319b0d00f9ff99f128fd8a6bd4cdfb3b38dbe 00-kernel-panic.sh"