Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit 10219d5f authored by LuK1337's avatar LuK1337
Browse files

common: Migrate backuptool to postinstall context

Change-Id: I98989ea1cbaf826f1931d6079a4aec8c5a1931d7
parent 57c15498
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -8,9 +8,9 @@
/data/lineageos_updates(/.*)?           u:object_r:ota_package_file:s0

# Postinstall
/system/bin/backuptool_ab\.functions              u:object_r:otapreopt_chroot_exec:s0
/system/bin/backuptool_ab\.sh                     u:object_r:otapreopt_chroot_exec:s0
/system/bin/backuptool_postinstall\.sh            u:object_r:otapreopt_chroot_exec:s0
/system/bin/backuptool_ab\.functions              u:object_r:postinstall_exec:s0
/system/bin/backuptool_ab\.sh                     u:object_r:postinstall_exec:s0
/system/bin/backuptool_postinstall\.sh            u:object_r:postinstall_exec:s0

# ADB Root
/(system_ext|system/system_ext)/bin/adb_root      u:object_r:adbroot_exec:s0
+1 −1
Original line number Diff line number Diff line
@@ -10,4 +10,4 @@ allow update_engine labeledfs:filesystem { mount unmount };

# Allow transition to backuptool domain
allow update_engine self:process setexec;
domain_trans(update_engine, otapreopt_chroot_exec, backuptool)
domain_trans(update_engine, postinstall_exec, backuptool)