From 8fe1f9d02cab9673614fcfc9e92b21f7579c2485 Mon Sep 17 00:00:00 2001 From: Benoit Goby Date: Sun, 19 Jun 2011 16:12:21 -0700 Subject: Fix permissions for RIL and create /efs Change-Id: Ie67efc72686e9a4f438ea2bc5d8f6d8b69c868d7 --- init.tuna.rc | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'init.tuna.rc') diff --git a/init.tuna.rc b/init.tuna.rc index 7184669..e017ed8 100644 --- a/init.tuna.rc +++ b/init.tuna.rc @@ -20,14 +20,20 @@ on boot chmod 0666 /dev/pvrsrvkm on fs + mkdir /efs 0775 radio radio mount ext4 /dev/block/platform/omap/omap_hsmmc.0/by-name/system /system wait ro mount ext4 /dev/block/platform/omap/omap_hsmmc.0/by-name/userdata /data wait noatime nosuid nodev mount ext4 /dev/block/platform/omap/omap_hsmmc.0/by-name/cache /cache wait noatime nosuid nodev + mount ext4 /dev/block/platform/omap/omap_hsmmc.0/by-name/efs /efs wait noatime nosuid nodev # change permissions for Tiler driver chmod 0777 /dev/tiler chmod 0777 /dev/dmm +# We chown/chmod /efs because mount is run as root + defaults + chown radio radio /efs + chmod 0775 /efs + # take a wakelock on boot until PM is working write /sys/power/wake_lock hack @@ -45,7 +51,10 @@ service pvrsrvinit /vendor/bin/pvrsrvinit oneshot # create filesystems if necessary -service setup_fs /system/bin/setup_fs /dev/block/platform/omap/omap_hsmmc.0/by-name/cache /dev/block/platform/omap/omap_hsmmc.0/by-name/userdata +service setup_fs /system/bin/setup_fs \ + /dev/block/platform/omap/omap_hsmmc.0/by-name/cache \ + /dev/block/platform/omap/omap_hsmmc.0/by-name/userdata \ + /dev/block/platform/omap/omap_hsmmc.0/by-name/efs class core user root group root -- cgit v1.1