kleaf: system_dlkm build images for list of fs
Introduces system_dlkm_fs_types list attribute for the
kernel_images rule to build the system_dlkm partition
images for all filesystem provided in the list.
Deprecates the system_dlkm_fs_type but gives it priority
for backward compitability resons.
Behavior based on values of system_dlkm_fs_type &
system_dlkm_fs_types:
Both specified: Fail with deprecation message
Both not specified: system_dlkm.img with ext4
This is same as current default behavior when
system_dlkm_fs_type is not specified.
system_dlkm_fs_type="fs": system_dlkm.img with given fs
This is same as current behavior.
system_dlkm_fs_types=[list_of_filesystems]: system_dlkm.fs.img
for each file system type in list_of_filesystems
Bug: 297407875
Test: TH, Manual with all permutations & combinations
Change-Id: Ie8ee880dbbc41576603a1ab1b56f0307a6ab2e90
Signed-off-by:
Ramji Jiyani <ramjiyani@google.com>
Showing
- build_utils.sh 6 additions, 2 deletionsbuild_utils.sh
- kleaf/constants.bzl 3 additions, 2 deletionskleaf/constants.bzl
- kleaf/docs/build_configs.md 1 addition, 1 deletionkleaf/docs/build_configs.md
- kleaf/impl/constants.bzl 1 addition, 2 deletionskleaf/impl/constants.bzl
- kleaf/impl/image/image_utils.bzl 1 addition, 0 deletionskleaf/impl/image/image_utils.bzl
- kleaf/impl/image/kernel_images.bzl 11 additions, 4 deletionskleaf/impl/image/kernel_images.bzl
- kleaf/impl/image/system_dlkm_image.bzl 73 additions, 44 deletionskleaf/impl/image/system_dlkm_image.bzl