diff options
| author | David 'Digit' Turner <digit@google.com> | 2014-06-18 01:20:05 +0200 |
|---|---|---|
| committer | David 'Digit' Turner <digit@google.com> | 2014-06-18 01:30:47 +0200 |
| commit | f55ac4fc027ae3d97f4faaa6ccd65480f493dea7 (patch) | |
| tree | 1b47e2d003af29e47a7d7fa1fac3a71b3a39fe26 | |
| parent | 690792a66c7fca6bf0aa17c2d5043ab86d145965 (diff) | |
| download | android_device_generic_goldfish-f55ac4fc027ae3d97f4faaa6ccd65480f493dea7.tar.gz android_device_generic_goldfish-f55ac4fc027ae3d97f4faaa6ccd65480f493dea7.tar.bz2 android_device_generic_goldfish-f55ac4fc027ae3d97f4faaa6ccd65480f493dea7.zip | |
goldfish: Fix /cache partition type.
Starting with kernel 3.10, yaffs2 partitions are no longer
supported. This patch changes the type of the cache partition
image to 'ext4' to allow booting a system based on such kernel,
for example aosp_x86_64-userdebug.
This works after the following patch was applied to the emulator:
https://android-review.googlesource.com/#/c/98204/
Note that this works properly because the platform build system
will extract the value to know how to generate cache.img at build
time properly.
See $AOSP/build/tools/releasetools/img_from_target_files
BUG=15144004
Change-Id: I6c123c9baf84d13507a44b8205ec79746fb2628f
| -rw-r--r-- | fstab.goldfish | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fstab.goldfish b/fstab.goldfish index be83a16..0a67f1d 100644 --- a/fstab.goldfish +++ b/fstab.goldfish @@ -4,6 +4,5 @@ # specify MF_CHECK, and must come before any filesystems that do specify MF_CHECK /dev/block/mtdblock0 /system ext4 ro,barrier=1 wait /dev/block/mtdblock1 /data ext4 noatime,nosuid,nodev,barrier=1,nomblk_io_submit wait,check -# 2014-03-13: Yes. yaffs2. The emulator tools need some updating to support ext4 for the cache image. -/dev/block/mtdblock2 /cache yaffs2 noatime,nosuid,nodev wait,check +/dev/block/mtdblock2 /cache ext4 noatime,nosuid,nodev wait,check /devices/platform/goldfish_mmc.0 auto vfat defaults voldmanaged=sdcard:auto |
