summaryrefslogtreecommitdiffstats
path: root/init.ranchu.rc
diff options
context:
space:
mode:
authorbohu <bohu@google.com>2018-06-07 12:48:03 -0700
committerbohu <bohu@google.com>2018-06-07 15:39:07 -0700
commit317e1620eaf0fa4d64b9ac90a4bc5dfb4c0ae22b (patch)
tree1b98227abd1566c3ebfee3d5bb8f6620676b8f1a /init.ranchu.rc
parentaa95367f9f97df374dbd2c174459c24d92e210e1 (diff)
downloadandroid_device_generic_goldfish-317e1620eaf0fa4d64b9ac90a4bc5dfb4c0ae22b.tar.gz
android_device_generic_goldfish-317e1620eaf0fa4d64b9ac90a4bc5dfb4c0ae22b.tar.bz2
android_device_generic_goldfish-317e1620eaf0fa4d64b9ac90a4bc5dfb4c0ae22b.zip
goldfish: fix selinux denials from qemu-props
This cl fixes qemu-props to work around the limitation brought upon by PRODUCT_COMPATIBLE_PROPERTY_OVERRIDE := true, since many system properties (such as bootcomplete) cannot be read/set anmore Some properties are there for historical reason and they are kept unchanged. BUG: 109872686 this cl only impact emulator images Change-Id: I8b5e43dbcf840966cb6d90ccaeae5ec50adbb5af
Diffstat (limited to 'init.ranchu.rc')
-rw-r--r--init.ranchu.rc12
1 files changed, 7 insertions, 5 deletions
diff --git a/init.ranchu.rc b/init.ranchu.rc
index e654dc6..2193c58 100644
--- a/init.ranchu.rc
+++ b/init.ranchu.rc
@@ -27,6 +27,8 @@ on boot
setprop wifi.interface wlan0
+ start goldfish-logcat
+
service ranchu-setup /vendor/bin/init.ranchu-core.sh
class core
@@ -34,12 +36,15 @@ service ranchu-setup /vendor/bin/init.ranchu-core.sh
group root
oneshot
-on property:qemu.timezone=*
- setprop persist.sys.timezone ${qemu.timezone}
+on property:vendor.qemu.timezone=*
+ setprop persist.sys.timezone ${vendor.qemu.timezone}
on property:vendor.qemu.android.bootanim=0
setprop debug.sf.nobootanimation 1
+on property:dev.bootcomplete=1
+ setprop vendor.qemu.dev.bootcomplete 1
+
service ranchu-net /vendor/bin/init.ranchu-net.sh
class late_start
user root
@@ -83,9 +88,6 @@ service qemu-props /vendor/bin/qemu-props
group root
oneshot
-on property:qemu.logcat=start
- start goldfish-logcat
-
# -Q is a special logcat option that forces the
# program to check wether it runs on the emulator
# if it does, it redirects its output to the device