forked from openkylin/platform_build
Replace META/care_map.txt when signing target files
Do not copy the "META/care_map.txt" from the source zipfile when signing the target files with sign_target_files_apks. Because we'll generate a new care_map after rebuilding the system/vendor images; and we'll write the new "META/care_map.txt" to the signed-target-file. Change-Id: I6919cfdf8314a4084b5f612a9c89469f391486a4 Test: Run sign_target_files_apks locally, and the entry is updated. Bug: 30812253
This commit is contained in:
parent
6d64ff1bf7
commit
4f09900e67
|
@ -279,6 +279,10 @@ def ProcessTargetFiles(input_tf_zip, output_tf_zip, misc_info,
|
|||
info.filename == "BOOT/cmdline"):
|
||||
pass
|
||||
|
||||
# Skip the care_map as we will regenerate the system/vendor images.
|
||||
elif (info.filename == "META/care_map.txt"):
|
||||
pass
|
||||
|
||||
# Copy BOOT/, RECOVERY/, META/, ROOT/ to rebuild recovery patch. This case
|
||||
# must come AFTER other matching rules.
|
||||
elif (info.filename.startswith("BOOT/") or
|
||||
|
|
Loading…
Reference in New Issue