Use lz4 compression instead of gz.

Given the benefits of lz4 with respect
to install and merge times as well
as reduce in CPU usage, it is worth
to switch to lz4

Bug: 291594891
Test: OTA
Change-Id: Ieee37bc11973d9dc3ef4de1811d67e223afabe8a
Signed-off-by: Akilesh Kailash <akailash@google.com>
This commit is contained in:
Akilesh Kailash 2023-07-17 15:58:03 +00:00
parent ec7c3b94a0
commit 4a2eaae016

View file

@ -588,7 +588,7 @@ include device/google/gs-common/battery_mitigation/bcl.mk
$(call inherit-product, $(SRC_TARGET_DIR)/product/emulated_storage.mk)
$(call inherit-product, $(SRC_TARGET_DIR)/product/virtual_ab_ota/android_t_baseline.mk)
PRODUCT_VIRTUAL_AB_COMPRESSION_METHOD := gz
PRODUCT_VIRTUAL_AB_COMPRESSION_METHOD := lz4
# Enforce generic ramdisk allow list
$(call inherit-product, $(SRC_TARGET_DIR)/product/generic_ramdisk.mk)