From e7eb3657a68d4e979debfb6682f2d5c3095dc3a5 Mon Sep 17 00:00:00 2001 From: Bowgo Tsai Date: Tue, 22 Feb 2022 23:25:58 +0800 Subject: Excluding the ramdisk from GKI boot images By default, the build system assumes the ramdisk is either in the boot.img or in the init_boot.img. In gki_arm64, we've removed init_boot.img so the ramdisk will be included in the boot.img. However, GKI boot images should not include a ramdisk. Sets BOARD_BUILD_SYSTEM_ROOT_IMAGE to true to exclude the ramdisk. Bug: 220834917 Test: lunch gki_arm64-user; make -j dist; then unpack_bootimg boot-*.img Change-Id: I441592c141d6cfdb19a13c98cfca9a976af12604 --- gki_common.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gki_common.mk') diff --git a/gki_common.mk b/gki_common.mk index 33a9701..4e21af1 100644 --- a/gki_common.mk +++ b/gki_common.mk @@ -84,7 +84,7 @@ $(call _output_kernel_files,$(_output-kernel-info-files),$(1),$(2)) endef # -# Output boot.img and init-boot.img +# Output boot.img # $(call inherit-product, $(SRC_TARGET_DIR)/product/generic_ramdisk.mk) PRODUCT_BUILD_BOOT_IMAGE := true -- cgit v1.2.3