postmarketos-mkinitfs-hook-debug-shell: support new mkintifs paths (MR 3895)

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

View file

@ -1,6 +1,6 @@
pkgname=postmarketos-mkinitfs-hook-debug-shell
pkgver=0.4.1
pkgrel=0
pkgrel=1
pkgdesc="Root shell in the initramfs (security hole, for debugging only)"
url="https://postmarketos.org"
depends="postmarketos-mkinitfs fbdebug evtest linuxconsoletools reboot-mode libinput libinput-tools"
@ -10,11 +10,10 @@ license="GPL2"
options="!check"
package() {
mkdir -p "$pkgdir"/etc/postmarketos-mkinitfs/hooks/
install -Dm644 "$srcdir"/20-debug-shell.sh \
"$pkgdir"/etc/postmarketos-mkinitfs/hooks/20-debug-shell.sh
"$pkgdir"/usr/share/mkinitfs/hooks/20-debug-shell.sh
install -Dm644 "$srcdir"/20-debug-shell.files \
"$pkgdir"/etc/postmarketos-mkinitfs/files/20-debug-shell.files
"$pkgdir"/usr/share/mkinitfs/files/20-debug-shell.files
}
sha512sums="