OSDN Git Service

handle don't care regions in the system image
authorDoug Zongker <dougz@android.com>
Mon, 24 Feb 2014 16:13:45 +0000 (08:13 -0800)
committerDoug Zongker <dougz@android.com>
Mon, 3 Mar 2014 18:57:23 +0000 (10:57 -0800)
commit5fad2039bbd4e55d671106c8b39a6e451b85ac23
tree5db7b01051dd6169339df068d3669773250abdba
parent7676dbe03e124bbe830275f73c3fffd93fec6be0
handle don't care regions in the system image

The system partitions has regions that we shouldn't write and can't
depend on the contents of.  Adds a new script to generate a map of
these regions (using the sparse image as input), and include the map
in the package zip so it can be used when writing or patching the
system partition.

Also fixes a bug where the wrong SELinux file contexts are used when
generating incrementals.

Change-Id: Iaca5b967a3b7d1df843c7c21becc19b3f1633dad
core/Makefile
tools/releasetools/build_image.py
tools/releasetools/common.py
tools/releasetools/edify_generator.py
tools/releasetools/img_from_target_files.py
tools/releasetools/ota_from_target_files
tools/releasetools/simg_map.py [new file with mode: 0644]