Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 853a7a47 authored by Spandan Das's avatar Spandan Das
Browse files

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
parent 54af357e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment