diff options
author | Simon Shields <keepcalm444@gmail.com> | 2016-02-14 23:15:20 +1100 |
---|---|---|
committer | Simon Shields <keepcalm444@gmail.com> | 2016-02-17 20:33:47 -0800 |
commit | dfd4d7db60d9b1abeeadcd203179803e6d9be7c6 (patch) | |
tree | a2d21d1b90f37394affe4ee3e8d9857cdc53ce7d | |
parent | 2a12d023390e1d1477728ff1cd8f665a394a8ce9 (diff) | |
download | device_samsung_i9300-dfd4d7db60d9b1abeeadcd203179803e6d9be7c6.zip device_samsung_i9300-dfd4d7db60d9b1abeeadcd203179803e6d9be7c6.tar.gz device_samsung_i9300-dfd4d7db60d9b1abeeadcd203179803e6d9be7c6.tar.bz2 |
i9300: enable f2fs support
Change-Id: I4405cbf6573e277ac7d2dbcb0014131d9cbbcc9d
-rw-r--r-- | BoardConfig.mk | 1 | ||||
-rw-r--r-- | i9300.mk | 6 | ||||
-rw-r--r-- | rootdir/fstab.smdk4x12 | 2 |
3 files changed, 9 insertions, 0 deletions
diff --git a/BoardConfig.mk b/BoardConfig.mk index 3130ef3..262c044 100644 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -44,6 +44,7 @@ BOARD_RIL_CLASS := ../../../device/samsung/i9300/ril # Recovery TARGET_RECOVERY_FSTAB := device/samsung/i9300/rootdir/fstab.smdk4x12 +TARGET_USERIMAGES_USE_F2FS := true RECOVERY_FSTAB_VERSION := 2 # Selinux @@ -68,6 +68,12 @@ PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \ camera.smdk4x12 +# f2fs +PRODUCT_PACKAGES += \ + fibmap.f2fs \ + fsck.f2fs \ + mkfs.f2fs + PRODUCT_COPY_FILES += \ packages/apps/Nfc/migrate_nfc.txt:system/etc/updatecmds/migrate_nfc.txt \ frameworks/base/nfc-extras/com.android.nfc_extras.xml:system/etc/permissions/com.android.nfc_extras.xml \ diff --git a/rootdir/fstab.smdk4x12 b/rootdir/fstab.smdk4x12 index 507d3ed..878876e 100644 --- a/rootdir/fstab.smdk4x12 +++ b/rootdir/fstab.smdk4x12 @@ -4,8 +4,10 @@ # specify MF_CHECK, and must come before any filesystems that do specify MF_CHECK /dev/block/mmcblk0p3 /efs ext4 noatime,nosuid,nodev,journal_async_commit,errors=panic wait /dev/block/mmcblk0p9 /system ext4 ro,noatime wait +/dev/block/mmcblk0p8 /cache f2fs noatime,nosuid,nodev wait /dev/block/mmcblk0p8 /cache ext4 noatime,nosuid,nodev,journal_async_commit,errors=panic wait /dev/block/mmcblk0p10 /preload ext4 noatime,nosuid,nodev,journal_async_commit wait +/dev/block/mmcblk0p12 /data f2fs noatime,nosuid,nodev wait,check,encryptable=footer /dev/block/mmcblk0p12 /data ext4 noatime,nosuid,nodev,noauto_da_alloc,journal_async_commit,errors=panic wait,check,encryptable=footer # vold-managed volumes ("block device" is actually a sysfs devpath) |