platform_build/tools/releasetools
Nick Kralevich 0eb17d9447 Update OTA to understand SELinux labels and capabilities
Update the OTA generation script to understand SELinux file
labels and file capabilities.

Make fs_config aware of SELinux labels and file capabilities, and
optionally output those elements whenever we output the
UID / GID / file perms. The information is emitted as a key=value pair
to allow for future extensibility.

Pass the SELinux file label and capabilities to the newly created
set_metadata() and set_metadata_recursive() calls. When the OTA
script fixes up filesystem permissions, it will also fix up the SELinux
labels and file capabilities.

If no SELinux label and capabilities are available for the file, use
the old set_perm and set_perm_recursive calls.

Bug: 8985290
Bug: 10183961
Bug: 10186213
Change-Id: I4fcfb2c234dbfb965cee9e62f060092a4274d22d
2013-09-10 12:30:43 -07:00
..
build_image.py Support to build vendor.img 2013-03-25 09:53:16 -07:00
check_target_files_signatures use frozensets to represent APK cert sets 2011-11-11 09:51:37 -08:00
common.py Add support for using custom signapk.jar. 2013-06-05 09:57:55 -07:00
edify_generator.py Update OTA to understand SELinux labels and capabilities 2013-09-10 12:30:43 -07:00
img_from_target_files Fix signing process for SELinux file_contexts 2013-05-29 14:38:48 -07:00
ota_from_target_files Update OTA to understand SELinux labels and capabilities 2013-09-10 12:30:43 -07:00
sign_target_files_apks distinguish signed and unsigned user builds in UI 2013-07-23 11:51:04 -07:00