pmbootstrap/aports/main/postmarketos-mkinitfs-hook-.../APKBUILD

18 lines
607 B
Plaintext

pkgname=postmarketos-mkinitfs-hook-usb-shell
pkgver=0.1.0
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"
package() {
mkdir -p "$pkgdir"/etc/postmarketos-mkinitfs/hooks/
install -Dm644 "$srcdir"/20-usb-shell.sh \
"$pkgdir"/etc/postmarketos-mkinitfs/hooks/
}
sha512sums="40c6c445fdd03f8c76ba39075e9112ca963dd832f392e469057b622826f274604ec950bbbb89620c5c88e5d76caa0fa4665e445e33ebe31d4c566d4359d24935 20-usb-shell.sh"