platform_build/tools
Ying Wang 0eabd4f2c5 Support to build image of root file system with /system and ramdisk combined.
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
2015-03-24 21:07:42 -07:00
..
acp Never use ASAN for acp. 2014-10-31 16:33:08 -07:00
apicheck
atree Remove HAVE_DIRENT_D_TYPE. 2014-11-10 15:33:39 -08:00
check_prereq
droiddoc am 41d35af2: am 3e7688d0: am 3c242c5d: am 4b2537f3: am e34b4ec4: am 2b486dc8: Merge "doc: Add Japanese version of DAC/distribute/ page." into lmp-docs 2015-02-27 17:08:57 +00:00
fs_config Update OTA to understand SELinux labels and capabilities 2013-09-10 12:30:43 -07:00
fs_get_stats build: update fs_config calls for capabilities change. 2013-02-20 12:48:44 -08:00
releasetools Support to build image of root file system with /system and ramdisk combined. 2015-03-24 21:07:42 -07:00
rgb2565
signapk Merge "Signapk.java: hide the password" 2015-03-11 16:46:00 +00:00
signtos Add SignTos tool 2014-08-08 13:18:53 -07:00
zipalign Fix zipalign README file and usage strings. 2015-02-27 14:17:17 +00:00
adbs ADBS now uses stack_core code to parse traces. 2014-07-07 15:14:41 -07:00
Android.mk Let apicheck visible to unbundled build. 2013-08-02 21:35:15 +00:00
buildinfo.sh resolved conflicts for merge of 8f5fc9e2 to lmp-mr1-dev-plus-aosp 2015-01-22 18:53:59 +00:00
check_builds.sh Use a more modern -j flag. 2012-08-16 22:45:55 -07:00
check_radio_versions.py
compare_fileslist.py
diff_package_overlays.py
dump-package-stats
event_log_tags.py
fileslist.py
filter-product-graph.py make product-graph now filtered 2012-08-16 22:45:55 -07:00
findleaves.py Follow symlinks in findleaves 2012-08-24 16:24:45 -07:00
fixlinebreaks.sh
generate-notice-files.py
java-event-log-tags.py
java-layers.py Add a tool to let you enforce layering between packages in a java module. 2012-10-20 17:25:55 -07:00
merge-event-log-tags.py fix merge-event-log-tags.py deprecation warning 2012-09-20 11:50:34 -07:00
mktarball.sh
parsedeps.py Add tool to parse make dependency info from new --deps flag. 2012-08-16 22:45:55 -07:00
post_process_props.py Fail even dev build when property value exceeds length limit. 2015-02-04 15:10:59 -08:00
print_module_licenses.sh
product_debug.py Remove support of factory ramdisk/bundle. 2015-02-04 11:00:01 -08:00
warn.py