summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--BoardConfig.mk4
-rw-r--r--recovery.fstab12
-rw-r--r--rootdir/fstab.smdk4x126
3 files changed, 10 insertions, 12 deletions
diff --git a/BoardConfig.mk b/BoardConfig.mk
index f6efe1f..2fd541e 100644
--- a/BoardConfig.mk
+++ b/BoardConfig.mk
@@ -35,6 +35,10 @@ COMMON_GLOBAL_CFLAGS += -DCAMERA_WITH_CITYID_PARAM
TARGET_KERNEL_SOURCE := kernel/samsung/smdk4412
TARGET_KERNEL_CONFIG := cyanogenmod_i9305_defconfig
+# Recovery
+TARGET_RECOVERY_FSTAB := device/samsung/i9305/rootdir/fstab.smdk4x12
+RECOVERY_FSTAB_VERSION := 2
+
# assert
TARGET_OTA_ASSERT_DEVICE := m3,m3xx,i9305,GT-I9305
diff --git a/recovery.fstab b/recovery.fstab
deleted file mode 100644
index 14e7e67..0000000
--- a/recovery.fstab
+++ /dev/null
@@ -1,12 +0,0 @@
-# mount point fstype device device2
-/efs ext4 /dev/block/mmcblk0p3
-/boot emmc /dev/block/mmcblk0p8
-/recovery emmc /dev/block/mmcblk0p9
-/cache ext4 /dev/block/mmcblk0p12
-/system ext4 /dev/block/mmcblk0p13
-/data ext4 /dev/block/mmcblk0p16 length=-16384
-/preload ext4 /dev/block/mmcblk0p14
-/modem emmc /dev/block/mmcblk0p10
-
-/sdcard datamedia /dev/null
-/external_sd vfat /dev/block/mmcblk1p1
diff --git a/rootdir/fstab.smdk4x12 b/rootdir/fstab.smdk4x12
index 8bc96b8..4903707 100644
--- a/rootdir/fstab.smdk4x12
+++ b/rootdir/fstab.smdk4x12
@@ -13,3 +13,9 @@
# vold-managed volumes ("block device" is actually a sysfs devpath)
/devices/platform/s3c-sdhci.2/mmc_host/mmc1 /storage/sdcard1 auto defaults voldmanaged=sdcard1:auto
/devices/platform/s5p-ehci /storage/usbdisk0 auto defaults voldmanaged=usbdisk0:auto
+
+# recovery
+/dev/block/mmcblk0p8 /boot emmc defaults recoveryonly
+/dev/block/mmcblk0p9 /recovery emmc defaults recoveryonly
+/dev/block/mmcblk0p10 /modem emmc defaults recoveryonly
+/dev/block/mmcblk1p1 /external_sd auto defaults recoveryonly