Include fbdebug tool in debug-shell hook (#1266)

This commit is contained in:
Daniele Debernardi 2018-02-26 21:32:01 +01:00 committed by Oliver Smith
parent 186b3ce912
commit 7cb729cbe3
3 changed files with 7 additions and 4 deletions

View file

@ -1,9 +1,9 @@
pkgname=postmarketos-mkinitfs-hook-debug-shell
pkgver=0.1.1
pkgrel=0
pkgrel=1
pkgdesc="Root shell in the initramfs (security hole, for debugging only)"
url="https://github.com/postmarketOS"
depends="postmarketos-mkinitfs"
depends="postmarketos-mkinitfs fbdebug"
source="20-debug-shell.sh"
arch="noarch"
license="GPL2"

View file

@ -1,5 +1,5 @@
pkgname=postmarketos-mkinitfs
pkgver=0.5.9
pkgver=0.5.10
pkgrel=0
pkgdesc="Tool to generate initramfs images for postmarketOS"
url="https://github.com/postmarketOS"
@ -24,4 +24,4 @@ package() {
}
sha512sums="500c1e903ca9cf5dfe0102414b086643379d51d848e15eeed89da8ba9f3a286dfba139a29b8312a0df005e159a54ad08c84e078b7d70e6873cabb7d0abda4807 init.sh.in
eca1e4647494556be52b3eecffe2db75735006a6c53e8778630949808aabc464281ffa75a8744e22a5512c2de1eb5f92f9eb377a55ca4a7402ba8cc0705df83d init_functions.sh
6363ca98574cca9a449e1533b7aea6d8a021984e671f5cacd794110d3000153271f377e44b5316c6cc642ee1d20e239a2f5fe126bc527e307dc9257c6932b261 mkinitfs.sh"
0a4a157f6d314f4c9e6e6feb7144c5bf83af48762fa3649007a84cb25736b03248f9dcf928c1653aee72df9e3f87a26d084226b4a754804867f387bdf6768e48 mkinitfs.sh"

View file

@ -107,6 +107,9 @@ get_binaries()
if [ "${deviceinfo_msm_refresher}" == "true" ]; then
BINARIES="${BINARIES} /usr/sbin/msm-fb-refresher"
fi
if [ -f /usr/sbin/fbdebug ]; then
BINARIES="${BINARIES} /usr/sbin/fbdebug"
fi
lddtree -l $BINARIES | sort -u
}