diff options
author | Bowgo Tsai <bowgotsai@google.com> | 2022-04-19 10:49:32 +0800 |
---|---|---|
committer | Bowgo Tsai <bowgotsai@google.com> | 2022-04-19 13:29:13 +0800 |
commit | 3456f2d62af277bf1623744955c860eaa0d0ec3b (patch) | |
tree | 101cf811ec91d48fca201d0ec62be187462e3f69 | |
parent | f4c89a2a805a68472f81562c403cf31b1e4fcf21 (diff) | |
download | common-3456f2d62af277bf1623744955c860eaa0d0ec3b.tar.gz |
Removing BOARD_BUILD_SYSTEM_ROOT_IMAGE
BOARD_BUILD_SYSTEM_ROOT_IMAGE is deprecated, so using
another new flag: BOARD_BUILD_GKI_BOOT_IMAGE_WITHOUT_RAMDISK,
to exclude the ramdisk from GKI boot images.
Bug: 220834917
Test: build and `unpack_bootimg`
Change-Id: Ia207f2ffbbefa55884e533260440edef7dc4f770
-rw-r--r-- | BoardConfigGkiCommon.mk | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/BoardConfigGkiCommon.mk b/BoardConfigGkiCommon.mk index eedfe28..c7970d7 100644 --- a/BoardConfigGkiCommon.mk +++ b/BoardConfigGkiCommon.mk @@ -40,9 +40,7 @@ BOARD_MKBOOTIMG_ARGS += --header_version $(BOARD_BOOT_HEADER_VERSION) BOARD_USES_RECOVERY_AS_BOOT := TARGET_NO_KERNEL := false BOARD_USES_GENERIC_KERNEL_IMAGE := true - -# Pretend as a no-ramdisk device to exclude the ramdisk from the GKI boot image -BOARD_BUILD_SYSTEM_ROOT_IMAGE ?= true +BOARD_BUILD_GKI_BOOT_IMAGE_WITHOUT_RAMDISK ?= true # No system image BOARD_SYSTEMIMAGE_PARTITION_SIZE := |