- Dec 12, 2022
-
-
Ramji Jiyani authored
system_dlkm and vendor_dlkm can be ext4 or erofs images as these are supported read only filesystem in platform builds. Add an option to choose between ext4/erofs for these partitions for the kernel's development only images to match patform choices with ext4 as the default if choice is not provided. Choice will be passed as environemental variables to build_utils.sh: SYSTEM_DLKM_FS_TYPE=["ext4" | "erofs"] for build_system_dlkm_image VENDOR_DLKM_FS_TYPE=["ext4" | "erofs"] for build_vendor_dlkm_image Bug: 261617174 Bug: 232430739 Test: TH Change-Id: I4a37e9d0116bb4b2f38fc119011a441d7c73e9f7 Signed-off-by:
Ramji Jiyani <ramjiyani@google.com>
-
- Dec 03, 2022
-
-
Ulises Mendez Martinez authored
* This is in favor of declaring the setup using Kleaf. * This should have a lower impact as in both cases the default is always `//tools/mkbootimg:mkbootimg.py` Bug: 260776236 Change-Id: I462894827e8b3fef8bbb1f9a23b35eb43e475cdf Signed-off-by:
Ulises Mendez Martinez <umendez@google.com>
-
- Nov 30, 2022
-
-
Yifan Hong authored
Building the boot image does not necessary require the existence of initramfs. Test: TH Bug: 260031024 Change-Id: I06f3cab03066009c5d4ccad30392e5b2dfb8d858
-
- Nov 29, 2022
-
-
Wang Chen authored
Bug: 260012551 Change-Id: Ie6ebe4f3c239eb43b8565973979d07c43e1a647a Signed-off-by:
Wang Chen <wangchen20@iscas.ac.cn> Signed-off-by:
Alistair Delva <adelva@google.com>
-
- Nov 15, 2022
-
-
Ulises Mendez Martinez authored
* For backwards compatibility, options provided trough `kernel_image` rule will take precedence over the ones specified in build.config. Bug: 236012223 Signed-off-by:
Ulises Mendez Martinez <umendez@google.com> Change-Id: I6f26ee12ffd1e9198fdeef4f794780de2188cc64
-
- Oct 27, 2022
-
-
Ulises Mendez Martinez authored
* This is so kleaf support natively the following configs: * LZ4_RAMDISK * LZ4_RAMDISK_COMPRESS_ARGS * The options are still falling back to the config values. Bug: 236012223 Signed-off-by:
Ulises Mendez Martinez <umendez@google.com> Change-Id: Iac60252b368da1f06ef3b49b3fb372dd729e9aea
-
- Oct 19, 2022
-
-
Ulises Mendez Martinez authored
* Buildifier provides linter recommendations when `--lint=warn` is used, so adding the ones for these files before working with them so the cleanup changes are separated from the actual changes. Bug: 236012223 Bug: 252888476 Signed-off-by:
Ulises Mendez Martinez <umendez@google.com> Change-Id: I5d1c5a8bfd99d2efbe8f32420225507ac8296d31
-
- Oct 03, 2022
-
-
Yifan Hong authored
This passes things like visibility and tags to internal targets. Test: TH Bug: 244786402 Change-Id: I28a33f7d1351d031fdc04336f6077a9bf3023529
-
- Aug 16, 2022
-
-
Lucas Wei authored
vendor_kernel_boot.img would leave empty in the field of bootconfig. Only copy vendor-bootconfig.img when building vendor_boot.img to avoid building error. Bug: 236355852 Signed-off-by:
Lucas Wei <lucaswei@google.com> Change-Id: I3569568801e953d52285640109a18e61714faaaa
-
- Aug 10, 2022
-
-
Yifan Hong authored
system_dlkm_image produces staging_archive and modules.load files. Also download them and put them as part of distribution when building against downloaded prebuilts. With system_dlkm_staging_archive.tar.gz from GKI piped to the device's system_dlkm rule, instead of creating the staging directory, unarchive the archive and build system_dlkm from there. As part of this change, kernel_images now also accept these arguments: - system_dlkm_modules_list - system_dlkm_modules_blocklist - system_dlkm_props ... which corresponds to the upper-case version of the build configs, respectively. Their semantics are the same as the build configs. Unlike vendor_dlkm_*: - system_dlkm_modules_list falls back to modules_list if not set - system_dlkm_modules_blocklist falls back to modules_blocklist if not set Test: build slider_images_system_dlkm_image with build_system_dlkm=True Bug: 233401974 Bug: 238786592 Change-Id: Ie9a2073d571b23eee58764ef9ced0976e5fa9622 Signed-off-by:
Yifan Hong <elsk@google.com>
-
- Aug 06, 2022
-
-
Yifan Hong authored
Unlike MODULES_OPTIONS in build.sh, modules_options in Kleaf points to a file that contains the lines. Fix comments and build rules that previously assume it contains strings. Test: bazel test //common:kernel_aarch64_tests Fixes: 241162984 Change-Id: Ie3ab2544f91cbcec55e5af390fc06eba400add14
-
- Aug 05, 2022
-
-
Yifan Hong authored
The filesystem format is an implementation detail. Test: none Change-Id: I241b038760b6d5bdb9104f0282cadb601a500110
-
- Jun 15, 2022
-
-
Yifan Hong authored
After we supporting build vendor_kernel_boot image for kernel artifacts, we should also update file name of *.modules.load with its related image name. Bug: 234554094 Test: TH Change-Id: Ia78f318bfe7a203046ca479c92d4f26947b09402 Signed-off-by:
Yifan Hong <elsk@google.com>
-
- Jun 02, 2022
-
-
Yifan Hong authored
This makes kernel.bzl smaller. Test: TH Test: bazel build //common:kernel_aarch64_dist //gs/google-modules/soc-modules:slider_dist --nobuild Test: bazel build //build/kernel/kleaf:docs Bug: 233156052 Change-Id: I28ba7ca430070b57267079e24ebe0e1477f0d9fc Signed-off-by:
Yifan Hong <elsk@google.com>
-