8cbd19f79d
With the recent changes in commit 80fff9242
, there's no longer an $IP
variable we can use. Use the same code as in init_functions.sh to get
the potentially customized IP address to use for telnet.
22 lines
923 B
Text
22 lines
923 B
Text
pkgname=postmarketos-mkinitfs-hook-debug-shell
|
|
pkgver=0.4.6
|
|
pkgrel=0
|
|
pkgdesc="Root shell in the initramfs (security hole, for debugging only)"
|
|
url="https://postmarketos.org"
|
|
depends="postmarketos-mkinitfs devicepkg-utils 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="
|
|
0afe6aebeef653f7d61d37f69814df3ddb690a14f2c9326f02eabfcfb46aa168c45bd89e31145a6857f3641a89671d9e19d491065b5900300281af7208ca0efc 20-debug-shell.sh
|
|
845d2eb6ab72c5c1472d65305241ca21dbc26784684e9ae99a180a255f8f7f62123b363d73c642df1f9687106340078311a68a76c123f16829b941bff9151735 20-debug-shell.files
|
|
"
|