-
Notifications
You must be signed in to change notification settings - Fork 249
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix OTA update failure caused by vabc config
disabled vabc compression threads. Tracked-On: OAM-128553 Signed-off-by: Unnithan, Balakrishnan <[email protected]>
- Loading branch information
Showing
1 changed file
with
39 additions
and
0 deletions.
There are no files selected for viewing
39 changes: 39 additions & 0 deletions
39
...ff/preliminary/build/make/0009-fix-ota-update-failure-after-vabc-compression-enable.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
From 1c3ad205a969163002f42b61f00d66ee38e1fab2 Mon Sep 17 00:00:00 2001 | ||
From: "Unnithan, Balakrishnan" <[email protected]> | ||
Date: Mon, 16 Dec 2024 15:00:43 +0530 | ||
Subject: [PATCH 9/9] fix ota update failure after vabc compression enable | ||
|
||
Signed-off-by: Unnithan, Balakrishnan <[email protected]> | ||
--- | ||
target/product/virtual_ab_ota/vabc_features.mk | 14 ++++++++++---- | ||
1 file changed, 10 insertions(+), 4 deletions(-) | ||
|
||
diff --git a/target/product/virtual_ab_ota/vabc_features.mk b/target/product/virtual_ab_ota/vabc_features.mk | ||
index 7b90106fbd..faf347ebe6 100644 | ||
--- a/target/product/virtual_ab_ota/vabc_features.mk | ||
+++ b/target/product/virtual_ab_ota/vabc_features.mk | ||
@@ -52,11 +52,17 @@ PRODUCT_VENDOR_PROPERTIES += ro.virtual_ab.batch_writes=true | ||
|
||
# Enabling this property, will improve OTA install time | ||
# but will use an additional CPU core | ||
-PRODUCT_VENDOR_PROPERTIES += ro.virtual_ab.compression.threads=true | ||
- | ||
+# PRODUCT_VENDOR_PROPERTIES += ro.virtual_ab.compression.threads=true | ||
+# | ||
PRODUCT_VIRTUAL_AB_COMPRESSION := true | ||
-PRODUCT_VIRTUAL_AB_COMPRESSION_METHOD ?= lz4 | ||
-PRODUCT_VIRTUAL_AB_COMPRESSION_FACTOR ?= 65536 | ||
+ | ||
+ifndef PRODUCT_VIRTUAL_AB_COMPRESSION_FACTOR | ||
+ PRODUCT_VIRTUAL_AB_COMPRESSION_FACTOR := 65536 | ||
+endif | ||
+ | ||
+ifndef PRODUCT_VIRTUAL_AB_COMPRESSION_METHOD | ||
+ PRODUCT_VIRTUAL_AB_COMPRESSION_METHOD := lz4 | ||
+endif | ||
|
||
PRODUCT_PACKAGES += \ | ||
snapuserd.vendor_ramdisk \ | ||
-- | ||
2.47.1 | ||
|