Skip to content
Snippets Groups Projects
  1. Dec 12, 2022
    • Ramji Jiyani's avatar
      kleaf: ext4/erofs choices for dlkm partition · 234e10e9
      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: default avatarRamji Jiyani <ramjiyani@google.com>
      234e10e9
  2. Dec 03, 2022
  3. Nov 30, 2022
  4. Nov 29, 2022
  5. Nov 15, 2022
  6. Oct 27, 2022
  7. Oct 19, 2022
  8. Oct 03, 2022
    • Yifan Hong's avatar
      kleaf: Add kwargs to kernel_images · 801c00cc
      Yifan Hong authored
      This passes things like visibility and tags to internal targets.
      
      Test: TH
      Bug: 244786402
      
      Change-Id: I28a33f7d1351d031fdc04336f6077a9bf3023529
      801c00cc
  9. Aug 16, 2022
  10. Aug 10, 2022
    • Yifan Hong's avatar
      kleaf: enable building device system_dlkm against GKI system_dlkm_staging_archive · e8a8dd2e
      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: default avatarYifan Hong <elsk@google.com>
      e8a8dd2e
  11. Aug 06, 2022
    • Yifan Hong's avatar
      kleaf: modules_options is a file, not a string. · ba9c8287
      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
      ba9c8287
  12. Aug 05, 2022
  13. Jun 15, 2022
  14. Jun 02, 2022
Loading