88abc21167
The show_splash function called by the 20-debug-shell.sh script already skips fbsplash when the device is configured to not use the framebuffer. But the variable was not defined in the script. This is solved by including the /etc/deviceinfo file. Follow-up to !108, where this change got lost in the rebase.
21 lines
936 B
Text
21 lines
936 B
Text
pkgname=postmarketos-mkinitfs-hook-debug-shell
|
|
pkgver=0.1.1
|
|
pkgrel=3
|
|
pkgdesc="Root shell in the initramfs (security hole, for debugging only)"
|
|
url="https://postmarketos.org"
|
|
depends="postmarketos-mkinitfs fbdebug evtest linuxconsoletools"
|
|
source="20-debug-shell.sh 20-debug-shell.files"
|
|
arch="noarch"
|
|
license="GPL2"
|
|
options="!check"
|
|
|
|
package() {
|
|
mkdir -p "$pkgdir"/etc/postmarketos-mkinitfs/hooks/
|
|
install -Dm644 "$srcdir"/20-debug-shell.sh \
|
|
"$pkgdir"/etc/postmarketos-mkinitfs/hooks/20-debug-shell.sh
|
|
install -Dm644 "$srcdir"/20-debug-shell.files \
|
|
"$pkgdir"/etc/postmarketos-mkinitfs/files/20-debug-shell.files
|
|
}
|
|
|
|
sha512sums="06e684f0b2ce4766fe7890e0a545ca7e6bc1a03255d2cdf3dd7db6cfda01bf56a21042ac371b54bfe08379ed8c3eebd34a6efa4405595588d2734db0b011e761 20-debug-shell.sh
|
|
2761269b5809ed7a1692a26d3e28deea20392d6f5e00fcc209aec8835849b96f791270eb7ad00794cf492d8dda28b940f6d6557b0b764ca46314883a0692d174 20-debug-shell.files"
|