sweet: Drop selinux context from batterysecret init unit

We do that from sepolicy label

Change-Id: I0aa6778bca6c6175eb41364d4932a1ee868f7b21
This commit is contained in:
Sebastiano Barezzi 2024-05-28 15:47:51 +02:00 committed by basamaryan
parent e30e8e580f
commit c26b57ac9f
No known key found for this signature in database
GPG Key ID: 707BA6C82329E8F9

View File

@ -8,6 +8,9 @@
function blob_fixup() { function blob_fixup() {
case "${1}" in case "${1}" in
vendor/etc/init/init.batterysecret.rc)
sed -i "/seclabel u:r:batterysecret:s0/d" "${2}"
;;
vendor/etc/init/init.mi_thermald.rc) vendor/etc/init/init.mi_thermald.rc)
sed -i "/seclabel u:r:mi_thermald:s0/d" "${2}" sed -i "/seclabel u:r:mi_thermald:s0/d" "${2}"
;; ;;