Generate META/(root|vendor_boot)_filesystem_config.txt
Unlike other partitions like system, vendor, ..., the build rule for this will be created in android_device, and will use the intermediates directories assembled by android_device for target_files.zip creation. The alternative would be to create this files in filesystem's GenerateAndroidBuildActions, but it would require handling the following - root_filesystem_config.txt: This can be created in system's GenerateAndroidBuildActions, but we would need to assemble a separate "root" staging dir without "system" subdir - vendor_boot_filesystem_config.txt: This can be created in vendor_ramdisk's GenerateAndroidBuildActions, but we would need to copy the recovery files to the staging dir before running fs_config Test: Verfied that vendor_boot_filesystem_config.txt is identical Test: root_filesystem_config.txt has the following diffs ``` 32d31 < odm_dlkm/etc 0 0 644 capabilities=0x0 47d45 < vendor_dlkm/etc 0 0 644 capabilities=0x0 ``` This is due to a preexisting diff in Soong's target_files/ROOT intermediates. I will debug this in followup work Bug: 388633394 Change-Id: Ia21f1456cbc1a1641db1c01416cdc575600770cf
Loading
Please register or sign in to comment