Commit graph

47472 commits

Author SHA1 Message Date
Yifan Hong
9b743fa997 Add ODM in valid_super_partition_list
ODM can already be built with dynamic sizes (in that
build_image.py builds it correctly). Add it to the list of
valid dynamic partitions.

Test: builds
Change-Id: Ib5d1348530d2120e3af7dbe422ac3ebe6149b4fb
Fixes: 120047099
2018-11-28 12:42:36 -08:00
Yifan Hong
9b024fe583 Merge "dynamic_partition_use -> use_dynamic_partitions." 2018-11-22 00:19:56 +00:00
Ivan Lozano
53ef500604 Merge "Add support for AArch64 XOM binaries." 2018-11-21 22:20:53 +00:00
Yifan Hong
50611038e9 dynamic_partition_use -> use_dynamic_partitions.
Test: build OTA package
Change-Id: Ia43d23f49fc024ecc767da1c2186c4b446c034de
2018-11-21 13:00:57 -08:00
Ivan Lozano
fda9a6f38e Add support for AArch64 XOM binaries.
Adds build system support for generating AArch64 binaries with
execute-only memory layouts via a new LOCAL_XOM property. Also adds
support for an ENABLE_XOM build flag for global builds.

Bug: 77958880
Test: make -j ENABLE_XOM=true
Change-Id: I6af9e3615d0a9fdff802eae50e6ad94311ec8046
2018-11-21 09:05:08 -08:00
Anton Hansson
12fa690ff6 Merge "Add a bunch of libraries to mainline_system" 2018-11-21 10:16:24 +00:00
Treehugger Robot
01284abf21 Merge changes from topic "dp_sysprop"
* changes:
  ro.boot.dynamic_partitions: fix empty values
  Remove ro.boot.logical_partitions
2018-11-21 07:39:21 +00:00
Treehugger Robot
b906ebb313 Merge "PRODUCT_OTA_ENFORCE_VINTF_KERNEL_REQUIREMENTS: allow inheritance" 2018-11-21 00:41:44 +00:00
Yifan Hong
4a37a03758 ro.boot.dynamic_partitions: fix empty values
When PRODUCT_RETROFIT_DYNAMIC_PARTITIONS is empty, collapse-pairs will
write this line to build.prop:
ro.boot.dynamic_partitions=ro.boot.dynamic_partitions_retrofit=

... which is not what we want.
Test: build without dynamic partitions

Change-Id: I04c3c75fad20604657814b7f9cce2cc0635627ee
2018-11-20 16:06:17 -08:00
Yifan Hong
284b2b9fc9 Remove ro.boot.logical_partitions
Test: boots
Bug: 119286600
Change-Id: I0606c3989588de3afaacc170943eaca82c682085
2018-11-20 16:06:17 -08:00
Yifan Hong
d585de5933 Merge changes from topic "dp_retrofit_gen"
* changes:
  Generate retrofit OTA.
  Add split super images to target_files.
2018-11-20 22:44:06 +00:00
Treehugger Robot
fec2671f00 Merge "Fix size checks for retrofit dynamic partitions." 2018-11-20 22:30:56 +00:00
Yifan Hong
452d9267fc PRODUCT_OTA_ENFORCE_VINTF_KERNEL_REQUIREMENTS: allow inheritance
Test: with this is true, build
     `verified_assembled_system_matrix.xml`;
      file includes kernel requirements
Change-Id: I833b4fefabefb2f0457171055afe5722981e3589
2018-11-20 11:50:52 -08:00
Yifan Hong
50e7954ac9 Generate retrofit OTA.
Test: m otapackage -j, manual apply on top of P
Bug: 118506262

Change-Id: Iedc389a1058007a604de0482f2348a9ef0d5892a
2018-11-20 11:17:39 -08:00
Yifan Hong
c767f7cbfc Add split super images to target_files.
Test: build target files package
Bug: 118506262
Change-Id: Iee6143987c9bfa6f2d287e20c06ea5ef25e82985
2018-11-20 11:17:39 -08:00
Anton Hansson
6d8a179cf1 Add a bunch of libraries to mainline_system
These are libraries commonly depended on by things on the product
partition. Add them explicitly for now.

Bug: 80410283
Test: build mainline_system_arm64
Change-Id: I6696990243397aa7109f88951ff120acf2a0f7e8
2018-11-20 14:53:09 +00:00
Anton Hansson
6f2cfd93d8 Merge "Add BOARD_USES_SYSTEM_OTHER_ODEX := true to mainline" 2018-11-20 10:05:27 +00:00
Dan Willemsen
38d08510f8 Merge changes from topics "iproute2-soong", "iw-soong"
* changes:
  Add ss as a previously debug tagged module
  Add iw as a previously debug tagged module
2018-11-20 06:27:16 +00:00
Treehugger Robot
8bd7918a28 Merge "Remove PRODUCT_USE_LOGICAL_PARTITIONS." 2018-11-20 04:06:53 +00:00
Dan Willemsen
66a468a772 Add ss as a previously debug tagged module
From external/iproute2

Test: check installed files on debug builds
Change-Id: Ie2e1fc927f636602b1285f8b0e62a926d538b150
2018-11-20 03:08:19 +00:00
Dan Willemsen
cf0a2169d0 Add iw as a previously debug tagged module
From external/iw

Test: check installed files on debug builds
Change-Id: Ie1282e88dfee47f958e13fd7ec17163f1178cb22
2018-11-20 03:08:07 +00:00
Yifan Hong
7416b8d143 Remove PRODUCT_USE_LOGICAL_PARTITIONS.
Use PRODUCT_USE_DYNAMIC_PARTITIONS instead.
Test: boots
Fixes: 119286600

Change-Id: I5c0828eac2b6c579edbb494b150bc586b3b576f1
2018-11-20 00:34:30 +00:00
Treehugger Robot
614e1e806e Merge "Remove androidboot.logical_partitions kernel cmdline" 2018-11-20 00:30:05 +00:00
Yifan Hong
426e029980 Remove androidboot.logical_partitions kernel cmdline
Flag is not used anymore.
Fixes: 119286600
Test: boots

Change-Id: I47370369ccde6d504ea0c936a179c4a325302f8b
2018-11-19 22:38:35 +00:00
Yifan Hong
f39d8af57e Fix size checks for retrofit dynamic partitions.
Now that we have two supers for retrofit devices, modify
the size checks. Only A/B devices launched with dynamic partitions
will get the / 2.

Test: builds
Bug: 116608795
Change-Id: Icdddcc0b3f3be307b3907e1c789933c2ace61867
2018-11-19 14:37:45 -08:00
Treehugger Robot
b82b51e0b9 Merge "Add cpu variant information to vendor/default.prop" 2018-11-19 21:37:32 +00:00
Haibo Huang
ee0531da7a Add cpu variant information to vendor/default.prop
Test: build and check vendor/default.prop
Change-Id: I8d86d58c72118c7dda65e75d09680e20c9428c24
2018-11-19 18:57:36 +00:00
Treehugger Robot
c6434d43ec Merge "Sort output in dump-files" 2018-11-19 17:43:00 +00:00
Treehugger Robot
25d43708c8 Merge "fs_config: fix fs_config_*_system targets" 2018-11-19 15:15:33 +00:00
Mark Salyzyn
705b59e155 fs_config: fix fs_config_*_system targets
Content from fs_config designated for other partitions is leaking
into the system fs_config_* files.  Notably /vendor is showing up.

Rule expansion happens late, after all parsing.  This is the same in
make and kati.  build/make/tools/fs_config/Android.mk ends with
fs_config_generate_extra_partition_list :=, so by the time you get to
rule expansion the value is empty.

Added a PRIVATE_PARTITION_LIST variable to record the value of
fs_config_generate_extra_partition-list.

Test: inspect result of ${OUT}/product/*/system/etc/fs_config_files
Bug: 119677224
Bug: 119310326
Change-Id: I968b4936ab2c5d174f164c760820af13434654ca
2018-11-19 07:14:54 -08:00
Anton Hansson
41b53a3c19 Sort output in dump-files
Makes it less frustrating to use.

Test: m dump-files
Change-Id: I84801f37e2e40a37d65d3f9ce7b19a84f3381a53
2018-11-19 14:33:19 +00:00
Treehugger Robot
7320a023ea Merge changes from topic "iputils-soong"
* changes:
  Add previously debug tagged modules
  Add sanitizer-status to PRODUCT_PACKAGES_DEBUG
2018-11-19 00:32:44 +00:00
Dan Willemsen
0d78e19721 Add previously debug tagged modules
From external/iputils

Test: check installed files on userdebug builds
Change-Id: I26e7cfa03f8a788283bce9c75fc38b4221cd57e6
2018-11-17 11:38:28 -08:00
Zach Riggle
0665927c9c Add sanitizer-status to PRODUCT_PACKAGES_DEBUG
This ensures all -userdebug builds have the sanitizer-status binary,
which is used to check which build flags were used for a given image.

It is important to distinguish between what the build fingerprint
claims, and what is actually available on the phone.

Change-Id: Iac1eabb8c5ed885a057f7a302b1887b7e9c4ccbc
Merged-In: Iac1eabb8c5ed885a057f7a302b1887b7e9c4ccbc
(cherry-picked from 3a26f80cd4)
2018-11-17 11:37:45 -08:00
Dimitry Ivanov
d04107683b Merge "Enable overrides for shared libraries" 2018-11-17 09:03:04 +00:00
Anton Hansson
adbafe0a7c Add BOARD_USES_SYSTEM_OTHER_ODEX := true to mainline
Likely not the final setting we'll settle with for this device,
but brings mainline_system builds closer to the device builds
it's targeting.

Bug: 80410283
Test: build mainline_arm64
Change-Id: Ib672d1a060d0ad6a4e1faa210461bbbbaf6f2bc6
2018-11-16 16:36:50 +00:00
Elliott Hughes
07d639a4fd Merge "envsetup.sh: say -p for plain, not -ps." 2018-11-16 16:19:33 +00:00
Treehugger Robot
e67518fe6d Merge "Unmount product partition in GSI" 2018-11-16 05:17:33 +00:00
Tao Bao
810965d23c Merge "releasetools: Temporarily disable verifying AVB-signed images." 2018-11-16 01:56:05 +00:00
Elliott Hughes
d3e472569a envsetup.sh: say -p for plain, not -ps.
toybox xxd treats -ps as -p -s with a missing argument to -s, rather
than as a bizarre synonym for -p.

Test: manual
Change-Id: Ia576861588a4ddeac9885bce8d718929b74f31b1
2018-11-15 16:32:14 -08:00
Evgenii Stepanov
f05ff886b8 Merge "Build ota packages for SANITIZE_TARGET other than "address"." 2018-11-15 22:26:39 +00:00
Tao Bao
9788b4ed31 releasetools: Temporarily disable verifying AVB-signed images.
Bug: 119624011
Test: Run validate_target_files.py on aosp_blueline-target_files.zip.
Change-Id: I0c3a93dd2ec9fe26c62be2ac2cc26780fb9fe1a6
2018-11-15 13:46:56 -08:00
Evgenii Stepanov
5d06f240e3 Build ota packages for SANITIZE_TARGET other than "address".
HWASan OTAs should work fine.

Bug: 119436631
Test: make SANITIZE_TARGET=hwaddress dist
Change-Id: I87c8ca58b924a478679879d09a34c44cd5832470
2018-11-15 11:14:09 -08:00
Neil Fuller
fcdeba0d6d Merge "Add the time zone data module to /system" 2018-11-15 15:17:04 +00:00
SzuWei Lin
4999dc047c Unmount product partition in GSI
This is a workaround solution. It let GSI to unmount product
partition when booting. The patch avoid the problem that

- share UID between between system and product partition
- the product partition override the content under /system/product

Bug: 119391482
Test: Boot aosp_arm64-userdebug on a blueline device with Android P
Change-Id: I48808fcc1ca527a23eb1446b97176b08268b500e
2018-11-15 21:06:56 +08:00
Anton Hansson
08d4227898 Merge "Add libfwdlockengine to mainline_system" 2018-11-15 09:01:16 +00:00
Roland Levillain
c47f2beef3 Merge "Revert^2 "Add the Android Runtime APEX module to PRODUCT_PACKAGES."" 2018-11-14 14:22:08 +00:00
Neil Fuller
97d2d0c8b5 Add the time zone data module to /system
This includes the time zone data APEX in the system image
which should flush out any obvious issues.

Bug: 119026403
Test: build / boot taimen
Change-Id: I3d9a8289d8af405a373c94891b482540e59a3571
2018-11-14 13:13:59 +00:00
Anton Hansson
8ee39f031c Merge changes Idc621b16,I00fcdce3
* changes:
  Fix dependencies of notice files
  Refactor logic for notice files
2018-11-14 12:48:55 +00:00
Treehugger Robot
2d544529fd Merge "Add TARGET_FLATTEN_APEX" 2018-11-14 11:47:51 +00:00