81c47a0912
Very helpful and useful for debugging issues. Signed-off-by: Alexey Minnekhanov <alexeymin@postmarketos.org>
23 lines
948 B
Text
23 lines
948 B
Text
pkgname=postmarketos-mkinitfs-hook-debug-shell
|
|
pkgver=0.2
|
|
pkgrel=0
|
|
pkgdesc="Root shell in the initramfs (security hole, for debugging only)"
|
|
url="https://postmarketos.org"
|
|
depends="postmarketos-mkinitfs fbdebug evtest linuxconsoletools reboot-mode"
|
|
source="20-debug-shell.sh 20-debug-shell.files"
|
|
arch="noarch"
|
|
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
|
|
install -Dm644 "$srcdir"/20-debug-shell.files \
|
|
"$pkgdir"/etc/postmarketos-mkinitfs/files/20-debug-shell.files
|
|
}
|
|
|
|
sha512sums="
|
|
f405b50d22c0e06338bfd278cfdedc40a3089cec971e772d1b5bb7a1d7d586ed1ed45f7cdf628aeda28c8c1a62b41fb3b159b9e0a5ae07ac2895daf1275cb1df 20-debug-shell.sh
|
|
3274b01850dabe927bc3749f2b4b86eab02adc6954504352401e596e29e044aec512ccead68b471a8009aa8658fe698ffdc67e03c3ca55b7dd54d35c72ac620f 20-debug-shell.files
|
|
"
|