pmaports/postmarketos-mkinitfs-hook-usb-shell/APKBUILD

22 lines
630 B
Text
Raw Normal View History

pkgname=postmarketos-mkinitfs-hook-usb-shell
pkgver=0.0.1
pkgrel=1
pkgdesc="Root shell in the initramfs (security hole, for debugging only)"
url="https://github.com/postmarketOS"
# multipath-tools: kpartx
depends="postmarketos-mkinitfs"
source="20-usb-shell.sh"
arch="noarch"
license="GPL2"
build() {
return 0
}
package() {
mkdir -p "$pkgdir"/etc/postmarketos-mkinitfs/hooks/
install -Dm644 "$srcdir"/20-usb-shell.sh \
"$pkgdir"/etc/postmarketos-mkinitfs/hooks/
}
sha512sums="7154ded57cba1ff76fb8be9bd773ccdb4cd70c588ef763469d7e2fc9796fba13e5624480669b528138c1c5ebfc1a7927dcb80b850e72308b89736d9baee9c231 20-usb-shell.sh"