Commit Graph

15 Commits

Author SHA1 Message Date
Victor Hsieh 733becf0e3 Reland: Rename to PRODUCT_FSVERITY_GENERATE_METADATA
Bug: 245957815
Test: TH
Change-Id: I682033bf3b87924912fb858d720cd9a99668955a
2022-09-14 12:24:11 -07:00
Victor Hsieh 2a34172d87 Revert "Rename to PRODUCT_FSVERITY_GENERATE_METADATA"
Revert "Generate fs-verity build manifst APK for other partitions"

Revert submission 2212483-fsverity-manifest-apk-per-partition

Reason for revert: b/246781147
Reverted Changes:
I503672571:Generate fs-verity build manifst APK for other par...
Iebc54ea44:Rename to PRODUCT_FSVERITY_GENERATE_METADATA

Change-Id: Ife70becb5cf87fff2539a48ffaf5ef64a0336694
2022-09-14 17:27:40 +00:00
Victor Hsieh 960f2fb216 Rename to PRODUCT_FSVERITY_GENERATE_METADATA
Bug: 245957815
Test: TH
Change-Id: Iebc54ea44b4be51cff51f83263a6f2d96979d520
2022-09-09 15:22:09 -07:00
Victor Hsieh 735292c7dd Generate fs-verity manifest APK for all pKVM devices
Bug: 206869687
Test: See /system/etc/security/fsverity/BuildManifest.apk
Change-Id: Idbd5901df0b3637cbf8256e11d33a26e50d3ac87
2022-01-07 08:42:18 -08:00
Jiyong Park 1c8f14cbf9 Force disable symlink optimization for the virt/compos APEX
Previously, since the virt APEX/compos are configured as non-updatable,
the build system enabled the symlink optimization where files are
installed directly to the system partition and the APEX has symlinks to
the files.  However, this forced us to add those files to
PRODUCT_ARTIFACT_PATH_REQUIREMENT_ALLOWED_LIST as we install the APEX
conditionally - because the inclusion of the APEX is done by a product,
not by the core build system.

This change works around the problem by turning the new switch
`future_updatable` on, so that the symlink optimization is forcibly
disabled.

Bug: 207336449
Test: watch TH
Test: run asit/ota/signing
Change-Id: I841b46895df036f278a85dd318f3317a351992c3
2021-12-04 14:25:51 +09:00
Treehugger Robot a38555361b Merge "Revert "Don't install files for the virt APEX onto the system partition"" 2021-11-26 06:52:47 +00:00
Jiyong Park e62a4a33ea Revert "Don't install files for the virt APEX onto the system partition"
This reverts commit 1908108ac2.

Reason for revert: b/207783530

Change-Id: Id70acc1090fb547c59f8064d525992d57b5e069e
2021-11-26 00:12:43 +00:00
Jiyong Park 8429734091 Merge "Don't install files for the virt APEX onto the system partition" 2021-11-25 14:24:08 +00:00
Ulyana Trafimovich 7858101d4b Revert "Disable CompOS system server classpath fragment"
This reverts commit e85dfde30d.

Reason for revert: relanding after fix https://r.android.com/1900565

Bug: 207474880
Change-Id: I6957329a582b4dade85dbe29d5840c903e7b0914
Test: atest art_standalone_dexpreopt_tests
2021-11-25 09:00:03 +00:00
Jiyong Park 1908108ac2 Don't install files for the virt APEX onto the system partition
Previously, since the virt APEX is configured as non-updatable, the
build system enabled the symlink optimization where files are installed
directly to the system partition and the APEX has symlinks to the files.
However, this forced us to add those files to
PRODUCT_ARTIFACT_PATH_REQUIREMENT_ALLOWED_LIST as we install the APEX
conditionally - because the inclusion of the APEX is done by a product,
not by the core build system.

This change works around the problem by marking the APEX
non-installable. Then the build system doesn't enable the symlink
optimization.

Bug: 207336449
Test: watch TH

Change-Id: I020ae84defe5ce03f0fc2226f2fbd42a5823861e
2021-11-25 10:05:19 +09:00
Alan Stokes e85dfde30d Disable CompOS system server classpath fragment
Breaks art_standalone_dexpreopt_tests.DexpreoptTest#ForSystemServer.

Bug: 207474880
Test: atest art_standalone_dexpreopt_tests
Change-Id: I00e46edb860a91b3ca0166934a138fcd1369860d
2021-11-23 15:14:01 +00:00
Alan Stokes e54f33021b Add a system server JAR
Add a Java system server classpath fragment to wrap access to
composd. Provide initially empty SystemService and JobService classes.

Bug: 199147668
Test: manual
Change-Id: I5b2bb2f4c9b9086cca85983d0a659ea92409f6bf
2021-11-23 09:55:17 +00:00
Alan Stokes 1c6f91c570 Move CompOS to /system_ext
We shouldn't be on /system since we're not generic (yet).

But we are closely coupled to /system (integrated with ART, will be
contributing to the system server classpath.

Prune the artifact path files to only the ones that are still written
to /system while we figure out what to do with them.

While I'm here, fix writing various Rust dylib.so files to /system by
making sure the "vm" binary prefers the rlibs.

Test: Boots, APEXes present
Bug: 186126194
Change-Id: Id84fb7bf0fb4e0fb56e0cb896394c31e5c7b5124
2021-11-22 10:54:23 +00:00
Victor Hsieh 8ddc77d3af Install CompOS APEX together with Virt APEX
Bug: 192690283
Test: m

Change-Id: Iec236bbe513882033dcd78d77a3ba0f062a3dee1
2021-07-09 15:27:33 -07:00
David Brazdil 6df78e4fbe Add product_packages.mk
This file can be included by build targets where we want to include the
virt APEX in the system image.

Test: build a virt-enabled target
Change-Id: I285c5d1bb9b27265c8589f2588d95eafa324d412
2021-01-22 11:38:13 +00:00