Tao Bao
c7a6f1e4f8
Retry adjusting the size computation for reserved blocks.
...
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 efbb5d2e69
.
Bug: 21522719
Bug: 22023465
Bug: 22174684
Change-Id: I9783a51abe6581ff5c75db81e78ac606d0f32c4c
2015-06-29 20:45:53 -07:00
Tao Bao
2384d01c1c
Revert "Adjust the size computation for reserved blocks"
...
We should not change the parameter to mkfs_ext4. Bug filed at
b/22174684. Will come up with a new CL.
This reverts commit efbb5d2e69
.
Change-Id: I15f7a9a07a65a936ba186d2ce672ec4832ed3e17
2015-06-29 12:55:38 -07:00
Mohamad Ayyash
07a7590f08
Merge "build_image.py: Make sparse squashfs images" into mnc-dev
2015-06-24 23:15:56 +00:00
Simon Wilson
6d5ddc32ab
resolved conflicts for merge of ecfc97f7
to mnc-dev
...
Change-Id: Ic7661c4176dc87cb2796f9cbb61bdd64f89cdc01
2015-06-24 16:06:34 -07:00
Simon Wilson
ecfc97f772
resolved conflicts for merge of f86e7eea
to lmp-mr1-ub-dev
...
Change-Id: I746021aa57edd5f6fae6e57cec0908951a659664
2015-06-24 15:42:27 -07:00
Mohamad Ayyash
9ca7fa8993
resolved conflicts for merge of 1b748051
to lmp-mr1-ub-dev
2015-06-24 15:04:38 -07:00
Mohamad Ayyash
fa6c8a9b79
build_image.py: Make sparse squashfs images
...
Change-Id: Iea0399868a9406f9929d8176d61d5698a2043697
Signed-off-by: Mohamad Ayyash <mkayyash@google.com>
2015-06-24 10:44:52 -07:00
Tao Bao
7102f57781
Merge "Adjust the size computation for reserved blocks" into mnc-dev
2015-06-24 00:53:17 +00:00
Tao Bao
2b4ff174ff
Fix the error in sparse_img.py
...
Bug: 22046423
Change-Id: I9c257002c405277557974fadfe27942c38c3cd04
2015-06-23 17:36:10 -07:00
Tao Bao
efbb5d2e69
Adjust the size computation for reserved blocks
...
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.
Bug: 21522719
Bug: 22023465
Change-Id: I49f16adbf2dedc5279fbb8622bf99ef71dcc494f
2015-06-23 14:53:28 -07:00
Tao Bao
bebd3cfbf9
Use fstab in the source build
...
When generating incremental OTAs, we should use the fstab in the source
build instead of the target one. Similarly for recovery_mount_options.
Bug: 22011892
Change-Id: Idb5c72d1a792e8bb40376a380e3dc06136b13652
2015-06-22 19:27:59 -07:00
Simon Wilson
f86e7eeabc
Add compressor options for squashfs system images
...
Change-Id: I2a75f8754273f6e00b96ba6aca6741c4388f5da8
2015-06-22 15:42:52 -07:00
David Friedman
275ed9c5ab
am 552de126: am 42c75239: Merge "Docs: Fixing disappearance of the left-navs in NDK minisite." into mnc-preview-docs
...
* commit '552de126e9b05b1c34db1c66a62615fc2ea3cee1':
Docs: Fixing disappearance of the left-navs in NDK minisite.
2015-06-17 22:12:06 +00:00
David Friedman
552de126e9
am 42c75239: Merge "Docs: Fixing disappearance of the left-navs in NDK minisite." into mnc-preview-docs
...
* commit '42c752392ceea6854c423339eedede6f4fdf6696':
Docs: Fixing disappearance of the left-navs in NDK minisite.
2015-06-17 21:57:47 +00:00
David Friedman
42c752392c
Merge "Docs: Fixing disappearance of the left-navs in NDK minisite." into mnc-preview-docs
2015-06-17 21:51:07 +00:00
David Friedman
c997cf910b
Docs: Fixing disappearance of the left-navs in NDK minisite.
...
When the filepath changed from html-ndk/ndk/ to html/ndk, the build
system could no longer find the _toc files. This change fixes that issue.
Change-Id: I51f19159e6636fb90ed04013b11d7f95fb4e04c3
2015-06-17 14:36:05 -07:00
Mohamad Ayyash
1b748051dd
common.py: Add support for squashfs
...
Change-Id: Ia40f8c6307d0213d43207aee91c4c8a5b5ad6f1e
Signed-off-by: Mohamad Ayyash <mkayyash@google.com>
2015-06-16 13:18:44 -07:00
Mohamad Ayyash
cade49ddee
Allow flashing a squashfs system image
...
Change-Id: Ic51d11274784a8d2e9d57d5f0b821ebc89680e5a
Signed-off-by: Mohamad Ayyash <mkayyash@google.com>
2015-06-16 13:11:21 -07:00
Tao Bao
548eb76c8f
Support SELinux context label when mounting
...
If there is a SELinux context label in the recovery.fstab, we should
honor that when mounting the partition.
Bug: 19764039
Change-Id: I4df71a092b418cd340a18b2e3b0936de33d8e3f5
2015-06-10 15:35:34 -07:00
Baligh Uddin
601ddeae06
Allow custom boot_signer and verity_signer.
...
Bug: 21701163
Change-Id: I85e75fd3a166a9f6a7859ebf81dee73322dc2798
2015-06-09 15:48:14 -07:00
Luan Nguyen
18985e7661
am 30b16ac6: am 95a1818f: Merge "docs: Add styles for embedded videos to match DevSite" into mnc-preview-docs
...
* commit '30b16ac6a4d4658d927d48476081de7542b5989f':
docs: Add styles for embedded videos to match DevSite
2015-06-05 02:27:29 +00:00
Tao Bao
726b7f338f
Fix the broken signing script
...
check_target_files_signatures.py was accidentally broken due to the
renaming of a variable in last commit. It escaped the checking from
pylint because it was a keyword ('all').
Bug: 21611858
Change-Id: I58c983e59c4a3e0018481d3c9ba328ed76f5c08a
2015-06-03 17:36:12 -07:00
Luan Nguyen
30b16ac6a4
am 95a1818f: Merge "docs: Add styles for embedded videos to match DevSite" into mnc-preview-docs
...
* commit '95a1818f50c685f903635ae84076199015cc9c78':
docs: Add styles for embedded videos to match DevSite
2015-06-03 18:25:23 +00:00
Luan Nguyen
95a1818f50
Merge "docs: Add styles for embedded videos to match DevSite" into mnc-preview-docs
2015-06-03 18:13:17 +00:00
Luan Nguyen
94c1826a72
docs: Add styles for embedded videos to match DevSite
...
Change-Id: I68cc9a7340db43fd23d7072bf867d53a2e180c4c
2015-06-03 09:56:54 -07:00
Tao Bao
5fcaaeffc3
Add post-install verification for BBOTAs
...
Similar to the assertations in file-based OTA, we perform verification
for block-based OTAs (BBOTAs) after updating a partition, for both of
the incremental and full OTAs. It increases the update time (~20s on
Nexus 6), but will capture unnoticed errors right away.
Bug: 21500869
Change-Id: I0f8b27734caaa0f41f9c1b904d55af2112784a68
(cherry picked from commit 68658c0f4f
)
2015-06-02 11:15:33 -07:00
Dirk Dougherty
bdbf074186
am f89524c8: am 6c231420: Merge "increment metadata versions." into mnc-preview-docs
...
* commit 'f89524c80bb2fa6550fff1ff3bed6a257a80f64a':
increment metadata versions.
2015-05-28 21:36:26 +00:00
Dirk Dougherty
f89524c80b
am 6c231420: Merge "increment metadata versions." into mnc-preview-docs
...
* commit '6c2314206fd4500500062fa2f774d4deb498ec58':
increment metadata versions.
2015-05-28 21:24:53 +00:00
Dirk Dougherty
6c2314206f
Merge "increment metadata versions." into mnc-preview-docs
2015-05-28 21:07:43 +00:00
Dirk Dougherty
81e39c3e9d
increment metadata versions.
...
Change-Id: I6e620f7ec2059ed864ebaad68585c4f97e2caf46
2015-05-28 14:06:12 -07:00
Dirk Dougherty
b9c103680e
am fa370efd: am 11d3d486: Increment css versions for appengine\'s benefit.
...
* commit 'fa370efd837324524ff4f49202fe8f99a9ff52f6':
Increment css versions for appengine's benefit.
2015-05-28 20:24:07 +00:00
Dirk Dougherty
fa370efd83
am 11d3d486: Increment css versions for appengine\'s benefit.
...
* commit '11d3d4864d1efc588b2291ac5087ff94ba34b2a1':
Increment css versions for appengine's benefit.
2015-05-28 20:08:34 +00:00
Dirk Dougherty
11d3d4864d
Increment css versions for appengine's benefit.
...
Change-Id: I2fd9bff3a537904cc47273c0eedcc33ea301a4a0
2015-05-28 12:50:24 -07:00
Dirk Dougherty
d1f1588988
am ab6b54b8: am 3d05504e: Merge "Add download button disabled state to sdk css." into mnc-preview-docs
...
* commit 'ab6b54b874c38e4ca5b97392f7f21d3494c72140':
Add download button disabled state to sdk css.
2015-05-28 07:38:07 +00:00
Dirk Dougherty
ab6b54b874
am 3d05504e: Merge "Add download button disabled state to sdk css." into mnc-preview-docs
...
* commit '3d05504e2d4091854c2ec1af06de8c54429ca1fc':
Add download button disabled state to sdk css.
2015-05-28 07:21:44 +00:00
Dirk Dougherty
3d05504e2d
Merge "Add download button disabled state to sdk css." into mnc-preview-docs
2015-05-28 07:07:47 +00:00
Joe Fernandez
2f45337f6e
am b9bc5726: am 52d8d3d3: docs: Increment all JS resource references to force refresh
...
* commit 'b9bc5726c3df57b4824fd6f12b8c47475364c93a':
docs: Increment all JS resource references to force refresh
2015-05-28 02:01:23 +00:00
Joe Fernandez
b9bc5726c3
am 52d8d3d3: docs: Increment all JS resource references to force refresh
...
* commit '52d8d3d3eda6dd9cc261528e804c105bd3fbc654':
docs: Increment all JS resource references to force refresh
2015-05-28 01:47:05 +00:00
Joe Fernandez
52d8d3d3ed
docs: Increment all JS resource references to force refresh
...
b/21462060
Change-Id: I6335bb8b7ae754af50719a64c8cf7b53c4b51421
2015-05-27 18:22:00 -07:00
Dirk Dougherty
6e46b3185b
Add download button disabled state to sdk css.
...
Change-Id: Iba634208bdc8cf62532f35fb00c640e3f4e59311
2015-05-27 18:18:20 -07:00
Dirk Dougherty
597d244f7a
am 26300a8b: am 825c1aa1: Highlight Essentials tab for distribute/tools content.
...
* commit '26300a8b91892954ca9483d0ba910ff023dddfe3':
Highlight Essentials tab for distribute/tools content.
2015-05-26 22:06:09 +00:00
Dirk Dougherty
26300a8b91
am 825c1aa1: Highlight Essentials tab for distribute/tools content.
...
* commit '825c1aa1a7bfe69f6d7e15e76b8eb2be96ddc20c':
Highlight Essentials tab for distribute/tools content.
2015-05-26 21:58:39 +00:00
Dirk Dougherty
825c1aa1a7
Highlight Essentials tab for distribute/tools content.
...
Change-Id: I8cc4a73dc1b507940d02b8e40e03aed966ab44b0
2015-05-26 14:45:09 -07:00
Dirk Dougherty
bc4dc42b2d
am faa0de64: am abb97087: update logo icons for sdk/ndk.
...
* commit 'faa0de643c742435b026e09805b2313c64c88962':
update logo icons for sdk/ndk.
2015-05-25 22:41:05 +00:00
Dirk Dougherty
faa0de643c
am abb97087: update logo icons for sdk/ndk.
...
* commit 'abb9708756d7d8e7eb355c8982174fc8457bb202':
update logo icons for sdk/ndk.
2015-05-25 22:28:00 +00:00
Dirk Dougherty
abb9708756
update logo icons for sdk/ndk.
...
Change-Id: Icb8f3d6e0bbc8b00881b7b2dc705bae5ac70a4a0
2015-05-25 15:15:46 -07:00
Brian Carlstrom
903186f938
Use zipalign -p to page align .so files
...
Bug: 21400810
Change-Id: Ie9a0ec0a55511383596016e830b474c76754277a
2015-05-22 15:51:19 -07:00
Dirk Dougherty
632c5203c1
am f1d8a76d: am cbe032f8: Sync style changes from external (sync3).
...
* commit 'f1d8a76dec754849001f56b0697e1690edd8b770':
Sync style changes from external (sync3).
2015-05-22 20:44:15 +00:00
Dirk Dougherty
f1d8a76dec
am cbe032f8: Sync style changes from external (sync3).
...
* commit 'cbe032f87a2fc2b2f954d3be9057d6e4cc845d92':
Sync style changes from external (sync3).
2015-05-22 20:31:28 +00:00
Dirk Dougherty
cbe032f87a
Sync style changes from external (sync3).
...
Change-Id: I590557ccc3bde1172e80f5a9bc0a2be2f30e23b8
2015-05-22 13:20:16 -07:00