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

23 lines
923 B
Text
Raw Normal View History

pkgname=postmarketos-mkinitfs-hook-debug-shell
pkgver=0.4.3
pkgrel=0
pkgdesc="Root shell in the initramfs (security hole, for debugging only)"
url="https://postmarketos.org"
depends="postmarketos-mkinitfs devicepkg-utils fbdebug evtest linuxconsoletools reboot-mode libinput libinput-tools"
source="20-debug-shell.sh 20-debug-shell.files"
arch="noarch"
license="GPL2"
options="!check"
package() {
install -Dm644 "$srcdir"/20-debug-shell.sh \
"$pkgdir"/usr/share/mkinitfs/hooks/20-debug-shell.sh
install -Dm644 "$srcdir"/20-debug-shell.files \
"$pkgdir"/usr/share/mkinitfs/files/20-debug-shell.files
}
sha512sums="
d11311b47383df9fb5e94bc05eaab1185f3e586ccf0811d84855df36ad012917ef707127526c7282e3c95c7947c2d26a61e13b58d6c6d806bd8c61565408163d 20-debug-shell.sh
ca37f761c23c7fe7a351a13f535531580e740a14bb627cd65963287200a616d41c76185bed6aff3abeafe6b0ca9c61f15ee9343f1492dfdba0fe3b6d38e1d3e4 20-debug-shell.files
"