Commit Graph

20480 Commits

Author SHA1 Message Date
android-build-team Robot
8a30b46910 Version bump to QP1A.190520.002 [core/build_id.mk]
Change-Id: I74f6e060d56f40acf8eb29c6cecd78ca47713698
2019-05-20 21:08:00 +00:00
android-build-team Robot
ed0f3a5468 Make change and version bump to QP1A.190520.001
Change-Id: I96329f3116b1e61766efb56b5be713f99fab9fd4
2019-05-19 23:18:32 +00:00
android-build-team Robot
c38d512152 Make change and version bump to QP1A.190519.001
Change-Id: Id824972c43b186712a0b38f555d7a03aa1104f98
2019-05-18 23:19:56 +00:00
android-build-team Robot
fe6a175a40 Version bump to QP1A.190516.006 [core/build_id.mk]
Change-Id: I035cc11262d70db71698af3b55f320a4009a5de0
2019-05-18 00:03:09 +00:00
android-build-team Robot
70995c830e Version bump to QP1A.190516.005 [core/build_id.mk]
Change-Id: Iaf1b466e5322ba7e4860c1736271746589b79cfc
2019-05-17 22:43:31 +00:00
android-build-team Robot
ac6863a9e4 Version bump to QP1A.190516.004 [core/build_id.mk]
Change-Id: I5afaf455c57c241100cba488b340231c02e6dcc1
2019-05-17 21:59:48 +00:00
android-build-team Robot
e1639dd50c Version bump to QP1A.190516.003 [core/build_id.mk]
Change-Id: I50ee056d9ee488afa692bdd782a4d505a7239b9a
2019-05-17 01:50:17 +00:00
android-build-team Robot
3fac868176 Version bump to QP1A.190516.002 [core/build_id.mk]
Change-Id: I702b70ed804b60168fd0d201d3c2572ac611aa93
2019-05-17 01:19:31 +00:00
Bowgo Tsai
ce8b063507 Appending per-partition os_version into AVB props
os_version is important for keymaster version binding, where it
refuses to perform operations with a key that is bound to an old
system version.  This ensures that an attacker who discovers a
weakness in an old version of system or TEE software cannot roll a
device back to the vulnerable version and use keys created with the
newer version.

Previously, os_version for system.img is added into boot.img header
for bootloader to read the value then pass to TEE before booting the
HLOS. However, with project Treble to modularize each partition, all
images are now in the trajectory to be built independently (still
on-going). Also, in the Generic System Image (GSI) compliance test,
the os_version in OEM's boot.img cannot reflect the actual version of
GSI.

This CL adds per-partition os_versions into AVB metadata, which is
readable by bootloader via libavb without file system dependency. It's
still unclear for how os_version in non-system partition should be used.
We just add them for completeness here.

See more details in:
https://source.android.com/security/keystore/version-binding

Bug: 132233601
Test: build and avbtool info_image $OUT/vbmeta.img
      - Prop: com.android.build.boot.os_version -> '10'
      - Prop: com.android.build.system.os_version -> '10'
      - Prop: com.android.build.system.security_patch -> '2019-06-05'
      - Prop: com.android.build.vendor.os_version -> '10'
      - Prop: com.android.build.vendor.security_patch -> '2019-06-05'
      - Prop: com.android.build.product.os_version -> '10'
      - Prop: com.android.build.product.security_patch -> '2019-06-05'

Change-Id: I21a77420f2e8a3456f7a8cae5158eb8fc41319e7
Merged-In: I21a77420f2e8a3456f7a8cae5158eb8fc41319e7
(cherry picked from commit 9b54801b58)
2019-05-16 21:46:53 +08:00
Anton Hansson
43b86c0182 Merge "Move default setting of a product variable" into qt-dev 2019-05-16 09:27:29 +00:00
android-build-team Robot
a745edad09 Make change and version bump to QP1A.190516.001
Change-Id: I0ba3452cad0b305e7a43a36f52381d21aecf2c34
2019-05-16 03:17:32 +00:00
android-build-team Robot
f92632ca48 Make change and version bump to QP1A.190515.003
Change-Id: I412aa222b1963d0e13705eef010de9ac31c719ff
2019-05-16 00:17:01 +00:00
Ian Pedowitz
65f0dbbd7a Revert "Revert "Updating the platform sdk version for Q""
This reverts commit 842119ab3a.

Reason for revert: Rolling forward for Q-Finalization

Bug: 129975435
Bug: 129943426
Test: Build
Change-Id: I651e3ec68a765d3867be5341751cd536ccbe604a
(cherry picked from commit bed3e5262e)
2019-05-15 23:02:54 +00:00
Ian Pedowitz
16c89dcec2 Android Q is now REL
Bug: 129943426
Test: Build
Change-Id: I99d58a4afeaf38c51a93cc95d9ea1f5666797602
Merged-In: I352e02484fa73ee924c84846913b93f7713c77ef
(cherry picked from commit 883ad4c8b2)
2019-05-15 23:02:46 +00:00
android-build-team Robot
300683a125 Version bump to QP1A.190515.002 [core/build_id.mk]
Change-Id: Ib0f96f3c288e7ecda70cc961228a38d3246e1ccc
2019-05-15 22:24:12 +00:00
Ian Pedowitz
122a1136e6 Merge "Revert "Revert "Updating the platform sdk version for Q""" into qt-dev 2019-05-15 16:28:53 +00:00
Ian Pedowitz
89e4c9da7a Merge "Android Q is now REL" into qt-dev 2019-05-15 16:28:53 +00:00
Anton Hansson
584d3726b6 Move default setting of a product variable
Should be in product_config.mk, before the variables are readonly'd, or
the default will fail to work.

(cherry picked from commit 269dd013a5)

Bug: 131576555
Test: set PRODUCT_SHIPPING_API_LEVEL := 29 in mainline_arm64.mk && lunch
Change-Id: I25faee7ec0a3fff17e1d08b834d868834effda36
Merged-In: I25faee7ec0a3fff17e1d08b834d868834effda36
2019-05-15 11:30:29 +01:00
android-build-team Robot
ae0c0b156c Make change and version bump to QP1A.190515.001
Change-Id: I79672c650805a07d8f7b21e7ff41ab04ff04aa5d
2019-05-15 03:22:23 +00:00
Paul Scovanner
2813ebc21d Update Security String to 2019-07-05 Bug:132634503 am: 0718f458a1 am: 67f7ba7d9c am: 2ec2e55239
am: f01785c0a8

Change-Id: I92f844d235420335ccd7a29a07b8d6ea9757fedd
2019-05-14 15:03:19 -07:00
Paul Scovanner
f01785c0a8 Update Security String to 2019-07-05 Bug:132634503 am: 0718f458a1 am: 67f7ba7d9c
am: 2ec2e55239

Change-Id: I1164c5fd489d282c2c297c78e59a3d937adb4e2f
2019-05-14 14:59:06 -07:00
Paul Scovanner
2ec2e55239 Update Security String to 2019-07-05 Bug:132634503 am: 0718f458a1
am: 67f7ba7d9c

Change-Id: Id153c7f78dcf9cb5f0aacf261837bff9844f9cbf
2019-05-14 14:52:55 -07:00
Paul Scovanner
67f7ba7d9c Update Security String to 2019-07-05 Bug:132634503
am: 0718f458a1

Change-Id: Ice3a0dc3f425217138d881543aaae1c4c412d7db
2019-05-14 14:45:50 -07:00
Paul Scovanner
3caec84292 Update Security String to 2019-07-01 Bug:132634503 am: 95bee0f53e am: 2f15ff97b7 am: 58c2ebf84b
am: d51234a521

Change-Id: I713c98262d85d9dfac5e372284f9f93e7dbce7d9
2019-05-14 11:23:11 -07:00
Paul Scovanner
d51234a521 Update Security String to 2019-07-01 Bug:132634503 am: 95bee0f53e am: 2f15ff97b7
am: 58c2ebf84b

Change-Id: Ic30bcfffb5ff71afd8d59fe9cfb1a0402b55c4c3
2019-05-14 11:18:01 -07:00
Paul Scovanner
58c2ebf84b Update Security String to 2019-07-01 Bug:132634503 am: 95bee0f53e
am: 2f15ff97b7

Change-Id: I7a8fabadfa32356443305953ec91665037f7aa28
2019-05-14 11:10:59 -07:00
Paul Scovanner
2f15ff97b7 Update Security String to 2019-07-01 Bug:132634503
am: 95bee0f53e

Change-Id: If6ac58537bc1e8359a0774a5dd9513813900a6c2
2019-05-14 11:04:42 -07:00
android-build-team Robot
eb35544120 Make change and version bump to QP1A.190514.001
Change-Id: I274193cbaccbd33169c49b5c04bf344529b5d926
2019-05-14 03:17:27 +00:00
Paul Scovanner
0718f458a1 Update Security String to 2019-07-05
Bug:132634503
2019-05-14 00:02:43 +00:00
Paul Scovanner
95bee0f53e Update Security String to 2019-07-01
Bug:132634503
2019-05-13 20:36:29 +00:00
android-build-team Robot
1059bf1354 Make change and version bump to QP1A.190513.001
Change-Id: Ic5c14709671718aae23779b0477632e1dc04f2d4
2019-05-12 23:19:01 +00:00
android-build-team Robot
ab89654a1f Make change and version bump to QP1A.190512.001
Change-Id: Ia9c366ed1920aba62675d517e44a61c2dc5d465e
2019-05-11 23:21:27 +00:00
Ian Pedowitz
bed3e5262e Revert "Revert "Updating the platform sdk version for Q""
This reverts commit 842119ab3a.

Reason for revert: Rolling forward for Q-Finalization

Bug: 129975435
Bug: 129943426
Test: Build
Change-Id: I651e3ec68a765d3867be5341751cd536ccbe604a
2019-05-11 10:01:39 -07:00
Ian Pedowitz
883ad4c8b2 Android Q is now REL
Bug: 129943426
Test: Build
Change-Id: I99d58a4afeaf38c51a93cc95d9ea1f5666797602
Merged-In: I352e02484fa73ee924c84846913b93f7713c77ef
2019-05-11 08:33:31 -07:00
android-build-team Robot
c19f3063b0 Version bump to QP1A.190509.006 [core/build_id.mk]
Change-Id: Ibc51026abe6915393fe322ee44caeddb541b13e9
2019-05-10 19:03:05 +00:00
Martin Stjernholm
6311b83cc2 Extend library absence check to Bionic libs and all ART debug libs.
(cherry picked from commit c2e0205927)

Test: m systemimage
Test: build_test on Forrest
Bug: 132289438
Merged-In: I1a25d8d45668638b7eb0d39ded9cad3ed30db33c
Change-Id: I5b89aa33d35022fdca7f19c98f1bae51c173a876
2019-05-10 16:14:58 +00:00
Martin Stjernholm
e954e3e47d Add the library absence check as a kati stage check.
(cherry picked from commit a5181f67a7)

Test: m systemimage
Test: build_test on Forrest
Bug: 132289438
Merged-In: I7a93cc0ac4480404a3d56c75eb43ae499e8a3a05
Change-Id: I6012e16bb02d4fea1cff51b20de94560da7a8d09
2019-05-10 16:14:50 +00:00
Martin Stjernholm
4c62151f8e Add libs that have been resolved to the library absence check.
(cherry picked from commit 7a2dde8bd5)

Test: m systemimage
Test: build_test on Forrest
Bug: 132289438
Merged-In: I9e517d3c2344b39cf2743a34723572e646675677
Change-Id: Id39a947c1522cf3a226ff1a4430c57bf7d861141
2019-05-10 16:14:29 +00:00
Martin Stjernholm
4a901c6d41 Ignore vndk-* subdirectories in the library absence check.
(cherry picked from commit 8222ce45dd)

Test: m systemimage
Test: build_test on Forrest
Bug: 132289438
Merged-In: I059c9d0edb78e52838a25cef0472807847d77417
Change-Id: I57359dc9f1aa2230acd3252118aaf41f42b7a913
2019-05-10 16:14:20 +00:00
Martin Stjernholm
b4e549bfb7 Exclude lib/arm(64) from the library absence check.
(cherry picked from commit 4655206209)

Test: m systemimage
Test: build_test on Forrest
Bug: 132289438
Merged-In: I5dfb534aa2bc24a8d0a75fde31b139a6ed86e6a5
Change-Id: Ied158548f391d67f44ca31b74a3711d1cb5216fe
2019-05-10 16:13:54 +00:00
android-build-team Robot
73f14402e7 Version bump to QP1A.190509.005 [core/build_id.mk]
Change-Id: I92b8fe3445d2a74bff06890cc4453f1182bf716a
2019-05-10 02:29:58 +00:00
android-build-team Robot
37689c52df Version bump to QP1A.190509.004 [core/build_id.mk]
Change-Id: I3918e6e009b24b882d1dcdada5499a7336becff8
2019-05-10 01:10:20 +00:00
android-build-team Robot
2f8b660e51 Version bump to QP1A.190509.003 [core/build_id.mk]
Change-Id: I4aa81b2ab2d51a9cd856d4a12f84f89775966c58
2019-05-10 00:35:19 +00:00
android-build-team Robot
b571b6d1f6 Version bump to QP1A.190509.002 [core/build_id.mk]
Change-Id: I90af7303dd1639367d4018b60fbefddba28fd7b5
2019-05-09 21:34:08 +00:00
android-build-team Robot
d8433272e2 Make change and version bump to QP1A.190509.001
Change-Id: I1915d03da32c2e1452b1b46d6d6fe2c6aadbcfbe
2019-05-09 03:18:13 +00:00
TreeHugger Robot
cfca3e591d Merge "Move ro.boot.dynamic_partitions to vendor/build.prop" into qt-dev 2019-05-08 23:28:51 +00:00
android-build-team Robot
0b7be72f5d Version bump to QP1A.190508.002 [core/build_id.mk]
Change-Id: Ic95e3623365465962a4b40e95a7b0080e783a883
2019-05-08 22:34:11 +00:00
Hridya Valsaraju
ccd6279bef Move ro.boot.dynamic_partitions to vendor/build.prop
Bug: 132197773
Test: property present in vendor/build.prop

Currently, the property resides in product partition which gets
overwritten by the GSI image. Moving it to vendor will ensure
that the property is set even when a GSI image is flashed on the device.

Change-Id: I4d4a3c473194e15ba124a121f89bbb3ec1a73d19
Merged-In: I4d4a3c473194e15ba124a121f89bbb3ec1a73d19
2019-05-08 21:40:26 +00:00
Jiyong Park
18411a42f0 Ensure TARGET_FLATTEN_APEX == true when ro.apex.updatable is not set
TARGET_FLATTEN_APEX and ro.apex.updatable cannot be independently set.
For a device where updating APEXes is not supported, ro.apex.updatable
should not be set (or set to false) and TARGET_FLATTEN_APEX should be
set to true. For APEX-supporting devices, it is the opposite;
ro.apex.updatable == true and TARGET_FLATTEN_APEX is false (or not set).

To ensure this relationship, TARGET_FLATTEN_APEX is by default set to
true, and overridden to false when updatable_apex.mk is inherited.

Bug: 130623080
Test: choosecombo to Pixels 2 and later; get_build_var
TARGET_FLATTEN_APEX returns false.
choosecombo to the original Pixel and other non-Pixel targets;
get_build_var TARGET_FLATTEN_APEX returns true.
choosecombo to the cuttlefish; get_build_var TARGET_FLATTEN_APEX
returns false

Change-Id: Id73a594dd9838457e68e2793122592c11a84fc83
2019-05-08 20:51:21 +09:00
android-build-team Robot
d58f40801a Make change and version bump to QP1A.190508.001
Change-Id: I0b07cf65ed32ebf7ed7157ead6aa2e73186ff453
2019-05-08 03:18:28 +00:00