summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkeunyoung <keunyoung@google.com>2013-07-31 15:42:05 -0700
committerkeunyoung <keunyoung@google.com>2013-07-31 18:08:52 -0700
commit9494d18d2b95e5c6c7b990d8d8676301e2e19337 (patch)
treeeb638e648ada81d87863a7fc4c4a43d77e67eb2e
parentfa87db53841f8320ed2eb1828a3290150c67dde5 (diff)
downloadmini-emulator-armv7-a-neon-9494d18d2b95e5c6c7b990d8d8676301e2e19337.tar.gz
switch to ext4
Change-Id: Ica63dd712dd49cbc044c887974694d620507fe38
-rw-r--r--BoardConfig.mk8
-rw-r--r--init.mini-emulator.rc7
-rw-r--r--mini_emulator_common.mk3
3 files changed, 14 insertions, 4 deletions
diff --git a/BoardConfig.mk b/BoardConfig.mk
index d83e84f..c50826b 100644
--- a/BoardConfig.mk
+++ b/BoardConfig.mk
@@ -12,3 +12,11 @@ BUILD_EMULATOR_OPENGL_DRIVER := true
BOARD_EGL_CFG := device/generic/goldfish/opengl/system/egl/egl.cfg
+TARGET_USERIMAGES_USE_EXT4 := true
+BOARD_SYSTEMIMAGE_PARTITION_SIZE := 576716800
+BOARD_USERDATAIMAGE_PARTITION_SIZE := 209715200
+BOARD_CACHEIMAGE_PARTITION_SIZE := 69206016
+BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE := ext4
+BOARD_FLASH_BLOCK_SIZE := 512
+TARGET_USERIMAGES_SPARSE_EXT_DISABLED := true
+
diff --git a/init.mini-emulator.rc b/init.mini-emulator.rc
index 147746b..d6ebc1f 100644
--- a/init.mini-emulator.rc
+++ b/init.mini-emulator.rc
@@ -15,9 +15,6 @@ on init
mount debugfs debugfs /sys/kernel/debug
-#on fs
-# setprop ro.crypto.umount_sd false
-
on post-fs-data
mkdir /data/media 0770 media_rw media_rw
# Set indication (checked by vold) that we have finished this action
@@ -33,6 +30,7 @@ on boot
setprop ARGH ARGH
setprop net.eth0.gw 10.0.2.2
setprop net.eth0.dns1 10.0.2.3
+ setprop net.dns1 10.0.2.3
setprop net.gprs.local-ip 10.0.2.15
setprop ro.radio.use-ppp no
setprop ro.build.product generic
@@ -72,6 +70,9 @@ on boot
# supported, and arbitrary breakage may result if you specify
# something else.
+on fs
+ mount_all /fstab.goldfish
+
service goldfish-setup /system/etc/init.goldfish.sh
user root
group root
diff --git a/mini_emulator_common.mk b/mini_emulator_common.mk
index 3bee201..9a41ba3 100644
--- a/mini_emulator_common.mk
+++ b/mini_emulator_common.mk
@@ -44,4 +44,5 @@ PRODUCT_COPY_FILES += \
frameworks/av/media/libeffects/data/audio_effects.conf:system/etc/audio_effects.conf \
hardware/libhardware_legacy/audio/audio_policy.conf:system/etc/audio_policy.conf \
device/generic/goldfish/camera/media_profiles.xml:system/etc/media_profiles.xml \
- device/generic/goldfish/camera/media_codecs.xml:system/etc/media_codecs.xml
+ device/generic/goldfish/camera/media_codecs.xml:system/etc/media_codecs.xml \
+ device/generic/goldfish/fstab.goldfish:root/fstab.goldfish