summaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* build: Use the password manager for the verity key if possibleRicardo Cerqueira2016-07-112-3/+30
| | | | | | | If we're operating with a password dict, try to use it for verity Change-Id: Ie0e8e33c873fc9f1ae9bd6da559f9cbbced183e9 Ref: CYNGNOS-3156
* build: Let the verity signer and metadata builders ask for a passwordRicardo Cerqueira2016-07-042-4/+8
| | | | | | | | | 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
* ereleasetools: Allow for custom boot image signing toolsBrint E. Kriebel2016-05-171-1/+10
| | | | | | | | 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
* repopick: support specifying a range of commits to pickDan Pasanen2016-05-111-2/+8
| | | | | | * for example: repopick 12345-12350 Change-Id: I3b8f2c331a6ac5488032432e133bd4b44d0bf007
* img_from_target_files: Skip oem.img in fastboot image creationBrint E. Kriebel2016-04-181-6/+3
| | | | | | | | 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
* releasetools: Fix print in boot image signingBrint E. Kriebel2016-04-181-1/+1
| | | | | | | Python 3 compatibility fail Change-Id: I0acb7059b554ad16833ccdd09643f52f2c44a3f2 Ticket: RM-233
* releasetools: Add bootable image signingBrint E. Kriebel2016-04-181-1/+39
| | | | | | | | 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
* build: skip 'ro.product.device' using new macro "TARGET_SKIP_PRODUCT_DEVICE"Edward Wang2016-04-151-1/+3
| | | | | Change-Id: Id17ef7de8b0146dd6e4b2cc3cc5b88453da38f6c Ticket: FEIJ-62
* build: Create a oem image when BOARD_OEMIMAGE_FILE_SYSTEM_TYPE is definedDiogo Ferreira2016-04-152-0/+39
| | | | | | | | | | 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)
* Preventing default locale from being overridden because of buildinfo.shAbhishek G2016-04-051-1/+1
| | | | | | | | | Adding the ability to set default locale from the device tree. Adding the TARGET_SKIP_DEFAULT_LOCALE flag which can be set in the device tree, thus preventing buildinfo.sh from overriding default locale. Change-Id: I66bcedb42216acee56ceaf657a39dc23d7eea6f4 Issue-Id: FEIJ-22
* Merge tag 'android-6.0.1_r22' of ↵Steve Kondik2016-03-112-10/+39
|\ | | | | | | | | | | | | | | https://android.googlesource.com/platform/build into cm-13.0 Android 6.0.1 release 22 Change-Id: Icd3603c1efc5fa85f48c19d13d484f0371ddae37
| * am 46ae586a: am e09359ab: DO NOT MERGE Pass source\'s info_dict to vendor\'s ↵Tao Bao2015-10-172-3/+11
| |\ | | | | | | | | | | | | | | | | | | releasetools.py. * commit '46ae586ab26f5bf63baaac6c68942f1bfba4addc': DO NOT MERGE Pass source's info_dict to vendor's releasetools.py.
| * \ am b03d55aa: Merge "DO NOT MERGE: Only use a fixed timestamp when ↵Tao Bao2015-10-122-0/+20
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | packaging." into mnc-dr-dev * commit 'b03d55aaeb5962690631ed1a25d8e628667d8ad2': DO NOT MERGE: Only use a fixed timestamp when packaging.
| * \ \ am 1b5eef1b: am b16edb5f: Merge "add unique ID to each windows download ↵Joe Fernandez2015-10-101-2/+2
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | link. These IDs are necessary for the TOS wall to identify which link should be applied to the download button." into mnc-dev * commit '1b5eef1b490cc143474ec74d58369aac9bf6629e': add unique ID to each windows download link. These IDs are necessary for the TOS wall to identify which link should be applied to the download button.
| * \ \ \ am 59f4ff10: Add verity_signer and verity_key flags to add_img_to_target_files.Baligh Uddin2015-09-171-2/+14
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | * commit '59f4ff109d7da6d608cb6b1248a4403b13d8b2bc': Add verity_signer and verity_key flags to add_img_to_target_files.
| * \ \ \ \ am a0abf49d: resolved conflicts for a1fcaf86 to mnc-dr-devIan Pedowitz2015-09-161-1/+9
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'a0abf49d2bdc42c81e5f636e54da9038de9dfc21': Add an option to include a full bootloader in incremental OTA.
| * \ \ \ \ \ am 1e7f6f74: Fix build.leozwang2015-09-151-1582/+1
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '1e7f6f7442ca2addc8e4447d3070c625dbba8d3f': Fix build.
| * \ \ \ \ \ \ am 888b6f47: am 47f6a4e7: am 1c1a6d15: am 2c9dfb82: am 1d4ad515: Revert "Add ↵Leo Wang2015-09-151-9/+0
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | an option to include a full bootloader in incremental OTA." * commit '888b6f47c73c7ff0f4780e4406f18a83dbd4d8c2': Revert "Add an option to include a full bootloader in incremental OTA."
| * \ \ \ \ \ \ \ am 160603cf: am 5837f102: am 1753b4e9: resolved conflicts for 00fdede3 to ↵leozwang2015-09-151-1/+1591
| |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | lmp-mr1-ub-dev * commit '160603cfc20362df30886a05735054842c6f79b8': Add an option to include a full bootloader in incremental OTA.
| * \ \ \ \ \ \ \ \ am e35d00d0: am 265d9aeb: releasetools: Update the fingerprint when signing.Tao Bao2015-09-121-1/+7
| |\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'e35d00d019aaff92b5e20b86d9c3b8222c0c946a': releasetools: Update the fingerprint when signing.
| * \ \ \ \ \ \ \ \ \ am 28f6f9c3: releasetools: Always write the last block if it\'s padded.Tao Bao2015-09-081-6/+21
| |\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '28f6f9c3deb4d23fd627d15631d682a5cfa989fc': releasetools: Always write the last block if it's padded.
| * \ \ \ \ \ \ \ \ \ \ am a6e6afbc: am 39c322ce: releasetools: Fix the bug in symlink deletion.Tao Bao2015-09-032-4/+38
| |\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'a6e6afbce69da968299898944bb2165f5e799886': releasetools: Fix the bug in symlink deletion.
| * \ \ \ \ \ \ \ \ \ \ \ am 77c1ff7b: am 4ffdc8fa: Fix bug that caused table of Studio links to ↵smain@google.com2015-08-311-6/+10
| |\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | result in "stand-alone" tools instructions. bug: 23570662 * commit '77c1ff7bf983ef4622ecb227d4e5b0c75728c28f': Fix bug that caused table of Studio links to result in "stand-alone" tools instructions. bug: 23570662
| * \ \ \ \ \ \ \ \ \ \ \ \ am e337093e: Merge changes from topic \'stash-size\' into mnc-dr-devTao Bao2015-08-313-18/+213
| |\ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'e337093e6c5d502f0f4094639b41c001b3048d0f': Split large files for BBOTA v3. Revise stash for BBOTAs when needed. Assert the stash size when generating OTAs.
| * \ \ \ \ \ \ \ \ \ \ \ \ \ am 15bb28fc: am ed7e864a: fix a few bugs in the studio download button ↵smain@google.com2015-08-242-5/+3
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | behavior: - make button text always white (avoid blue on blue during hover) - revise logic to add the platform name to download button to avoid weird duplicity bug on small screens - remove the * commit '15bb28fc73fa30e9c7b8ee0d924c8906724809e0': fix a few bugs in the studio download button behavior: - make button text always white (avoid blue on blue during hover) - revise logic to add the platform name to download button to avoid weird duplicity bug on small screens - remove the animation script when clicking download before agree because it reloaded the page (unkown cause) depends on: https://googleplex-android-review.git.corp.google.com/#/c/752757/
| * | | | | | | | | | | | | | | sparse_img.py: Divide NONZERO blocks into groups.Tao Bao2015-08-191-3/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | | | | | | | | | | | | | am 8ea2636c: am 6a8f88cd: adjust image placement for m hero on medium screens.Dirk Dougherty2015-08-171-1/+5
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '8ea2636c190789263aaf78b89163c8e85bef3417': adjust image placement for m hero on medium screens.
| * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ am a2869db8: am 71e0a80c: Merge "doc change: Add hero image for m and css ↵Joe Fernandez2015-08-132-0/+66
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | for landing pages." into mnc-dev * commit 'a2869db89eb59e57b7f0cdfc5e526d5257b95ecc': doc change: Add hero image for m and css for landing pages.
| * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ am 897f3ba8: am 25abc5a3: Merge "Fix issie #23116383: Include security patch ↵Dianne Hackborn2015-08-131-0/+2
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | level in Settings" into mnc-dev * commit '897f3ba8b1cc402fca16720be345ba9c587c326b': Fix issie #23116383: Include security patch level in Settings
| * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ am 86e510cc: am 71a33c4d: Merge "Add the ability to display annotations in ↵Clay Murphy2015-08-112-1/+9
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the generated docs (cherry-picked from commit 87c44d8a11d6f9e94c90197e7f8adf430c949c86) Bug: 8440225 Change-Id: I41c1c7909b283832b818b8860ffe370cd4328f20" into mnc-dev * commit '86e510cc313a464870ff82a9cd7f7206ea4aeb63': Add the ability to display annotations in the generated docs (cherry-picked from commit 87c44d8a11d6f9e94c90197e7f8adf430c949c86) Bug: 8440225 Change-Id: I41c1c7909b283832b818b8860ffe370cd4328f20
| * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ am 9f5c487e: Merge "releasetools: Fix parameters for vboot_signer" into ↵Furquan Shaikh2015-08-101-1/+3
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mnc-dr-dev * commit '9f5c487ef586d20c273cafba6ce663287ef6a37a': releasetools: Fix parameters for vboot_signer
| * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ am 15b42c42: am cce673b6: Read fstab from the source build.Tao Bao2015-07-291-6/+8
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '15b42c426715c2221f49d0cf2181ba869b84bc94': Read fstab from the source build.
| * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ am 7f8ecb7f: Merge "Zero out blocks that may be touched by dm-verity." into ↵Tao Bao2015-07-104-14/+73
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mnc-dev * commit '7f8ecb7f5c21630a75c69d170ba2b401d7a311a5': Zero out blocks that may be touched by dm-verity.
| * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ am 74a81e66: fix device specific fs_config on build serverThierry Strudel2015-07-104-11/+24
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '74a81e6633276d92337749a5ee9d921207814dd4': fix device specific fs_config on build server
| * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ resolved conflicts for merge of 610754e5 to cw-e-devTao Bao2015-07-081-6/+16
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ia0d0d82c7fec86e1585a9e2c90ac877c363ed491
| | * | | | | | | | | | | | | | | | | | | | | | | Scan all init.*.rc files for flash_recovery service.Tao Bao2015-07-071-7/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| | * | | | | | | | | | | | | | | | | | | | | | | Merge "DO NOT MERGE Fix the syntax error in the edify script generator" into ↵Chris Elliott2015-07-021-5/+5
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cw-d-mr1-dev
| | | * | | | | | | | | | | | | | | | | | | | | | | DO NOT MERGE Fix the syntax error in the edify script generatorTao Bao2015-07-021-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | file_getprop() always expects two arguments. Bug: 19881931 Change-Id: Icf5577ad34188991c03f68c1217642d3adc4201c
* | | | | | | | | | | | | | | | | | | | | | | | | | releasetool: add OSIP partitions specificsArtefvck 072016-02-202-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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
* | | | | | | | | | | | | | | | | | | | | | | | | | ota_from_target_files: Don't validate data signatures with data wipeBrint E. Kriebel2016-02-161-7/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | | | | | | | | | | | | | | | | | | | | | | releasetools: Store the proper base64 release key in the target filesBrint E. Kriebel2016-02-161-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | | | | | | | | | | | | | | | | | | | | | | repopick: Don't crash if change not foundMatt Mower2016-02-111-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If change is not located, skip it. Resolves the following: Traceback (most recent call last): File "(omitted)/build/tools/repopick.py", line 258, in <module> review = [x for x in reviews if x['number'] == change][0] IndexError: list index out of range Change-Id: I96423ddc809ac1c7994998db4e1929ca813f20ca
* | | | | | | | | | | | | | | | | | | | | | | | | | releasetools: Don't extract BOOTABLE_IMAGES when signing target filesBrint E. Kriebel2016-02-101-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | | | | | | | | | | | | | | | | | | | | | | releasetools: Replace key values in permission files during re-signingBrint E. Kriebel2016-02-041-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | | | | | | | | | | | | | | | | | | | | | | roomservice: check uniqueness by path, not nameArnav Gupta2016-02-011-11/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For repos such as hardware/qcom/media-caf we are using the same name with different branches for different paths. for eg. CyanogenMod/hardware_qcom_media-caf(branch:8994) - fetch to : /hardware/qcom/media-caf/8994 CyanogenMod/hardware_qcom_media-caf(branch:8960) - fetch to : /hardware/qcom/media-caf/8960 For such cases roomservice won't pick up a new path if one already exists. We should check for unique by target path instead. Change-Id: I89e561ca9a2d57ede8cf782f431a8e829ea47ee5 Signed-off-by: Arnav Gupta <championswimmer@gmail.com>
* | | | | | | | | | | | | | | | | | | | | | | | | | releasetools: add compatibility for full ota functions with incrementalsBrint E. Kriebel2016-01-291-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | | | | | | | | | | | | | | | | | | | | | | releasetools: Use the first entry of a mount point when reading fstabBrint E. Kriebel2016-01-291-6/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | | | | | | | | | | | | | | | | | | | | | | releasetools: Store and use the dt image file through target filesBrint E. Kriebel2016-01-271-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | | | | | | | | | | | | | | | | | | | | | | If a console doesn't exist, read password from stdin.adattatr2016-01-261-5/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When signapk.jar is invoked by scripts like sign_target_files_apks.py, there is no console as signapk is invoked using popen(). To support signing of APKs using software keys with passwords, we need to read the password from stdin if there is no console. Change-Id: Icf69ba1e58bf1f91979eaf1d3b91cb202782e8fd Signed-off-by: adattatr <anisha.dattatraya.kulkarni@intel.com> Signed-off-by: Brad Geltz <brad.geltz@intel.com> Ticket: CYNGNOS-1725
* | | | | | | | | | | | | | | | | | | | | | | | | | Revert "roomservice: check uniqueness by path, not name"Ethan Chen2016-01-251-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit c5ef7f3284bd22f714b178038e42d838b275ade9. Change-Id: I9a3cad3525a0ab8478343a346c68b258e3cbe120