aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChirayu Desai <cdesai@cyanogenmod.org>2013-07-10 21:46:26 +0530
committerChirayu Desai <cdesai@cyanogenmod.org>2013-07-13 18:03:32 +0530
commitac8ccace4b5355b108a69ea1ecc4ed54bc1303be (patch)
tree35893770d4e14d462771e092ec00b2adf72babc3
parentfee496b0ffcfc0fd1598d5381cc101b13a689200 (diff)
downloadsystem_core-ac8ccace4b5355b108a69ea1ecc4ed54bc1303be.zip
system_core-ac8ccace4b5355b108a69ea1ecc4ed54bc1303be.tar.gz
system_core-ac8ccace4b5355b108a69ea1ecc4ed54bc1303be.tar.bz2
init.goldfish.rc: use ext4
Change-Id: Ib5e0bb0d199f09c9cb2d5903f77fae896d4720d6
-rw-r--r--rootdir/etc/init.goldfish.rc8
1 files changed, 8 insertions, 0 deletions
diff --git a/rootdir/etc/init.goldfish.rc b/rootdir/etc/init.goldfish.rc
index cde9dee..bec3e30 100644
--- a/rootdir/etc/init.goldfish.rc
+++ b/rootdir/etc/init.goldfish.rc
@@ -4,6 +4,14 @@ on early-init
# for backwards compatibility
symlink /mnt/sdcard /sdcard
+on fs
+# mount mtd partitions
+ # Mount /system rw first to give the filesystem a chance to save a checkpoint
+ mount ext4 mtd@system /system
+ mount ext4 mtd@system /system ro remount
+ mount ext4 mtd@userdata /data nosuid nodev
+ mount ext4 mtd@cache /cache nosuid nodev
+
on boot
setsebool in_qemu=1
restorecon /sys/qemu_trace/process_name