| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| | |
replicant-6.0
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Generate zips that include the su binary out of the system image
when WITH_SU is not true. This allows to update the binary that
was installed with the addonsu zip.
Note: this requires backuptool to work and user builds are excluded.
Change-Id: Idc905e3397816b7d3701c43bbb809878f0d22b9b
|
| |
| |
| |
| |
| |
| |
| |
| | |
Currently, this script creates and leaves nearly 2GB in tmp
per run. Clean up on exit.
Change-Id: I4247dd2508e9d27de57c611c18e70800d7a47f33
(cherry picked from commit 462425468899f264155a3413aab75a099d1bbd25)
|
| |
| |
| |
| |
| |
| |
| | |
Currently, this script creates and leaves nearly 2GB in tmp
per run. Clean up on exit.
Change-Id: I4247dd2508e9d27de57c611c18e70800d7a47f33
|
|/
|
|
| |
Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
|
|
|
|
|
|
|
|
|
|
| |
In commit 24d91d8dd36b1b2a681461bea56a44605521861e,
info_dict is yet to be initialized when it is checked for
"ota_override_device" and "ota_override_prop".
Move the checks down to after info_dict is initialized.
Change-Id: Ibcbc4f993dcd2dd281ec19624107dddd994fd497
|
|
|
|
|
|
|
|
|
|
|
| |
These device-specific arguments are defined at build time and are
necessary to generate the zip correctly. Don't use command line
arguments to specify them, but write all the needed information
in misc_info.txt when the target-files zip is generated.
ota_from_target_files will then read misc_info.txt and set
everything automatically.
Change-Id: Ibdbca575b76eb07b53fccfcea52a351c7e333f91
|
|
|
|
|
|
|
| |
key passphrases may live in some sort of secure storage, support running
an arbitrary command to retrieve them.
Change-Id: I49862cf60f1b73a2356e0c492e1038beef28a95f
|
|
|
|
| |
Change-Id: I9cbeb6edea79a7e9bb0fc692e53497b54058d67f
|
|
|
|
| |
Change-Id: Ie03583dc2a974a159fa50c6cb19cb68aa256ca77
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When signing a build, the recovery can be built twice, once when signing
and again when adding the image to target files.
This is usally not a problem for deterministic signatures but a custom
signing method might include a time-based component which affects
checksums of the generated images. This means that the recovery patches
(i.e. install-recovery) will fail to checksum.
This patch makes adding images to target files, when invoked from
sign_target_files_apks, always rebuild the recovery patch with the newly
generated images so that the checksums are consistent irrespective of
potential time components.
Change-Id: I575c69dc96a6d4d69b3ea9d037f5f13c97afa87e
|
|
|
|
|
|
|
| |
If we're operating with a password dict, try to use it for verity
Change-Id: Ie0e8e33c873fc9f1ae9bd6da559f9cbbced183e9
Ref: CYNGNOS-3156
|
|
|
|
|
|
|
|
|
| |
Don't grab stdin/out for these tools. We want to know when a password
is being requested (and be able to actually provide one) if the corresponding
key needs it
Change-Id: I8dd439322b7d8942adc9ce7ce0912fb20c69654f
Ref: CYNGNOS-3156
|
|
|
|
|
|
|
|
| |
Some boot images will need to be signed using specific tools. Allow
passing the path to this tool through an environment variable.
Change-Id: I958726fdae8d63fe99d639dfa361046b528a087c
Ticket: CYNGNOS-2868
|
|
|
|
|
|
|
|
| |
We don't need this package to be included in fastboot images, so skip
it when we are creating fastboot images.
Change-Id: I1e0676f5cbf7468088e6997f83ae845578864668
Ticket: CYNGNOS-936
|
|
|
|
|
|
|
| |
Python 3 compatibility fail
Change-Id: I0acb7059b554ad16833ccdd09643f52f2c44a3f2
Ticket: RM-233
|
|
|
|
|
|
|
|
| |
Set PRODUCT_PRIVATE_KEY to the path of the boot image signing
certificate to sign an image for secure boot.
Ticket: RM-233
Change-Id: I2c767c6f9c3740bed3d7094d2d0b50a075e08abc
|
|
|
|
|
|
|
|
|
|
| |
This adds the capability of generating a OEM image with the build
and adding it to target files when BOARD_OEMIMAGE_FILE_SYSTEM_TYPE
is set.
Change-Id: I6c596d58d9d5ece1a261d953eeb8c60eac30e642
Ticket: CYNGNOS-936
(cherry picked from commit 1966a9e7c22b95eb4c16be6aee7adf43cb6ce118)
|
|\
| |
| |
| |
| |
| |
| |
| | |
https://android.googlesource.com/platform/build into cm-13.0
Android 6.0.1 release 22
Change-Id: Icd3603c1efc5fa85f48c19d13d484f0371ddae37
|
| |\
| | |
| | |
| | |
| | |
| | |
| | | |
releasetools.py.
* commit '46ae586ab26f5bf63baaac6c68942f1bfba4addc':
DO NOT MERGE Pass source's info_dict to vendor's releasetools.py.
|
| |\ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
packaging." into mnc-dr-dev
* commit 'b03d55aaeb5962690631ed1a25d8e628667d8ad2':
DO NOT MERGE: Only use a fixed timestamp when packaging.
|
| |\ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
* commit '59f4ff109d7da6d608cb6b1248a4403b13d8b2bc':
Add verity_signer and verity_key flags to add_img_to_target_files.
|
| |\ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
* commit 'a0abf49d2bdc42c81e5f636e54da9038de9dfc21':
Add an option to include a full bootloader in incremental OTA.
|
| |\ \ \ \ \
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
* commit '1e7f6f7442ca2addc8e4447d3070c625dbba8d3f':
Fix build.
|
| |\ \ \ \ \ \
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
an option to include a full bootloader in incremental OTA."
* commit '888b6f47c73c7ff0f4780e4406f18a83dbd4d8c2':
Revert "Add an option to include a full bootloader in incremental OTA."
|
| |\ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
lmp-mr1-ub-dev
* commit '160603cfc20362df30886a05735054842c6f79b8':
Add an option to include a full bootloader in incremental OTA.
|
| |\ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
* commit 'e35d00d019aaff92b5e20b86d9c3b8222c0c946a':
releasetools: Update the fingerprint when signing.
|
| |\ \ \ \ \ \ \ \ \
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
* commit '28f6f9c3deb4d23fd627d15631d682a5cfa989fc':
releasetools: Always write the last block if it's padded.
|
| |\ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
* commit 'a6e6afbce69da968299898944bb2165f5e799886':
releasetools: Fix the bug in symlink deletion.
|
| |\ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | | |
* commit 'e337093e6c5d502f0f4094639b41c001b3048d0f':
Split large files for BBOTA v3.
Revise stash for BBOTAs when needed.
Assert the stash size when generating OTAs.
|
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | | |
For squashfs, we currently don't have a system.map. So the whole system
image will be treated as a single file. But for some unknown bug, the
updater will be killed due to OOM when writing back the patched image to
flash (observed on lenok-userdebug MEA49). Prior to getting a real fix,
we evenly divide the non-zero blocks into smaller groups (currently 1024
blocks or 4MB per group).
Bug: 23227672
Change-Id: Ifeddd8d802f01f8cd2a743a1d1217a284fb6e182
|
| |\ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | | |
mnc-dr-dev
* commit '9f5c487ef586d20c273cafba6ce663287ef6a37a':
releasetools: Fix parameters for vboot_signer
|
| |\ \ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | | | |
| | | | | | | | | | | | | | |
| | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | |
* commit '15b42c426715c2221f49d0cf2181ba869b84bc94':
Read fstab from the source build.
|
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | |
mnc-dev
* commit '7f8ecb7f5c21630a75c69d170ba2b401d7a311a5':
Zero out blocks that may be touched by dm-verity.
|
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | |
* commit '74a81e6633276d92337749a5ee9d921207814dd4':
fix device specific fs_config on build server
|
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | |
Change-Id: Ia0d0d82c7fec86e1585a9e2c90ac877c363ed491
|
| | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | |
Clockwork builds may rename init.rc to init.core.rc. Change the OTA
script to scan all init.*.rc files to determine the proper location for
install-recovery.sh.
Bug: 22128990
Change-Id: If96bd0b81090683ad0bbfddb735d390204849d9f
|
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | |
cw-d-mr1-dev
|
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | |
file_getprop() always expects two arguments.
Bug: 19881931
Change-Id: Icf5577ad34188991c03f68c1217642d3adc4201c
|
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | |
- Declare OSIP as a new partition type
- Standard boot.img update is not possible for OSIP partitions
We are simply removing it on AOSP handling, and let the board handle
it in its own releasetool.py
Change-Id: Ie19fc3f6a0ca42e2eda264904b20fceeddbeaf53
|
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | |
If data is going to be wiped later in the script, there is no reason to
validate signatures. This breaks updates that may be designed to wipe
data and change signatures.
Change-Id: I0b794b43cec2d22996eaa5571688c66582475d55
Ticket: CYNGNOS-1289
|
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | |
This code was dropped when the original change
(I7528a8e7c484ea9209cd665b9263328ae834586a) was cherry-picked into 13.0.
Add it back in to the sign_target_files_apks.py file.
Change-Id: I0177a7d2a39ae03b21d0b2b4ad48a621ca5afd7b
Ticket: CYNGNOS-2067
|
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | |
boot and recovery images need to be re-created during the signing
process to ensure that the proper keys are embedded in the images. Don't
extract the BOOTABLE_IMAGES path if it exists in the source target files
to avoid re-using the prebuilt versions.
Change-Id: Icdf61367efc2364f89c7ab1c61a81536431aea2e
Ticket: CYNGNOS-1994
|
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | |
Permission files may grant permissions based on signatures in the same
way mac_permissions grants selinux permissions. In order to have this
work properly with dev-key and production key signed builds, allow these
files to be re-written during the signing process to replace the value
of the keys in production signed builds.
Change-Id: Id0311e49f8bba5a9f71b2fa49b480cb74779c853
Ticket: CYNGNOS-1877, RM-179
|
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | |
Some device-specific releasetool functions may expect that input_zip
and input_version are set. For incremental OTAs, target_zip and
target_version are set instead.
Set input_zip=target_zip and input_version=target_version to add
compatibility with these functions.
Change-Id: I6a04f67440618d3652396656cc1fe223d4a6b195
Ticket: RM-82
|
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | |
There may be multiple entries in fstab for a mount point. Use the first
value found so the entries are prioritized in order.
Change-Id: Ibd2631413d3e00507d3a0ec84fb91755f1c7993c
Ticket: OPO-326
|
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | |
Target files packages may be used for signing images separate from the
build process. Store the device tree image file in the target files
package so it can be used during the signing process.
Change-Id: Ie8507121fa9c4ba57ecffeab05bd859ae5f5b788
Ticket: CYNGNOS-1744
|
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | |
Change-Id: I032097c463598d1246feb92c02567175a65f90fd
|
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | |
Change-Id: I48534a72e6559f60af5f9b1c09040b34b7575b63
|
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | |
Change-Id: I5e11b46b7c2f7f8760d6c0e713ca99c1e88b7cd3
|