Additional lib to be edited to boot keymaster

This commit is contained in:
Pierre-Hugues Husson 2019-09-09 01:13:30 +02:00
parent 9f6a970491
commit 7b69b370d1

View File

@ -30,7 +30,8 @@ fixSPL() {
/system/lib64/vndk-26/libsoftkeymasterdevice.so /vendor/bin/teed \ /system/lib64/vndk-26/libsoftkeymasterdevice.so /vendor/bin/teed \
/system/lib64/vndk/libsoftkeymasterdevice.so /system/lib/vndk/libsoftkeymasterdevice.so \ /system/lib64/vndk/libsoftkeymasterdevice.so /system/lib/vndk/libsoftkeymasterdevice.so \
/system/lib/vndk-26/libsoftkeymasterdevice.so \ /system/lib/vndk-26/libsoftkeymasterdevice.so \
/system/lib/vndk-27/libsoftkeymasterdevice.so /system/lib64/vndk-27/libsoftkeymasterdevice.so; do /system/lib/vndk-27/libsoftkeymasterdevice.so /system/lib64/vndk-27/libsoftkeymasterdevice.so \
/vendor/lib/libkeymaster3device.so ; do
[ ! -f "$f" ] && continue [ ! -f "$f" ] && continue
# shellcheck disable=SC2010 # shellcheck disable=SC2010
ctxt="$(ls -lZ "$f" | grep -oE 'u:object_r:[^:]*:s0')" ctxt="$(ls -lZ "$f" | grep -oE 'u:object_r:[^:]*:s0')"