sweet: Drop selinux context from mi_thermald init unit

We do that from sepolicy label

Change-Id: I56fb68b8121a68927cb98e494263f092732bd8ed
This commit is contained in:
Sebastiano Barezzi 2024-05-28 01:49:05 +02:00 committed by basamaryan
parent 36ac0b73ea
commit e30e8e580f
No known key found for this signature in database
GPG Key ID: 707BA6C82329E8F9

View File

@ -8,6 +8,9 @@
function blob_fixup() {
case "${1}" in
vendor/etc/init/init.mi_thermald.rc)
sed -i "/seclabel u:r:mi_thermald:s0/d" "${2}"
;;
vendor/lib64/camera/components/com.qti.node.watermark.so)
grep -q "libpiex_shim.so" "${2}" || "${PATCHELF}" --add-needed "libpiex_shim.so" "${2}"
;;