Age | Commit message (Collapse) | Author |
|
Bug: 401369898
Test: presubmits
Test: m sbom, and /system_other/system-other-odex-marker is in SBOM
Change-Id: Ib32ee91ac4eaae8438a16e46dd1b04df7ae3bf33
|
|
Implementation Details
- Expand FilesystemInfo with some Avb* props. `system_other` will use
this info exported by `system` to create system_other entries for
misc_info.txt. This is necessary since system_other does not contain
sufficient information to create a standalone buildPropFile, and reuses
the buildPropFile of system in `build_image` invocation
- Harcode rollback_index to the timestamp parsed from
`PlatformSecurityPatch`. Most products (including cuttlefish) do not
use a product config variable to override the rollback_index.
Eventually, we should dynamically get this value from one of the vbmeta
partitions.
Bug: 398036609
Test: Built Make and Soong misc_info.txt
Test: No diff in system_other entries
Change-Id: Iadb0ee34d948cb15cd5a59b0dff7bf7fc64024ed
|
|
The build rule will be created in `GenerateAndroidBuildActions` of
systemOtherImage module and will be provided to android_device via a
provider.
system/ will be used as prefix in fsConfigRule to match make behavior
Test: Verified that the file is identical between make and soong
Bug: 388633394
Change-Id: I7a09fcd3a961c3977165ad12e90869e1ad3e16fa
|
|
Make seems to use functionality of build_image that relies on the
output filename. So it sees that the output is system_other.img and
makes changes based on that. We don't use that codepath, so make those
changes ourselves.
Bug: 376539388
Test: diff out/target/product/vsoc_x86_64/system_other.img out/soong/.intermediates/build/soong/fsgen/aosp_cf_x86_64_phone_generated_system_other_image/android_common/system_other.img
Change-Id: I425b54efc5412e780369b2a851606bd1f1c99ae3
|
|
Similar to https://r.android.com/3489814, this adds an additional rule
in systemOtherImage to create a hermetic version of system_other.img
with pinned timestamps. This information will be provided to
android_device via super_image.
block_list information is not implemented for system_other to match the
make behavior
Test: Built the soong built target_files.zip locally
Bug: 385383524
Change-Id: I4cbb4f8a5380203eaef846b3d8a56eb7791f8a34
|
|
This makes system_other almost identical to the make-built one,
but there's still a diff in just one file:
system_other/system/priv-app/CredentialManager/oat/x86_64/CredentialManager.art
Bug: 390269431
Test: m --soong-only
Change-Id: I440097cead56a20d0268f4e766ac1be8fe11b34b
|
|
This just builds an empty system_other image for now, the dexpreopt
files will be added in a followup change.
Bug: 390269431
Test: m --soong-only
Change-Id: Ic4a9bcb8b7ba1eb4444b3339d6c0b0cdfd485714
|