Create /data/radio directory in post-fs-data section
All files/directories created by init*.rc in /data must be done in the
post-fs-data section, otherwise they won't get created if the device is
encrypted with wipe.
Change-Id: I456632800daf3f63d42924de911d7c143c16d8ea
diff --git a/init.tuna.rc b/init.tuna.rc
index 70f1cbe..9450142 100755
--- a/init.tuna.rc
+++ b/init.tuna.rc
@@ -23,6 +23,9 @@
mkdir /data/misc/camera 0770 media media
mkdir /data/misc/camera/R5_MVEN003_LD2_ND0_IR0_SH0_FL1_SVEN003_DCCID1044 0770 media media
+ mkdir /data/radio 0775 radio radio
+ mkdir /data/radio/log 0775 radio radio
+
setprop vold.post_fs_data_done 1
# LTE
@@ -77,8 +80,6 @@
# We chown/chmod /factory because mount is run as root + defaults
chown radio radio /factory
chmod 0775 /factory
- mkdir /data/radio 0775 radio radio
- mkdir /data/radio/log 0775 radio radio
# add symlink for HDCP key
symlink /factory/hdcp.keys /system/vendor/firmware/hdcp.keys