[SQUASH] hiphi: Configure missing stuff for A/B
Co-authored-by: s4704 <igorkud00@gmail.com> Co-authored-by: Arian <arian.kulmer@web.de> Co-authored-by: brigudav <brigudav@gmail.com> Co-authored-by: Sebastiano Barezzi <barezzisebastiano@gmail.com> Signed-off-by: 7Soldier <reg.fm4@gmail.com>
This commit is contained in:
parent
808c22c144
commit
1e98a27606
3 changed files with 19 additions and 3 deletions
|
@ -12,13 +12,19 @@ ALLOW_MISSING_DEPENDENCIES := true
|
||||||
|
|
||||||
# A/B
|
# A/B
|
||||||
AB_OTA_UPDATER := true
|
AB_OTA_UPDATER := true
|
||||||
|
BOARD_BUILD_SYSTEM_ROOT_IMAGE := false
|
||||||
AB_OTA_PARTITIONS += \
|
AB_OTA_PARTITIONS += \
|
||||||
|
boot \
|
||||||
|
dtbo \
|
||||||
|
product \
|
||||||
system \
|
system \
|
||||||
system_ext \
|
system_ext \
|
||||||
product \
|
recovery \
|
||||||
|
vbmeta \
|
||||||
|
vbmeta_system \
|
||||||
vendor \
|
vendor \
|
||||||
odm
|
vendor_dlkm \
|
||||||
BOARD_USES_RECOVERY_AS_BOOT := true
|
vendor_boot
|
||||||
|
|
||||||
# Architecture
|
# Architecture
|
||||||
TARGET_ARCH := arm64
|
TARGET_ARCH := arm64
|
||||||
|
|
|
@ -22,6 +22,12 @@ AB_OTA_POSTINSTALL_CONFIG += \
|
||||||
FILESYSTEM_TYPE_system=ext4 \
|
FILESYSTEM_TYPE_system=ext4 \
|
||||||
POSTINSTALL_OPTIONAL_system=true
|
POSTINSTALL_OPTIONAL_system=true
|
||||||
|
|
||||||
|
AB_OTA_POSTINSTALL_CONFIG += \
|
||||||
|
RUN_POSTINSTALL_vendor=true \
|
||||||
|
POSTINSTALL_PATH_vendor=bin/checkpoint_gc \
|
||||||
|
FILESYSTEM_TYPE_vendor=ext4 \
|
||||||
|
POSTINSTALL_OPTIONAL_vendor=true
|
||||||
|
|
||||||
# Boot control HAL
|
# Boot control HAL
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
android.hardware.boot@1.0-impl \
|
android.hardware.boot@1.0-impl \
|
||||||
|
@ -43,6 +49,9 @@ PRODUCT_PACKAGES += \
|
||||||
update_verifier \
|
update_verifier \
|
||||||
update_engine_sideload
|
update_engine_sideload
|
||||||
|
|
||||||
|
# Dynamic partitions
|
||||||
|
PRODUCT_USE_DYNAMIC_PARTITIONS := true
|
||||||
|
|
||||||
# F2FS utilities
|
# F2FS utilities
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
sg_write_buffer \
|
sg_write_buffer \
|
||||||
|
|
|
@ -11,6 +11,7 @@ $(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit_only.mk)
|
||||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/gsi_keys.mk)
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/gsi_keys.mk)
|
||||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/updatable_apex.mk)
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/updatable_apex.mk)
|
||||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/emulated_storage.mk)
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/emulated_storage.mk)
|
||||||
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/virtual_ab_ota.mk)
|
||||||
|
|
||||||
# Inherit some common TWRP stuff.
|
# Inherit some common TWRP stuff.
|
||||||
$(call inherit-product, vendor/twrp/config/common.mk)
|
$(call inherit-product, vendor/twrp/config/common.mk)
|
||||||
|
|
Loading…
Reference in a new issue