| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Instead of writing individual files and fixing up their metadata, make
full OTAs contain a system image and simply write it to the block
device.
This is only done for target-files that already contain the recovery
flashing information, older target-files still get a file-based full
OTA.
Bug: 12893978
Change-Id: If7586083c8f275e24fec49d260af5b5aff4a0a88
|
|
|
|
|
|
|
|
|
|
| |
When not building locally and just using a target-files.zip from some
other build, it still tries to access the file_contexts from the out/
directory. This change instead looks at the unzipped target-files.zip
hierarchy to grab that information.
Bug: 9191141
Change-Id: I6ea12e82d6c6376fcada412314c5eefc97ff4853
|
|
|
|
|
| |
Bug: 8341435
Change-Id: I2db7970936984d38aed35054e3f695d298f4e512
|
|
|
|
|
|
| |
We still build yaffs2 images which don't need partition size.
Change-Id: I9c7f45069f25868666a257cee044faecf1a8781a
|
|
|
|
|
|
|
| |
At this point, userdata_size has been converted to partition_size in
build_image.ImagePropFromGlobalDict().
Change-Id: Ida6be1905ca3109c2660274a16359a9f3fbcd94d
|
|
|
|
| |
Change-Id: Iab5c510fcc7608c4b109781e6595ab8964f4c543
|
|
|
|
|
|
|
|
|
| |
Bug: 5153694
To build cache.img, set BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE (required,
ext4 only for now), BOARD_CACHEIMAGE_PARTITION_SIZE (optional) in
BoardConfig.mk.
Change-Id: I1d8b91646aa1dba88285e008ad3335768bcbddd2
|
|
|
|
| |
This reverts commit 531bdb546af5127ed9c1012871d780930eb990f5.
|
|
|
|
| |
Change-Id: I3dbe7afa4934fa718ba20605eebd2e3ce2ae82ab
|
|
|
|
|
|
|
|
|
| |
Bug: 5398808
Before this change we have duplicate code in the Makefile and the
python-based releasetool. That's a real headache to maintain.
Change-Id: I8ddf04a79c6886540e89d990f723d8f77c9dd883
|
|
|
|
|
|
|
|
|
| |
Gmake in Darwin has file descriptor leak.
In a full build, ota_from_target_files will inherits
more than 2000 open PIPEs from gmake and fails in a call to select.select().
This change fixes the build by closing the PIPEs before doing real work.
Change-Id: Ie7035d7add0b1da3afb6bf9c2009d40f8c7d29b3
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
img_from_target_files now, with the -z flag, will produce an output
zip with only the bootable partitions (boot and recovery).
img_ and ota_from_target_files can take, instead of a simple
"target_files.zip", a name of the form
"target_files.zip+bootable_images.zip", where the second zip contains
bootable images that should be used instead of building them from the
target_files.zip. (This should be the zip produced by the above -z
flag, perhaps with the images messed with in some way, such as by an
unnamed OEM's extra signature wrapper for their "secure boot"
process.)
Bug: 3391371
Change-Id: Iaf96dfc8f30e806ae342dcf3241566e76ae372d4
|
|
|
|
| |
Change-Id: Icb2a1c4fddb2b6153298ba1b849016aa3d792773
|
|\
| |
| |
| | |
Change-Id: I7f6870b654e24a268a14b9c47eb8d384993273f2
|
| |
| |
| |
| |
| | |
Bug: 3041475
Change-Id: I07306cd9c90072626dfc132d6655618ae70e64be
|
|\ \
| |/
| |
| | |
Change-Id: Idf5767f68dd19b51940ea69528cdd389b04d56b9
|
| |
| |
| |
| | |
Change-Id: Iba5d10204c93159a4f12ea8e8d8687db5b9dd5ca
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Include the recovery.fstab file in the recovery image. Remove the
global fs_type and partition_type values from the target-files
key/value dict, and parse the recovery.fstab file instead to find
types for each partition.
Change-Id: I35ee2dd0989441dc2a704b63c1b32e598049acb5
|
| |
| |
| |
| |
| |
| | |
Needed for non-device builds (like for the emulator) to work.
Change-Id: I5fdbfb3af34821811744e8ce5bf1eff8df344c73
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Include the recovery.fstab file in the recovery image. Remove the
global fs_type and partition_type values from the target-files
key/value dict, and parse the recovery.fstab file instead to find
types for each partition.
(Cherrypicked from gingerbread w/some edits to resolve conflicts.)
Change-Id: Ic3ed85ac5672d8fe20280dacf43d5b82053311bb
|
|\ \
| |/
| |
| |
| |
| |
| |
| |
| | |
into gingerbread
Merge commit '25df2a980d87f011fe702b6209c3b71b2824fc18'
* commit '25df2a980d87f011fe702b6209c3b71b2824fc18':
remove remaining refs to max_image_sizes
|
| |
| |
| |
| | |
Change-Id: I7e4686bc06f9c3eab2df34d092021c549738b217
|
|\ \
| |/
| |
| | |
Change-Id: I3fc84babbbcab712c5e38a0c8b815115ba89375f
|
| |
| |
| |
| |
| |
| |
| | |
Instead of separate files for recovery api version, tool extensions,
and mkyaffs2 options, put those all in the generic key-value file.
Change-Id: Ib642311632844d52e4895fd4747093fc7e86232d
|
|\ \
| |/
| |
| | |
Change-Id: I3b1aec1aee7c6bfcee2e978b4755b2bae9e480c4
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Do the yaffs-specific adjustments to image sizes in common.CheckSize,
instead of baking it into the image size stored in the target-files
package. Remove the special fs_type flag and fold it into the
"info_dict" we have for saving key-value pairs from the build system.
Change-Id: I6e63f3330f6277d9a946b22e66cadeb51203ba14
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Move the image sizes into a more generic key-value file. Make them
optional. Add additional key/value pairs describing what kind of
filesystem the device uses. Pass new fs-type-related arguments in
edify scripts when mounting and reformatting partitions.
Don't include all the init.*.rc files from the regular system in
recovery -- they aren't needed, and break recovery on some devices.
Change-Id: Ic1c651f754ed00ba1cffe8cf56c43f7f3b0ebfd7
|
|\ \
| |/
| |
| |
| |
| |
| |
| |
| | |
commands" into gingerbread
Merge commit '9314823c06d4434bf18d589c2fdea490428becf8'
* commit '9314823c06d4434bf18d589c2fdea490428becf8':
return to using subprocess for running commands
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Reverts Ic4f1c747 and fixes the problem by splitting the extra_flags
argument (it wasn't working before because it was getting one argument
"-c 4096 -s 128" instead of four arguments "-c", "4096", "-s", "128"
and mkyaffs2image apparently just ignores that bogus argument?)
Change-Id: Ib1e08d634aa68bfab0f7e09680d407f2cee0797d
|
|\ \
| |/
| |
| |
| |
| |
| | |
Merge commit 'a97039890e6a1999327cb3e9f2a28bf077a96e07'
* commit 'a97039890e6a1999327cb3e9f2a28bf077a96e07':
Refactor a bit.
|
| |
| |
| |
| | |
Change-Id: I4573e7a5239536f49571d9222865e2526da573c8
|
|\ \
| |/
| |
| |
| |
| |
| | |
Merge commit 'cef82129e1b2a26f883c20521d79175747eac434'
* commit 'cef82129e1b2a26f883c20521d79175747eac434':
Try to fix system.img in update zip file.
|
| |
| |
| |
| | |
Change-Id: Ic4f1c7478a22b1f8134ac768904e437fcfea700a
|
|\ \
| |/
| |
| |
| |
| |
| | |
Merge commit '485bd44d0d78f9f612075e17db1adb281741c84f'
* commit '485bd44d0d78f9f612075e17db1adb281741c84f':
Fix mkyaffs2image extra flags in the release tools.
|
| |
| |
| |
| | |
Change-Id: I806e3e85ef89941edf04352331e25730c491c470
|
| |
| |
| |
| |
| |
| | |
Original CL: 59920
Change-Id: I81437996670a61e10284293d25a08da8907ad296
|
| |
| |
| |
| |
| |
| | |
ext4 support is needed by crespo.
Change-Id: I604cb9ada526ce8ba6b3648171ac1d614a5519a9
|
| |
| |
| |
| | |
Change-Id: I66c67f8bbd84eb9da988b4079ad4c36089c1c930
|
| |
| |
| |
| | |
Change-Id: Id6a53d8d552e8ce1bdf83fbb756724454e05e5c8
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Move the image sizes into a more generic key-value file. Make them
optional. Add additional key/value pairs describing what kind of
filesystem the device uses. Pass new fs-type-related arguments in
edify scripts when mounting and reformatting partitions.
Don't include all the init.*.rc files from the regular system in
recovery -- they aren't needed, and break recovery on some devices.
Change-Id: I40e49e65f0d76f735259e4b4fef882322cd739da
|
|/
|
|
| |
Change-Id: Ie3df70426066bff467792b8528bc4528eb6afe15
|
| |
|
|
|
|
|
|
|
| |
For some time now the build system has included all the max image
sizes in a file in the META directory. Use these instead of needing
to parse the BoardConfig.mk file for the device at the time of
building an image or OTA package.
|
|
|
|
|
|
|
| |
In python 2.5 and earlier, ZipFile.writestr(filename, data) results in
the file being added to the archive with permissions 000. (See
http://svn.python.org/view?view=rev&revision=65235.) Work around this
by creating a ZipInfo object and setting the permissions explicitly.
|
|
signing and
building images & OTA packages out of vendor/google.
No device code is touched by this change.
Original author: dougz
Merged from: //branches/cupcake/...
Automated import of CL 144270
|