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

22 lines
907 B
Text

pkgname=postmarketos-mkinitfs-hook-debug-shell
pkgver=0.4.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 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="
c31a30ec4e441791d32f99b1038b009e08815c3b00d47c41e6dbea106fbe4bedc4e941d0bde76a2c1114096e0b5c40458919a96cc00a6f614250fbf511731628 20-debug-shell.sh
ca37f761c23c7fe7a351a13f535531580e740a14bb627cd65963287200a616d41c76185bed6aff3abeafe6b0ca9c61f15ee9343f1492dfdba0fe3b6d38e1d3e4 20-debug-shell.files
"