Run tombstoned service on microdroid
Bug: 185210957
Test: run debuggerd in microdroid
Change-Id: I20c9dc33c625012f7c9d2a6af4350ee50e38ef25
diff --git a/microdroid/init.rc b/microdroid/init.rc
index 721ba93..f304d00 100644
--- a/microdroid/init.rc
+++ b/microdroid/init.rc
@@ -115,6 +115,19 @@
mount_all /vendor/etc/fstab --late
restorecon /data
+ mkdir /data/vendor 0771 root root encryption=Require
+ mkdir /data/vendor_ce 0771 root root encryption=None
+ mkdir /data/vendor_de 0771 root root encryption=None
+ mkdir /data/vendor/hardware 0771 root root
+
+ # Start tombstoned early to be able to store tombstones.
+ mkdir /data/anr 0775 system system encryption=Require
+ mkdir /data/tombstones 0771 system system encryption=Require
+ mkdir /data/vendor/tombstones 0771 root root
+ mkdir /data/vendor/tombstones/wifi 0771 wifi wifi
+
+ start tombstoned
+
service ueventd /system/bin/ueventd
class core
critical