0eabd4f2c5
Added support to build system.img that combines contents of /system and the ramdisk, and can be mounted at the root of the file system. To enable this feature, define BoardConfig.mk variable: BOARD_BUILD_SYSTEM_ROOT_IMAGE := true Ideally we would just change TARGET_OUT (the path of the staging system directory) to under TARGET_ROOT_OUT. But at this point many places in the build system assume TARGET_OUT is independent of TARGET_ROOT_OUT and we can't make it easily configurable. Instead this implementation takes the least intrusive approach: We don't change TARGET_OUT or TARGET_ROOT_OUT. We just assemble a temporary staging directory that contains contents of both TARGET_OUT and TARGET_ROOT_OUT, in build_image.BuildImage() of tools/releasetools/build_image.py. When build_image.py is directly called from the makefile, we pass in the parameters from the global dictionary; when build_image.BuildImage() is called from add_img_to_target_files.py, we need to override values to point to files extracted from the target_files zip file. We need to combine the fs_config files of both /system and ramdisk, when fs_config is enabled. Also this change refactored build_image.BuildImage() by moving the extra parameters to the image property dictionary. Bug:19868522 Change-Id: Iafc467a0e3427b0d6ad3b575abcc98ddcc9ea0f1 |
||
---|---|---|
.. | ||
acp | ||
apicheck | ||
atree | ||
check_prereq | ||
droiddoc | ||
fs_config | ||
fs_get_stats | ||
releasetools | ||
rgb2565 | ||
signapk | ||
signtos | ||
zipalign | ||
adbs | ||
Android.mk | ||
buildinfo.sh | ||
check_builds.sh | ||
check_radio_versions.py | ||
compare_fileslist.py | ||
diff_package_overlays.py | ||
dump-package-stats | ||
event_log_tags.py | ||
fileslist.py | ||
filter-product-graph.py | ||
findleaves.py | ||
fixlinebreaks.sh | ||
generate-notice-files.py | ||
java-event-log-tags.py | ||
java-layers.py | ||
merge-event-log-tags.py | ||
mktarball.sh | ||
parsedeps.py | ||
post_process_props.py | ||
print_module_licenses.sh | ||
product_debug.py | ||
warn.py |