From db4b47a61bfe421245683513c641d89f86e990f9 Mon Sep 17 00:00:00 2001 From: Andreas Blaesius Date: Sun, 26 Mar 2017 14:30:50 +0200 Subject: espresso: move cbd to /system/vendor/bin Change-Id: I8de03f749d2cc79fbe8a40bc9061f0d1592fb2b1 --- rootdir/init.espresso.rc | 3 +-- sepolicy/cpboot-daemon.te | 3 +++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/rootdir/init.espresso.rc b/rootdir/init.espresso.rc index 552513c..225a3a2 100644 --- a/rootdir/init.espresso.rc +++ b/rootdir/init.espresso.rc @@ -149,11 +149,10 @@ service iprenew_bt-pan /system/bin/dhcpcd -n disabled oneshot -service cpboot-daemon /sbin/cbd -d -p 8 +service cpboot-daemon /system/vendor/bin/cbd -d -p 8 class main user root group radio cache inet misc audio sdcard_rw log sdcard_r - seclabel u:r:cpboot-daemon:s0 # GPS service gpsd /system/bin/gpsd -c /system/etc/gps.xml diff --git a/sepolicy/cpboot-daemon.te b/sepolicy/cpboot-daemon.te index 6e38177..1f43673 100644 --- a/sepolicy/cpboot-daemon.te +++ b/sepolicy/cpboot-daemon.te @@ -1 +1,4 @@ type cpboot-daemon, domain; +type cpboot-daemon_exec, exec_type, file_type; + +init_daemon_domain(cpboot-daemon); -- cgit v1.1