summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Ng <dave@codeaurora.org>2017-02-01 16:27:44 -0800
committerGerrit - the friendly Code Review server <code-review@localhost>2017-05-03 01:25:44 -0700
commit584d261bf76684c6cc4fb88cb25c6591ef0f85c9 (patch)
treefecf3f35d503a9a7a91e892acf196901851a80c8
parentbd9605bac6876a589b9d41dec62f65a9a1d19b42 (diff)
Remove rootfs runtime changes during init for tombstones
With A/B update, rootfs is supported by system fs and thus always read-only. Remove unnecessary /tombstones symlink and change all subdirectory creation under /tombstones to be /data/tombstones. Change-Id: Ibb991f80fc09e0397c37cecea07f531f49802773
-rwxr-xr-xinit.target.rc10
1 files changed, 4 insertions, 6 deletions
diff --git a/init.target.rc b/init.target.rc
index df7bbcc..ed00bd4 100755
--- a/init.target.rc
+++ b/init.target.rc
@@ -28,7 +28,6 @@
#
on early-init
- symlink /data/tombstones /tombstones
on init
write /dev/stune/foreground/schedtune.sched_boost_no_override 1
@@ -63,11 +62,10 @@ on init
write /sys/module/qpnp_rtc/parameters/poweron_alarm 1
on post-fs-data
- mkdir /data/tombstones 0771 system system
- mkdir /tombstones/modem 0771 system system
- mkdir /tombstones/lpass 0771 system system
- mkdir /tombstones/wcnss 0771 system system
- mkdir /tombstones/dsps 0771 system system
+ mkdir /data/tombstones/modem 0771 system system
+ mkdir /data/tombstones/lpass 0771 system system
+ mkdir /data/tombstones/wcnss 0771 system system
+ mkdir /data/tombstones/dsps 0771 system system
mkdir /data/misc/hbtp 0750 system system
mkdir /data/misc/seemp 0700 system system
mkdir /data/misc/tloc 0700 system drmrpc