Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 81314043 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Clear OS version and patch level fields for GKI boot images"

parents 9a21773e 662a2c61
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -957,9 +957,15 @@ else ifndef BUILDING_VENDOR_BOOT_IMAGE # && BOARD_USES_GENERIC_KERNEL_IMAGE != t
  endif
endif # BUILDING_VENDOR_BOOT_IMAGE == "" && BOARD_USES_GENERIC_KERNEL_IMAGE != true

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_patch_level $(PLATFORM_SECURITY_PATCH)
endif # BOARD_GKI_SIGNING_KEY_PATH

# $(1): image target to certify
# $(2): out certificate target