Change emulator system image to unsparse format
Currently, emulator system image is the non-legasy GSI, which is in sparse
format. Several internal clients don't support sparse format, and other
internal/external clients usually support both. The reason to choose sparse
format for GSI may not be valid any more. See bug for detail.
Bug: 130341962
Test: Checked the header of system.img to see if it's unsparse.
Boot emulator aosp_x86 successfully.
Change-Id: I839f49809429227607b2e876a4a3628df43a97b4
Merged-In: I839f49809429227607b2e876a4a3628df43a97b4
(cherry picked from commit 90bfda1cc4
)
This commit is contained in:
@@ -20,6 +20,9 @@ BUILD_QEMU_IMAGES := true
|
||||
# the GLES renderer disables itself if host GL acceleration isn't available.
|
||||
USE_OPENGL_RENDERER := true
|
||||
|
||||
# Emulator doesn't support sparse image format.
|
||||
TARGET_USERIMAGES_SPARSE_EXT_DISABLED := true
|
||||
|
||||
# ~140 MB vendor image. Please adjust system image / vendor image sizes
|
||||
# when finalizing them. The partition size needs to be a multiple of image
|
||||
# block size: 4096.
|
||||
|
@@ -11,11 +11,6 @@ TARGET_NO_KERNEL := true
|
||||
# This flag is set by mainline but isn't desired for GSI.
|
||||
BOARD_USES_SYSTEM_OTHER_ODEX :=
|
||||
|
||||
# GSIs are historically released in sparse format.
|
||||
# Some vendors' bootloaders don't work properly with raw format images. So
|
||||
# we explicit specify this need below (even though it's the current default).
|
||||
TARGET_USERIMAGES_SPARSE_EXT_DISABLED := false
|
||||
|
||||
# system.img is always ext4 with sparse option
|
||||
# GSI also includes make_f2fs to support userdata parition in f2fs
|
||||
# for some devices
|
||||
|
Reference in New Issue
Block a user