1c0ff6aa23
Later, the aports folder will probably get split up in its own repository. But right now this is simply convenient.
21 lines
630 B
Text
21 lines
630 B
Text
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="0e8631d66131368ace5650afcb29abc718e0dd2d62aac49655b5e9ecd24ca3ceb1e0d51c51f38440e6ef44c88e03921bfc70fff8712201fae1f96456068480e4 20-usb-shell.sh"
|