Merge "Clear OS version and patch level fields for GKI boot images" am: 8131404331
am: 40783868d8
Original change: https://android-review.googlesource.com/c/platform/build/+/2022898 Change-Id: I8768138d82af53b3903e97fe1f6cb7e10e973f97
This commit is contained in:
@@ -957,9 +957,15 @@ else ifndef BUILDING_VENDOR_BOOT_IMAGE # && BOARD_USES_GENERIC_KERNEL_IMAGE != t
|
|||||||
endif
|
endif
|
||||||
endif # BUILDING_VENDOR_BOOT_IMAGE == "" && BOARD_USES_GENERIC_KERNEL_IMAGE != true
|
endif # BUILDING_VENDOR_BOOT_IMAGE == "" && BOARD_USES_GENERIC_KERNEL_IMAGE != true
|
||||||
|
|
||||||
INTERNAL_MKBOOTIMG_VERSION_ARGS := \
|
ifdef BOARD_GKI_SIGNING_KEY_PATH
|
||||||
|
# GKI boot images will not set system version & SPL value in the header.
|
||||||
|
# They can be set by the device manufacturer in the AVB properties instead.
|
||||||
|
INTERNAL_MKBOOTIMG_VERSION_ARGS :=
|
||||||
|
else
|
||||||
|
INTERNAL_MKBOOTIMG_VERSION_ARGS := \
|
||||||
--os_version $(PLATFORM_VERSION_LAST_STABLE) \
|
--os_version $(PLATFORM_VERSION_LAST_STABLE) \
|
||||||
--os_patch_level $(PLATFORM_SECURITY_PATCH)
|
--os_patch_level $(PLATFORM_SECURITY_PATCH)
|
||||||
|
endif # BOARD_GKI_SIGNING_KEY_PATH
|
||||||
|
|
||||||
# $(1): image target to certify
|
# $(1): image target to certify
|
||||||
# $(2): out certificate target
|
# $(2): out certificate target
|
||||||
|
Reference in New Issue
Block a user