platform_build/tools/releasetools
Patrick Tjin 5ff758799c build_image: default extfs reserved size to 0 on RO partitions.
Defaults the reserved blocks for root to 0% on read only partitions
(system, system_other, vendor, oem).  It also adds support for
explicitly specifying the extfs reserved percentage via
BOARD_{SYSTEM,VENDOR,OEM,PRODUCT}IMAGE_EXTFS_RSV_PCT.

This eventually translates down to the -m option for mkfs.

Removing the reserved space can save at least  5% from the default.

  dumpe2fs system:
    Reserved blocks uid:      0 (user root)
    Reserved blocks gid:      0 (group root)

Bug: 75975085
Test: Build, verify reserved space is changed accordingly
Change-Id: I212d82741908b636db0d658a1c4847bbaadfd5ba
2018-03-31 10:22:42 -07:00
..
testdata releasetools: Check for duplicate entries in ReplaceCerts(). 2018-02-20 10:22:30 -08:00
add_img_to_target_files store images in target-files 2014-07-31 11:06:30 -07:00
add_img_to_target_files.py releasetools: Don't return ZipFile from common.UnzipTemp(). 2018-03-01 10:03:31 -08:00
blockimgdiff.py releasetools: Allow generating BBOTA for images with shared blocks. 2018-02-13 11:14:23 -08:00
build_image.py build_image: default extfs reserved size to 0 on RO partitions. 2018-03-31 10:22:42 -07:00
check_ota_package_signature.py releasetools: Capture stderr output when calling delta_generator. 2018-02-05 23:39:23 -08:00
check_target_files_signatures Make releasetools pylint clean. 2015-03-24 11:05:16 -07:00
check_target_files_signatures.py releasetools: Call Cleanup() in check_target_files_signatures.py. 2018-03-01 10:12:39 -08:00
common.py Allow addition of recovery DTBO to recovery image 2018-03-29 17:51:57 +00:00
edify_generator.py releasetools: Add a BuildInfo class. 2018-01-09 15:08:23 -08:00
img_from_target_files Allow to build the update.zip for emulator build. 2014-06-04 17:04:14 +00:00
img_from_target_files.py releasetools: Don't return ZipFile from common.UnzipTemp(). 2018-03-01 10:03:31 -08:00
make_recovery_patch Make releasetools pylint clean. 2015-03-24 11:05:16 -07:00
make_recovery_patch.py releasetools: Replace print stmt with print(). 2017-01-13 14:55:14 -08:00
ota_from_target_files Fix build. 2015-09-15 07:50:10 +00:00
ota_from_target_files.py releasetools: Handle two edge cases in FinalizeMetadata(). 2018-03-21 06:19:28 +00:00
ota_package_parser.py Add a script to parse an block-based ota package 2017-05-09 21:01:19 +00:00
OWNERS Add OWNERS in build/make 2017-06-21 16:09:56 -07:00
pylintrc releasetools: Remove deprecated pylint options. 2017-12-04 12:15:23 -08:00
rangelib.py releasetools: RangeSet.monotonic is not an optional attribute. 2018-02-06 16:00:52 -08:00
sign_target_files_apks Make releasetools pylint clean. 2015-03-24 11:05:16 -07:00
sign_target_files_apks.py releasetools: Check for duplicate entries in ReplaceCerts(). 2018-02-20 10:22:30 -08:00
sparse_img.py releasetools: Allow generating BBOTA for images with shared blocks. 2018-02-13 11:14:23 -08:00
target_files_diff.py target_files_diff: Fix the issue with file type change. 2016-04-25 18:35:20 +00:00
test_add_img_to_target_files.py releasetools: Add unittests for GetCareMap() and AddCareMapTxtForAbOta(). 2018-02-22 00:10:05 -08:00
test_blockimgdiff.py releasetools: Remove the unconditional fallback to bsdiff. 2018-02-13 11:06:20 -08:00
test_build_image.py releasetools: Move assertions into CheckHeadroom(). 2018-01-03 11:52:16 -08:00
test_common.py releasetools: Don't return ZipFile from common.UnzipTemp(). 2018-03-01 10:03:31 -08:00
test_ota_from_target_files.py releasetools: Handle two edge cases in FinalizeMetadata(). 2018-03-21 06:19:28 +00:00
test_rangelib.py Analyze unchanged blocks in odex files. 2016-09-23 12:15:23 -07:00
test_sign_target_files_apks.py releasetools: Check for duplicate entries in ReplaceCerts(). 2018-02-20 10:22:30 -08:00
test_utils.py releasetools: Handle two edge cases in FinalizeMetadata(). 2018-03-21 06:19:28 +00:00
validate_target_files.py releasetools: Fix the broken validate_target_files.py. 2018-03-08 08:10:28 -08:00