Skip to content

Commit 92e2f74

Browse files
authored
halium: on-post-data: search for android.hardware.boot in /vendor/etc/vintf/manifest/ as well (#15)
Signed-off-by: Eugenio Paolantonio (g7) <me@medesimo.eu>
1 parent 4aae3d3 commit 92e2f74

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

rootdir/bin/on-post-data.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,10 @@ mount -t tmpfs -o rw,nodev,relatime,mode=755,gid=0 none /data/phh || true
5151
mkdir /data/phh/empty_dir
5252
fixSPL
5353

54-
if grep -qF android.hardware.boot /vendor/manifest.xml || grep -qF android.hardware.boot /vendor/etc/vintf/manifest.xml ;then
54+
if \
55+
grep -qF android.hardware.boot /vendor/manifest.xml || \
56+
grep -qF android.hardware.boot /vendor/etc/vintf/manifest.xml || \
57+
[ -e /vendor/etc/vintf/manifest/android.hardware.boot*.xml ]
58+
then
5559
bootctl mark-boot-successful
5660
fi

0 commit comments

Comments
 (0)