From 4f00e4e70d8d8c9f13d3601b941a67698e246aa8 Mon Sep 17 00:00:00 2001 From: mark Date: Tue, 6 Aug 2013 22:45:44 +1000 Subject: i9305: recovery: use unified fstab Change-Id: I5623231ea17dae8bf387e549fab541fea927324c --- BoardConfig.mk | 4 ++++ recovery.fstab | 12 ------------ rootdir/fstab.smdk4x12 | 6 ++++++ 3 files changed, 10 insertions(+), 12 deletions(-) delete mode 100644 recovery.fstab 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 -- cgit v1.1