diff options
author | luoqiangwei1 <luoqiangwei1@xiaomi.com> | 2022-04-12 10:18:29 +0800 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2024-01-08 20:19:35 +0000 |
commit | 2fb4c66b59ede85f0c27e0fdf441c4991911528f (patch) | |
tree | 4f863da2029cbfffad614e90b5f9fad18bbcb9c9 | |
parent | c7fad9a77cbe39fc604a8a669178c034542529ee (diff) | |
download | recovery-2fb4c66b59ede85f0c27e0fdf441c4991911528f.tar.gz |
Fix the problem of incremental OTA upgrade failure (recovery part)
When the updater compresses the file after the apply patch, unexpected results are generated, resulting in the failure of incremental OTA upgrade
Test: make imgdiff updater
Change-Id: I0d7652dca46c5b027f22670b254332fb8a5d5c98
Signed-off-by: luoqiangwei1 <luoqiangwei1@xiaomi.com>
-rw-r--r-- | updater/Android.bp | 2 | ||||
-rw-r--r-- | updater/Android.mk | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/updater/Android.bp b/updater/Android.bp index 35debaaf..4fc3c494 100644 --- a/updater/Android.bp +++ b/updater/Android.bp @@ -44,7 +44,7 @@ cc_defaults { "libbrotli", "libbz", "libziparchive", - "libz", + "libz_stable", "libbase", "libcrypto_utils", "libcutils", diff --git a/updater/Android.mk b/updater/Android.mk index bb1c07d4..2fd56397 100644 --- a/updater/Android.mk +++ b/updater/Android.mk @@ -42,7 +42,7 @@ updater_common_static_libraries := \ libbrotli \ libbz \ libziparchive \ - libz \ + libz_stable \ libbase \ libcrypto_static \ libcrypto_utils \ |