- 15 Jul, 2015 1 commit
-
-
Tao Bao authored
Change-Id: I7246c59c79ccf6a7589c884391d0f690746fc129
-
- 10 Jul, 2015 1 commit
-
-
Tao Bao authored
file_contexts (specified by SELINUX_FC) is needed both when building and (re)packaging. We used to use the copy in out/ when building, and looked for the copy in BOOT/RAMDISK/ when packaging from target_files zip. With system_root_image enabled, the file_contexts needed for building and packaging might be different from the one on device. So we explicitly pack the file as META/file_contexts in target_files zip. Also refactor out the overriding of selinux_fc property into common.LoadInfoDict(). Change-Id: I94f9ea6671b3792c12c1c21573840743d63da39a (cherry picked from commit aa7318c3)
-
- 30 Jun, 2015 1 commit
-
-
Tao Bao authored
Due to the change in https://lwn.net/Articles/546473/, kernel reserves a few extra blocks (lesser of 2% and 4096 blocks) on ext4 FS which leads to OTA update failures. Adjust the size computation if the device has BOARD_HAS_EXT4_RESERVED_BLOCKS := true. It amends the last attemp in [1]. Now it computes the used blocks from the make_ext4fs output, instead of altering its argument. [1]: commit efbb5d2e. Bug: 21522719 Bug: 22023465 Bug: 22174684 Change-Id: Iaae6507f6de68a5892f2e3035d330039287b4492 (cherry picked from commit c7a6f1e4)
-
- 25 Jun, 2015 1 commit
-
-
Ying Wang authored
Bug: 21785137 Change-Id: Ie0c36988759fe07419ad29bab5a71cdd0d992d2a
-
- 24 Jun, 2015 1 commit
-
-
Mohamad Ayyash authored
Change-Id: Ide660cf3cf69c74bbd15d0ac6642b60d58f076fa Signed-off-by:
Mohamad Ayyash <mkayyash@google.com>
-
- 23 Jun, 2015 1 commit
-
-
Ying Wang authored
Also we can't build the ota package without these static executables. Bug: 21785137 Change-Id: I11b35abebced4b0608378a072ece2ab2dbadeffb
-
- 05 Jun, 2015 1 commit
-
-
Claes Elgemark authored
Preserve path as it is referenced by build_image.py. Change-Id: Id6833d243b5a15b4ee5e0013340aeb2cd35f3578
-
- 04 Jun, 2015 1 commit
-
-
Claes Elgemark authored
Add missing libraries used by e2fsck and build_verity_tree. Change-Id: I8bf0341300863ef0090b395b2aba0b7a952f6b58
-
- 03 Jun, 2015 2 commits
-
-
Claes Elgemark authored
Used by verity_signer Change-Id: I6e2b654144b40573c3f3c0dc0d1c943889ffcd7d
-
Claes Elgemark authored
Strip path to be able to use outside a build e.g. when resigning using the dist tools zip. Change-Id: I492dcfd5791b66c17ae2e751cc8f67127e97b800
-
- 14 Apr, 2015 1 commit
-
-
Mark Salyzyn authored
Bug: 19908228 Change-Id: I48450a9fb917408cb3bc0e41d70c0593acd2b884
-
- 08 Apr, 2015 3 commits
-
-
Ying Wang authored
Change-Id: I0e73c3c1bf94540419e1fd227a3096da148e2459
-
Tao Bao authored
shamu has a 560dpi density, which is between xxhdpi and xxxhdpi. It deserves the large font (18x32), otherwise it falls back to use the small one and makes it mostly unreadable under recovery mode. Amend the list to include 560dpi and 400dpi that are higher than xhdpi. Ideally we should map string formats back to numbers for easy comparison (and to handle any high but odd density values). Change-Id: Ie08d9ce5e1c8850ff30a79bcbfd1b89e971b7e07
-
Ying Wang authored
With this, you can easily add more executables, jars or shared libraries to the package. Also now it automatically takes care of 32-bit-v.s.-64-bit library issue. Change-Id: I5afe00fadc978d0da229b192eca1a4b1c149764e
-
- 02 Apr, 2015 2 commits
-
-
Ying Wang authored
Change-Id: Ic934ed8610a4f03fbfb3d06dff4d911734a9d818
-
Claes Elgemark authored
Change-Id: I32723701d952ef2243ce0234132fa9876f0f21b6
-
- 01 Apr, 2015 1 commit
-
-
Tao Bao authored
Add vboot properties to the dictionary file, which will be packed into the target_files zip. Add support in packaging and OTA scripts to sign the generated bootable images (boot.img and recovery.img) when vboot is enabled. Change-Id: I08758ced03d173219415bca762bbdb66c464a9f5 (cherry picked from commit 5d5a3bd9e8d8b14b71d1b2105417a2958d13d3d2)
-
- 26 Mar, 2015 1 commit
-
-
Ying Wang authored
Added support to build system.img that combines contents of /system and the ramdisk, and can be mounted at the root of the file system. To enable this feature, define BoardConfig.mk variable: BOARD_BUILD_SYSTEM_ROOT_IMAGE := true Ideally we would just change TARGET_OUT (the path of the staging system directory) to under TARGET_ROOT_OUT. But at this point many places in the build system assume TARGET_OUT is independent of TARGET_ROOT_OUT and we can't make it easily configurable. Instead this implementation takes the least intrusive approach: We don't change TARGET_OUT or TARGET_ROOT_OUT. We just assemble a temporary staging directory that contains contents of both TARGET_OUT and TARGET_ROOT_OUT, in build_image.BuildImage() of tools/releasetools/build_image.py. When build_image.py is directly called from the makefile, we pass in the parameters from the global dictionary; when build_image.BuildImage() is called from add_img_to_target_files.py, we need to override values to point to files extracted from the target_files zip file. We need to combine the fs_config files of both /system and ramdisk, when fs_config is enabled. Also this change refactored build_image.BuildImage() by moving the extra parameters to the image property dictionary. (cherry-picked from commit 0eabd4f2) Bug:19868522 Change-Id: Iafc467a0e3427b0d6ad3b575abcc98ddcc9ea0f1
-
- 25 Mar, 2015 1 commit
-
-
Per Astrand authored
The change follows the patten found in "Package OTA" and other places to allow for overriding the mkbootimg command. Now pass MKBOOTIMG variable to get make_recovery_patch and add_image_to_target to use the tool set in BOARD_CUSTOM_MKBOOTIMG for boot/recovery image generation. Change-Id: I78533c25e87c2750eb24ac1bf39e4b7ca321a441
-
- 13 Mar, 2015 4 commits
-
-
Ying Wang authored
Some releasetools python sripts rely on $PATH to search for the executables. With this change, you don't need to run lunch even after you change the build system variable OUT_DIR. Bug: 19320328 Change-Id: Ia44b11084fb1bdcceb60b1d33cb7e460c9b705a8 (cherry picked from commit 9d252e10)
-
Doug Zongker authored
Change-Id: I2f28936edda5d8d9bff6213828c16d607263cd95 (cherry picked from commit ce43bc8d)
-
Jesse Zhao authored
Change-Id: I6b7d16eca18dce3e2990464f3d1a34740ad8a8ee (cherry picked from commit f7daa92c)
-
Doug Zongker authored
Add a target to zip up all the otatools and releasetools, for easy copying to the OTA builder machine. Change-Id: If14b4afefcc1a20ea19dfca3f3b9f9fae73189a6 (cherry picked from commit f22b0f43)
-
- 11 Mar, 2015 3 commits
-
-
Ying Wang authored
"cp -Rf" fails on Mac OS when some broken symlinks exist in the dest dir. Also switch to better shell error handling when copying init.recovery.*.rc. Change-Id: Idd05f7604736b234619f62be12dd108fac91fed1
-
Ying Wang authored
Previously the recovery binary was configured to be installed to the system.img and then got copied to recovery.img in the recovery.img's build rule. With this change, a module, such as the recovery binary, can configure itself to be installed directly to the recovery.img, just like how other modules get installed to system.img. Bug: 19667686 Change-Id: I46b0b4a95cf078a68999db9c0f6635d6a3f5cd86
-
Sami Tolvanen authored
Add source and target block hashes as parameters to transfer list commands that copy or patch data to a partition. This allows the updater to verify the status of each command in the transfer list and makes resuming block based OTAs possible. Due to the changes, update the transfer list version to 3. Needs matching changes from I1e752464134aeb2d396946348e6041acabe13942 Bug: 18262110 Change-Id: Ia5c56379f570047f10f0aa7373a1025439495c98 (cherry picked from commit cac671a9)
-
- 04 Mar, 2015 1 commit
-
-
Mohamad Ayyash authored
Change-Id: Ic51d11274784a8d2e9d57d5f0b821ebc89680e5a Signed-off-by:
Mohamad Ayyash <mkayyash@google.com>
-
- 26 Feb, 2015 1 commit
-
-
Ying Wang authored
Previously if user has a directory with name dummy in the root of the source tree, "zip -qd package.apk dummy" fails with: "zip error: Nothing to do!". This change mitigates the error. Change-Id: I642e3bf0378e5b9911a068ecb72f795b3e92f1fe
-
- 11 Feb, 2015 1 commit
-
-
JP Abgrall authored
We don't use EXT2 for bootimage anymore. This will allow getting rid of external/genext2fs Bug: 19282953 Change-Id: Ie56528c7877036d2501a09888a4420637f9cd647
-
- 09 Feb, 2015 1 commit
-
-
Andres Morales authored
Allows runtime checking of expected baseband/bootloader. Change-Id: Iccb053fee5f72f4e082a5c3482c0710b13ee7eb8
-
- 05 Feb, 2015 2 commits
-
-
Andres Morales authored
When incremental builds only affect the system partition, the build.prop file for other partitions might go out of date. Add a dependency on system/build.prop s.t. when it's rebuilt, the fingerprints are updated on the other partition's build.prop's. Bug:19058575 Change-Id: Iea7b761e0800c402eb4ce1154e8f6af5a17f7b06
-
Elliott Hughes authored
Change-Id: I1d112515bc92353a5b48ec668e1cadfb51ecdaad
-
- 30 Jan, 2015 1 commit
-
-
Ying Wang authored
Change-Id: Ie7d11ae8f40260bf23481931c18523895c87ebd7
-
- 27 Jan, 2015 1 commit
-
-
Ying Wang authored
Allow to run "make winsdk-tools" without building the full win_sdk. Bug: 19149444 Change-Id: If98495035f4f84dbcab7af2a74434e589bbfd4d1
-
- 16 Jan, 2015 1 commit
-
-
Narayan Kamath authored
This is a BCP-47 language tag representing the default locale for a given device. Support for the earlier mechanism of supplying a language and region via ro.product.locale.region/language has been removed. This change also removes support for supplying these properties via PRODUCT_ADDITIONAL_PROPERTY_OVERRIDES. Devices that need to override this should either rearrange their PRODUCT_LANGUAGES or supply a custom .prop file. bug: 17691569 Change-Id: I00c74098542b49b9c514a6ca39ea8d08179546c1
-
- 14 Jan, 2015 1 commit
-
-
Andres Morales authored
will be used for verifying installed bootimage Change-Id: Iaf80823545980fb2e464a558e918715cc1b82e11
-
- 04 Dec, 2014 1 commit
-
-
Ying Wang authored
ro.build.flavor is set to "$(TARGET_PRODUCT)-$(TARGET_BUILD_VARIANT)" in system.img build.prop at build time, and it won't be overridden by oem partition's build.prop. Bug: 18605832 Change-Id: Ic917623dd43b74d9c601119db0b457483e8c4472
-
- 03 Dec, 2014 1 commit
-
-
Adam Lesinski authored
Change-Id: I98594165515c07fa2e6b847266f7d8fa3283b52e
-
- 19 Nov, 2014 2 commits
-
-
Ying Wang authored
A device can set up BOARD_SYSTEMIMAGE_JOURNAL_SIZE (number of journal blocks) in its BoardConfig.mk. To disable journaling, set "BOARD_SYSTEMIMAGE_JOURNAL_SIZE := 0". BOARD_VENDORIMAGE_JOURNAL_SIZE and BOARD_OEMIMAGE_JOURNAL_SIZE work in similar way. Bug: 18430740 (cherry picked from commit f3b86357) Change-Id: Icc6c7e1b3be25b8e21b6a737492d944428e4a35a
-
Ying Wang authored
A device can set up BOARD_SYSTEMIMAGE_JOURNAL_SIZE (number of journal blocks) in its BoardConfig.mk. To disable journaling, set "BOARD_SYSTEMIMAGE_JOURNAL_SIZE := 0". BOARD_VENDORIMAGE_JOURNAL_SIZE and BOARD_OEMIMAGE_JOURNAL_SIZE work in similar way. Bug: 18430740 Change-Id: I0594814fe19ffc54dff41ec2464e2e3a802b9419
-