| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
It can exceed its maximum length for devices with longer codenames
(e.g. espressowifi). PRODUCT_BRAND is set to "Android" which doesn't
say much and TARGET_VENDOR_DEVICE_NAME should always have the same
codename that is already set in the build target
TARGET_VENDOR_PRODUCT_NAME, so no information is lost.
Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
|
|
|
|
| |
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
|
|
|
|
| |
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
|
|\
| |
| |
| | |
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
|
|\ \
| |/
| |
| |
| |
| | |
replicant-6.0
Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
|
| |
| |
| |
| | |
Change-Id: I1657ae2ca79214eab70e8976f6f59e6b5433afcd
|
| |
| |
| |
| |
| |
| |
| | |
If TARGET_OTA_ASSERT_DEVICE is not set, TARGET_DEVICE should be
used for OTA_SCRIPT_OVERRIDE_DEVICE.
Change-Id: If382dfa29dddb39498dec5f5eadc9895b7c47d88
|
| |
| |
| |
| | |
Change-Id: I4f31352139b2f38570f0370afff3901999082e48
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| | |
Change-Id: I8b44007ebbe395df3c989be37a5d45339f111130
|
| |
| |
| |
| | |
Change-Id: Ie03583dc2a974a159fa50c6cb19cb68aa256ca77
|
| |
| |
| |
| |
| |
| | |
Port of commit f6fe3cf5 from Replicant 4.2
Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
|
|\ \
| |/
| |
| | |
replicant-6.0
|
| |
| |
| |
| |
| | |
Change-Id: Id17ef7de8b0146dd6e4b2cc3cc5b88453da38f6c
Ticket: FEIJ-62
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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)
|
| |
| |
| |
| |
| |
| |
| | |
* Products supporting BOOT_SIGNER should depend on BOOTIMAGE_EXTRA_DEPS
as well, since that dt.img generation is tied to that rule.
Change-Id: I7c3040d0c59c66aaac46121d6ca50ab96bdf7e72
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|\ \
| |/
| |
| |
| |
| | |
replicant-6.0
Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
RECOVERY_PATCH_INSTALL has a dependency on RECOVERY_FROM_BOOT_PATCH.
This is correct, because RECOVERY_PATCH_INSTALL uses make_recovery_patch
which needs the imgdiff tool. imgdiff on the other hand is a dependency
of RECOVERY_FROM_BOOT_PATCH. This should ensure that all dependencies
are met.
However, RECOVERY_FROM_BOOT_PATCH is defined after
RECOVERY_PATCH_INSTALL, making the dependency effectively non-existant.
Moving RECOVERY_FROM_BOOT_PATCH before RECOVERY_PATCH_INSTALL fixes a
race-condition where sometimes imgdiff was not build before
RECOVERY_PATCH_INSTALL is called.
Upstream is not affected by this bug, since it does not contain
RECOVERY_PATCH_INSTALL anymore.
The following error can be observed whenever someone hits this race
condition (which is basically always reproducible when building with
-j1):
Installing recovery patch to system partition
Warning: could not find SYSTEM/build.prop in <built-in function zip>
using prebuilt recovery.img from BOOTABLE_IMAGES...
using prebuilt boot.img from BOOTABLE_IMAGES...
Traceback (most recent call last):
File "./build/tools/releasetools/make_recovery_patch", line 55, in <module>
main(sys.argv[1:])
File "./build/tools/releasetools/make_recovery_patch", line 51, in main
common.MakeRecoveryPatch(input_dir, output_sink, recovery_img, boot_img)
File "build/tools/releasetools/common.py", line 1461, in MakeRecoveryPatch
_, _, patch = d.ComputePatch()
File "build/tools/releasetools/common.py", line 1146, in ComputePatch
p = Run(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
File "build/tools/releasetools/common.py", line 100, in Run
return subprocess.Popen(args, **kwargs)
File "/usr/lib/python2.7/subprocess.py", line 710, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1335, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
build/core/Makefile:1047: recipe for target
'out/target/product/t00n/system/bin/install-recovery.sh' failed
Fixes: 3d1c612e5c82 ("Revert "Revert "core: Makefile: Build
install-recovery into the system image""")
Change-Id: I28e8c845ffc830553ca5177cbe22ae72b185b437
|
| |
| |
| |
| |
| | |
TICKET: CYNGNOS-1950
Change-Id: If13ff02b913d5586df163ff3aee254dd4cfb4e24
|
| |
| |
| |
| |
| |
| | |
This reverts commit 5a61a0dc099a3577bf96853191a1f1385d366b81.
Change-Id: I714846b14122fd2f6f068ec0dd41ffb5b4b42bc0
|
| |
| |
| |
| |
| | |
TICKET: CYNGNOS-1950
Change-Id: I68960725980f6cc3c8d38cfd46d7d18161b1c7a9
|
|\ \
| |/
| |
| |
| |
| | |
replicant-6.0
Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This should significantly reduce the number of quail stars given out.
This only applies when building the system image. Packages may still
be built and tested individually without any impact.
If you like to live dangerously, set I_WANT_A_QUAIL_STAR in your
environment.
Change-Id: I3da6646f022f2e967ebe2c3dd9ed616fab7991fe
|
| |
| |
| |
| | |
Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
|
|\ \
| |/
| |
| |
| |
| | |
replicant-6.0
Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| |
| |
| |
| |
| | |
qemu kernel repo
it shouldn't matter from which kernel repo the licence text is taken
Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
|
| |
| |
| |
| | |
Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
|
| |
| |
| |
| |
| | |
Change-Id: I3b4debf8f58f9dbc3b22aedb4df1402e04394227
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
|
|/
|
|
| |
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
|
|
|
|
| |
Change-Id: I69795e76e07ea32032d38240fdfbe2c74017e532
|
|
|
|
|
|
|
|
|
| |
If set, RECOVERY_EXTRA_RESOURCE_DIR will override default resources.
Device specific private directories in TARGET_DEVICE_DIR and
TARGET_RECOVERY_DEVICE_DIRS will continue to override both of these.
Change-Id: I9e5a2210ffe53483173056f3dc4b17fe669509e7
|
|
|
|
|
|
|
|
|
| |
This reverts commit 3f39d419f474bfbc2286b23e092709fcd44f076b.
Since this is causing problems it should be reverted. I only wrote it to get Encore booting. It will probably never become official and need this commit. We can just keep cherry-picking it for personal builds.
If other devices need it because of similarly weird boot methods it can be kept but Fugu is a lot more important than Encore.
Change-Id: I123d33c1559fb8b271a849e978c6d5666628884e
|
|
|
|
| |
Change-Id: I2cf5ea0dff5449f946d1badcc9363fa75f988555
|
|
|
|
|
|
|
|
|
|
|
| |
While block-based is great when building on a local machine, it kills rsync
performance when syncing rebuilds from remote machines. Provide an option
to disable it for those whose network bandwidth is less than their device's
emmc bandwidth.
Usage: export BLOCK_BASED_OTA=false
Change-Id: I1dfaa5478a87dad286014dbe57cd5a03da4d1980
|
|
|
|
|
|
|
|
|
| |
We don't need to build a vendor image in CM, just create the symlink
for Nexus devices that use a vendor partition
To use add BOARD_NEEDS_VENDORIMAGE_SYMLINK := true to BoardConfig.mk
Change-Id: Id39ee89007af39346f0887796ed3cbad81765c46
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Android 6.0.0 release 26
Conflicts:
core/Makefile
core/build_id.mk
tools/releasetools/ota_from_target_files.py
Change-Id: Ia1404ee9cd931a6540ea0dd3e2aa7b32d649e80c
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This reverts commit d07bfc519673fdba66448f0a81ef869b922c3804.
Real fixes [1][2][3] are ready to merge. Time to revert the workaround.
[1] commit d47d8e14880132c42a75f41c8041851797c75e35
[2] commit 1fc67631eedbfba07e005d85aadae6e1b91d8d93
[3] commit 937847ae493d36b9741f6387a2357d5cdceda3d9
Bug: 22430577
Change-Id: Icd6623e8717c93ad1f12cd1ba43db5e006e928ad
|
| |\
| | |
| | |
| | |
| | |
| | |
| | | |
Settings" into mnc-dev
* commit '25abc5a38e2e7f2962463aa4e5cd407ecdde689c':
Fix issie #23116383: Include security patch level in Settings
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Currently, the keyblock was being generated using
data_key.vbprivk. However, we need to use kernel_subkey.vbprivk for
kernel keyblock generation. This did not create any issues until now
because dev-mode just throws a message saying that keyblock is
invalid. But, normal-mode does not boot if keyblock is
invalid. Add extra parameter for passing in kernel subkey to
vboot_signer script.
TEST="make bootimage-nodeps" generates correctly signed
boot.img. Verified that the image boots fine in normal mode.
Change-Id: I0fc2183b466e34ddf1d98c9532072548504fcec4
Signed-off-by: Furquan Shaikh <furquan@google.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
angler and bullhead have smaller cache partiton (~100MB) and hit issue
with incremental OTA (such as MDA09B to MDA12) that requires more stash
space with BBOTA v3. Temporarily use v2 as a workaround, until we come
up with a real fix. Note that BBOTA v2 still uses some stash space, but
should be much smaller than v3.
Bug: 22430577
Change-Id: Ic4c05f3609732e7d5140703062da9fe11df5c6d3
|
| | |
| | |
| | |
| | |
| | |
| | | |
OS X does not support the --remove-destination argument.
Change-Id: I6856963048d8f05130e42d10d260cba49dd0f001
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Add support for optional device tree image (dt.img)
to boot and recovery images. Some devices use kernel device
tree and this adds the device tree image as a section within
the boot/recovery images.
Change-Id: I91431ef2f4b86485895678916e39a8572be878eb
Build: add DT image variable to Makefile
DT image variable is currently present in
generate_extra_images.mk.This file is moved to
build/tasks to support persist image generation
during parallel make. As build/tasks is called
at the end of Makefile, DT image variable is not
available for other images generation like boot and
recovery. Adding this variable in Makefile ensures
the variable is defined before usage
Change-Id: I21f675d8ce648dc1cf1f4f3aede33278300e08c9
CRs-fixed: 548299
Fix the extra dt.img compilation issue.
Add support for optional device tree image (dt.img)
for device that doesnt have TARGET_BOOTIMAGE_USE_EXT2
Change-Id: I6e07b3ca6d049a8ebdad7ea304b4f39e7c846151
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* Can be enabled on devices that need it with TARGET_USERIMAGES_USE_YAFFS
This reverts commit 65d4186f85ddd8c3f6d0c521f31911cceee573c1.
Change-Id: I891f2e6a963178ffec92fedb25e7e28c60a768d1
|
| | |
| | |
| | |
| | | |
Change-Id: I33164a44a40ef3b925c728d89d7d72aae3da2060
|
| | |
| | |
| | |
| | | |
Change-Id: I50c780203f7ecdd3008ac07146b7c9db91f9a443
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* Add f2fs dependencies regardless of whether we're building ext4
images or not.
Change-Id: I886c52edaf56eb96fb931384440f33b00aa5c9ec
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The foreach loops output a space separated list, not necessarily one
command per line. Separate commands with semicolons. Notably, this
fixes an issue with multiple device directories included in
TARGET_RECOVERY_DEVICE_DIRS.
Change-Id: I5ebdc84ecaaacabaea77b8b752141e2041622480
|