d3554e628f
With system_root_image, e2fsdroid writes file map with extra leading slashes in filenames (e.g. "//system/framework/am.jar"). This breaks the detection of files with incomplete ranges, and thus fails the patch generation. This CL addresses the issue by stripping out leading slashes. Additionally, non-/system files (e.g "//sbin/charger") are not packed under SYSTEM/ in a target_files.zip, despite being part of system.img. We need to look for these files under ROOT/ instead. This CL also asserts the availability of all files listed on a file map, to avoid silently missing other edge cases. Bug: 80380658 Test: python -m unittest test_common Test: Successfully generated an incremental for a target using system_root_image that was previously failing. Change-Id: I62a2460e882f3930e99add4d2b44291edf7a51a0 |
||
---|---|---|
.. | ||
acp | ||
apicheck | ||
atree | ||
docker | ||
droiddoc | ||
fs_config | ||
fs_get_stats | ||
libhost | ||
makeparallel | ||
releasetools | ||
signapk | ||
signtos | ||
zipalign | ||
ziptime | ||
Android.mk | ||
auto_gen_test_config.py | ||
auto_gen_test_config_test.py | ||
brillo-clang-format | ||
buildinfo.sh | ||
check_builds.sh | ||
check_link_type.py | ||
check_radio_versions.py | ||
checkowners.py | ||
compare_fileslist.py | ||
dump-package-stats | ||
event_log_tags.py | ||
fat16copy.py | ||
fileslist_util.py | ||
filter-product-graph.py | ||
findleaves.py | ||
fixlinebreaks.sh | ||
generate-enforce-rro-android-manifest.py | ||
generate-notice-files.py | ||
java-event-log-tags.py | ||
java-layers.py | ||
merge-event-log-tags.py | ||
mktarball.sh | ||
normalize_path.py | ||
OWNERS | ||
parsedeps.py | ||
post_process_props.py | ||
print_module_licenses.sh | ||
product_debug.py | ||
soong_to_convert.py | ||
vendor_buildinfo.sh | ||
warn.py |