Package /data instead of userdata.img in sdk images

userdata.img becomes 4GB in P and it doesn't work well with patcher in
android studio. We decided to remove userdata.img in system image zip
and generate userdata.img from /data by emulator.
Within the /data folder, we only keep /misc for the emulated WiFi.
This cl does not impact real devices.

BUG: 79925096

Change-Id: Ida3f2163cab30b38cd02a0280b5fd7abd9a66945
Signed-off-by: Weilun Du <wdu@google.com>
This commit is contained in:
Weilun Du
2018-05-18 12:34:06 -07:00
parent 8429ee3cd5
commit 963d2e05e6

View File

@@ -231,7 +231,7 @@ development/sdk/sdk_files_NOTICE.txt platforms/${PLATFORM_NAME}/skins/NOTIC
system-qemu.img system-images/${PLATFORM_NAME}/${TARGET_CPU_ABI}/system.img system-qemu.img system-images/${PLATFORM_NAME}/${TARGET_CPU_ABI}/system.img
vendor-qemu.img system-images/${PLATFORM_NAME}/${TARGET_CPU_ABI}/vendor.img vendor-qemu.img system-images/${PLATFORM_NAME}/${TARGET_CPU_ABI}/vendor.img
ramdisk.img system-images/${PLATFORM_NAME}/${TARGET_CPU_ABI}/ramdisk.img ramdisk.img system-images/${PLATFORM_NAME}/${TARGET_CPU_ABI}/ramdisk.img
userdata.img system-images/${PLATFORM_NAME}/${TARGET_CPU_ABI}/userdata.img data/misc system-images/${PLATFORM_NAME}/${TARGET_CPU_ABI}/data/misc
system/build.prop system-images/${PLATFORM_NAME}/${TARGET_CPU_ABI}/build.prop system/build.prop system-images/${PLATFORM_NAME}/${TARGET_CPU_ABI}/build.prop
# Note: the kernel image is handled by sdk-android-<abi>.atree now. # Note: the kernel image is handled by sdk-android-<abi>.atree now.