| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* Prevent duplicate 'Made recovery image:' message
when using custom mkbootimg
Change-Id: I178321bcb5661e07833b1b56b5c9e2cf20e421d7
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
In the current code, '!' is added as prefix to the string contained in
$(BOARD_CUSTOM_BOOTIMG_MK). This means that !$(BOARD_CUSTOM_BOOTIMG_MK)
is never an empty string and therefore the condition is always true.
The if function has a third optional argument that is evalueted when the
condition is false, so use it to fix the current code.
Change-Id: If1e459f6c40f655b47a12b77761921c943964e3b
|
| | |
| | |
| | |
| | |
| | |
| | | |
This reverts commit 468ddd95411ca8616d2a11038161e5f776c36d53.
Change-Id: I09e65907ad0f6374b55deaca1fa380b304fb10f6
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Fix the BOARD_CUSTOM_BOOTIMG_MK if and call build of recovery.img
also removed unused variable RECOVERYIMAGE_EXTRA_DEPS until associated
commit is merged
Change-Id: I94f5f26bc01e03d761ccc260342f330a4a06b141
|
| | |
| | |
| | |
| | |
| | |
| | | |
This reverts commit cd021f75199f7e3096bbf0dadfe07d580eda1b24.
Change-Id: I7f5292f451331a30c48873b7c45a94400d706aa8
|
| | |
| | |
| | |
| | | |
Change-Id: I3daf0b6288421c3880c8b3a71c15bafb87ae3df3
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* Fix VBOOT/VERITY desparity introduced in
https://github.com/CyanogenMod/android_build/commit/409f818fccdee9147812b2cb06e703808f55a57a
* Add some colors lost in rebase
* Fix endif comments
Change-Id: Ida979250d3cfeca0c534083c76c08b5d13f08689
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | | |
into caf-merge
Change-Id: I45b40ac1055e35b89cce1c256bb6939dfd3b610d
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
We now use the new API to determine if the update package is compatible
with the device it is currently being applied on or not. We also use the
32 bit updater libraries while compiling the ota package.
Change-Id: I65ce3527087853463e28ad3b067c02c9b3d3f9c9
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Make sure the recovery_patch_install rule is the last one that is run
during the system image creation process. This will ensure the contents
of system/ are finalized when the rule is run.
Change-Id: I941678aad678504ae6def208134ceed21b5a8a86
|
| | |/
| |/|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
We now generate and install install-recovery.sh and recovery-
from-boot.p as a part of the normal make. This is needed in
order for incremental ota updates to work. Without this change
the targetfiles.zip which is used as the source for the incremental
package contains the two files from above but the system image
generated by the same build does not.This causes the update to fail
when we try to apply it
Change-Id: Ibe79eb8f19e89a775f72a330bea1ed5552109f4f
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The boot and recovery images now get built using the same params during ota package
generation as during a normal build.
Change-Id: I93d46e11a4245288f0e87c87a2e4bf45ac5aff69
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
imgdiff expects a ramdisk to use GZIP, which is causing a chunk
size issue if recovery is using LZMA
Change-Id: I3194b4faed25a298fe23b4e24b6dea2885bafda8
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Files may be required inthe target files package for factory flashing
processes. Allow these to be added using PRODUCT_FACTORYIMAGE_FILES.
Change-Id: I74b42daee7b73f762f3c75904c6c278b1e5f5c53
Ticket: RM-112
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
When a factory script is specified for the device, store the location
of the script in the misc_info package for proper use during package
signing.
Change-Id: Icd3ab59ebb68b8b6c92aff8eaf9e44322cdcbc18
Ticket: RM-112
|
| | |
| | |
| | |
| | | |
Change-Id: I817a4c01302956ec846503d9a585c43e690e45bf
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The build system generates several artifacts, among them update zips,
OTAs and update packages for fastboot.
Shipping devices typically need extra-special packages in order to
fulfill factory automation requirements.
This patches adds a "factorypackage" target that can be customized
by devices by providing a script that converts target files into the
desired format. The script path should be set into
TARGET_RELEASETOOL_FACTORY_FROM_TARGET_SCRIPT.
Change-Id: I993f12766c96274f096c5f6c6da5aaa32394abbc
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
In the case of Amazon OMAP4's there is a 2nd-bootloader which is inserted at
a fixed location in both boot.img and recovery.img. If this 2nd-bootloader
is not present, it puts the device in a non-booting state requiring the user
to recover the device using fastboot tools.
Also, due to the extra binary information in the image, imgdiff hangs during
build.
For devices like this, allow bypass of the recovery patch generatation.
NOTE: In previous versions of CM the BOARD_CUSTOM_BOOTIMG_MK flag accomplished
this, but was never forward ported to cm-12.0 and on. Use a new board flag
here for clarity as most custom bootimg makefiles can still process a patch
for recovery.
https://github.com/CyanogenMod/android_build/blob/cm-11.0/core/Makefile#L935
Change-Id: I9284ee227358224e3add9862db5c1fbd0f5bd226
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* To support variants of devices which may come in 16/32/64GB variants.
Change-Id: I74c32d8316f0450a1445fe95a95e5cabb7a9dd1b
(cherry picked from commit aae837f9cbcff739cb660016a6d1abd7ef4663db)
|
| | |
| | |
| | |
| | | |
Change-Id: I2394ffb16fa06421c5f0cc5f5ee77db72d3399ba
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: I436ff8e91e9549fd4b61a2bd2796df9e5b1031dd
Signed-off-by: Brandon McAnsh <brandon.mcansh@gmail.com>
|
| | |
| | |
| | |
| | | |
Change-Id: I31f737969bbd193974aaf06182efcb3d71735064
|
| | |
| | |
| | |
| | | |
Change-Id: I1557389d5ce23bab84fd6471122359592b1f1a28
|
| | |
| | |
| | |
| | | |
Change-Id: Iac7b8d16008dcf4ad1e8d425340df032f8405746
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Bad merge of d22599be55f8a229ea47cd9329da4e3b23245078
introduced compile issues.
Change-Id: Ibeefc4904ae52938612819347852d7c4c5a0e82d
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Modifies "build: ota: Support for install tools in /tmp/install" to
support signing steps being split from build steps.
Package install files into target-files INSTALL path
Read from target-files for OTA package creation
Change-Id: I64f919c2a757b5474f6cc5f82bd6c33c2a8b558a
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This is still needed, per this discussion here:
http://review.cyanogenmod.org/#/c/76919/
This reverts commit 78d216bc157021e111a31a6606622cef4b9d383d.
Change-Id: If494c2c6468185bc0e10cdb92847a9f8429b79c4
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
We don't want to force this since we need to be able to
re-sign boot images with proper keys, which requires rebuilding
of the images.
This also has an error in it from merging (dropped _MK).
This reverts commit 22913dea82299eac7e1a5e754102b89af4796a0d.
Change-Id: Id1353e9883c3f24bbc10e685f43bede779430025
|
| | |
| | |
| | |
| | | |
Change-Id: I4e294c05eacc8bef8273247bcf1bf382291a3d31
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
We now use the new API to determine if the update package is compatible
with the device it is currently being applied on or not. We also use the
32 bit updater libraries while compiling the ota package
Change-Id: I4d1d2bd90e03e6f4b2f786d25c6d02f62243c3f3
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
BSD cp command is different from GNU cp command. GNU ignores the slashes
at the end, while the slash alters the behavior of the BSD version.
Change-Id: I8e2e8d98df6819d9c3451b0d96e3269131a4fb4e
Signed-off-by: Roman Birg <roman@cyngn.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Prevent accidental build of test configurations. Hopping back and
forth between states (especially disabled) leaves a mess in the
filesystems, and we want to try to ensure published builds go out
enforcing.
Change-Id: I2206975968de421dec842f49b02490fa85ca9f3b
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Change the prototype of LoadRecoveryFstab to take in the device type
as a argument. Fix the case where mkbootimg was being passed a incorrect
argument.
Change-Id: Ic6ac596d8d96d3a5effbdf513763ec1cb92b1a03
|
| | |
| | |
| | |
| | | |
Change-Id: I891660c1bf919b369afd4ff496fb6bab85dffe3f
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
After I5dccba2172dade3dacc55d832a2042fce306b5f5 it was possible that
if override_prop was set and override_device was not set the script
was looking for a prop that did not exist.
Change-Id: I444a33de5bcb59f129bdcf631c2a6540c5926545
|
| | |
| | |
| | |
| | | |
Change-Id: I6339ac77b899a43db21261d587252b65cb58ad79
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
When a pre-built image should be used, it should be stored in the
target files zip so that it can be used with external signing
processes.
Original-Change-Id: I2661af9ac58af30bb9314b552775046d3abf44e0
Change-Id: I10b3bd0bb33489b8ffb26d16d002f8dd6ff405ad
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Conflicts:
core/Makefile
tools/releasetools/common.py
Change-Id: I18996bb1f5377bbf369fb41774aaa1f5821e7d1f
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This modifies buildinfo.sh to not set model, name, description, and
fingerprint in build.prop. These can then be set via custom init
lib.
This also fixes ota_from_target_files to function without these
props being preset.
Change-Id: I945b2c38e60b207d2d0f82b34f4f230ac21b0657
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
(cdesai): Also add the relevant parts from koush's
commit 7fd5a89df5ec3961c9aedfd2afad50d6d2561056
"Add initial support for charge mode. also support recovery/root in the device tree to easily copy props into recovery images."
Change-Id: I25205e68282680932917016646dabd1abadbfce6
|
| | |
| | |
| | |
| | |
| | |
| | | |
* No devices should be using that anymore
Change-Id: I752cf5297d35a842a923a8008fbec53e8fae97e0
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: I6027868864ec2696f20705faf4c68c684e7ef459
Signed-off-by: Chirayu Desai <chirayudesai1@gmail.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Simplified version of the previous implementation. Recovery's ramdisk
is spun off from the main recovery target again to allow overriding
just the image-generation step
Change-Id: Ie49620e5e438222d2b80efeefcde4d136e346b90
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
If the jenkins build number is available, list it as build_number in
the misc_info.txt file.
Change-Id: I6500c6b53661f2904dff738d25d8a8d24a7dca80
|
| | |
| | |
| | |
| | | |
Change-Id: I11dea464297813be36e60c23728dde8893535c46
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This can be directly grepped in pre-existing package.xml tables
to make sure we're not trying to update to a differently signed
build
Change-Id: I7528a8e7c484ea9209cd665b9263328ae834586a
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This is needed so it can be read in when re-signing a package to
allow for the proper device asserts.
Change-Id: I8f3bb491bbbaa4d2b827a45ef83f12c6c83e6712
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Some projects require system properties to be set to a specific
value (for example, a shared library needing a property pointing
to its own path) in order to work correctly, but some device
configurations are mistakenly setting those properties with the
wrong value (usually inherited from the original OEM build).
"PRODUCT_PROPERTY_UBER_OVERRIDES += property=value" can (and
should) be used in that project's makefile to ensure the value
is the correct one. This variable is intended for software projects,
and should never be used in product makefiles (BoardConfig, cm.mk,
AndroidProduct)
Change-Id: I1986e7c444e51cce8b198e43fdc793fad16d6276
|
| | |
| | |
| | |
| | |
| | |
| | | |
Companion change to Ic5913e587400dd38c04aa05de3a7becced77a59e
Change-Id: If5edbf56d567701f96f0ba46af9a90ffa8310c24
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* CM's build system assumes some convention-over-configuration which
we might need to override in order to conform to vendor requirements.
* Allow overriding of target and product names using these new
variables. This allows for CM conventions to work, while generating
the correct fingerprint dynamically without post processing the
strings.
Change-Id: Ic5913e587400dd38c04aa05de3a7becced77a59e
|