sm8250-common: Prevent adding same dependency twice in blob_fixup
Change-Id: Idedeb51e027a09f64a29ac67a3a2f2a0594213f6
This commit is contained in:
@@ -61,7 +61,7 @@ fi
|
|||||||
function blob_fixup() {
|
function blob_fixup() {
|
||||||
case "${1}" in
|
case "${1}" in
|
||||||
odm/bin/hw/vendor.oplus.hardware.biometrics.fingerprint@2.1-service)
|
odm/bin/hw/vendor.oplus.hardware.biometrics.fingerprint@2.1-service)
|
||||||
"${PATCHELF}" --add-needed libshims_fingerprint.oplus.so "${2}"
|
grep -q libshims_fingerprint.oplus.so "${2}" || "${PATCHELF}" --add-needed libshims_fingerprint.oplus.so "${2}"
|
||||||
;;
|
;;
|
||||||
odm/etc/init/wlchgmonitor.rc)
|
odm/etc/init/wlchgmonitor.rc)
|
||||||
sed -i "/disabled/d;/seclabel/d" "${2}"
|
sed -i "/disabled/d;/seclabel/d" "${2}"
|
||||||
|
|||||||
Reference in New Issue
Block a user