pmaports/main/postmarketos-mkinitfs-hook-debug-shell/APKBUILD

24 lines
948 B
Text
Raw Normal View History

pkgname=postmarketos-mkinitfs-hook-debug-shell
pkgver=0.3
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="
4e464411612933d0639e3ee58e1f05b554ba14983e0596e7220dab16ed9737776646d520b2267e23f1f6822b870e20e8ae9f61b95c4fa8513c579f21da8af9d8 20-debug-shell.sh
3274b01850dabe927bc3749f2b4b86eab02adc6954504352401e596e29e044aec512ccead68b471a8009aa8658fe698ffdc67e03c3ca55b7dd54d35c72ac620f 20-debug-shell.files
"