2017-05-26 20:26:25 +00:00
|
|
|
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/
|
|
|
|
}
|
2017-06-09 17:32:26 +00:00
|
|
|
sha512sums="7154ded57cba1ff76fb8be9bd773ccdb4cd70c588ef763469d7e2fc9796fba13e5624480669b528138c1c5ebfc1a7927dcb80b850e72308b89736d9baee9c231 20-usb-shell.sh"
|