From 6778e7b10b86e2cf43cbbc6c0f509498bbb1765b Mon Sep 17 00:00:00 2001 From: Clayton Craft Date: Sat, 18 Feb 2023 15:31:58 -0800 Subject: [PATCH] postmarketos-mkinitfs-hook-debug-shell: support new mkintifs paths (MR 3895) --- main/postmarketos-mkinitfs-hook-debug-shell/APKBUILD | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/main/postmarketos-mkinitfs-hook-debug-shell/APKBUILD b/main/postmarketos-mkinitfs-hook-debug-shell/APKBUILD index 48e6e5484..1d70aa008 100644 --- a/main/postmarketos-mkinitfs-hook-debug-shell/APKBUILD +++ b/main/postmarketos-mkinitfs-hook-debug-shell/APKBUILD @@ -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="