summaryrefslogtreecommitdiff
path: root/filesystem/system_other.go
AgeCommit message (Collapse)Author
2025-03-19Build compliance metadata for files on system_other partition Wei Li
Bug: 401369898 Test: presubmits Test: m sbom, and /system_other/system-other-odex-marker is in SBOM Change-Id: Ib32ee91ac4eaae8438a16e46dd1b04df7ae3bf33
2025-03-18Add system_other partition props to Soong's misc_info.txt Spandan Das
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
2025-02-27Package META/system_other_filesystem_config.txt Spandan Das
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
2025-02-19Fix diffs in system_other image Cole Faust
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
2025-02-12Copy system_other.img to target_files.zip Spandan Das
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
2025-01-16Install odex/vdex files into soong-built system_other Cole Faust
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
2025-01-16Build system_other image in soong-only builds Cole Faust
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