diff options
author | 2024-11-06 20:41:26 +0000 | |
---|---|---|
committer | 2024-11-06 20:47:37 +0000 | |
commit | 7b25a51963fdc4b4a352c059f5880542b263d66a (patch) | |
tree | 806ea3ca67eeee82c50761e52fd157487a9b1bf0 /scripts/gen_build_prop.py | |
parent | 27ff767908138f601722b4b9459b11818a05d89a (diff) |
1:1 mapping between prebuilt_kernel_modules and _dlkm filesystem modules
This is a correction to the autogeneration logic introduced in
https://r.android.com/3329416, which would create multiple
prebuilt_kernel_modules for a specific partition if the .ko files are
distributed in the tree. In addition to assembling and installing the
.ko files, `prebuilt_kernel_modules` are also responsible for creating
dependency metadata files by running `depmod`. If we autogenerate
multiple prebuilt_kernel_modules for a specific partition, the
dependency metadata files will be incorrect, and we will also have
multiple installation rules for /lib/modules/modules.(load|dep|...)
To prevent introducing complexity of intermediate filegroups, the
`prebuilt_kernel_modules` will be generated in the root directory for
now.
Test: m nothing
Bug: 377562851
Change-Id: Ic5d0c95f2bf32a9a97ba0489801fe2bfd4928aef
Diffstat (limited to 'scripts/gen_build_prop.py')
0 files changed, 0 insertions, 0 deletions