Skip to content

A collection of kernels used for CI builds

License

Notifications You must be signed in to change notification settings

cilium/ci-kernels

Folders and files

NameName
Last commit message
Last commit date

Latest commit

6b7e990 · Mar 23, 2025
Mar 23, 2025
Mar 20, 2025
Oct 1, 2024
Dec 14, 2023
Dec 8, 2023
Mar 20, 2025
Oct 1, 2024
Jan 24, 2024
Sep 22, 2023
Dec 8, 2023
Jan 24, 2024
Mar 20, 2025
Jan 28, 2024
May 24, 2024
Jan 8, 2024
Mar 20, 2025
Sep 22, 2023
May 24, 2024
Jan 24, 2024
May 24, 2024
Jun 12, 2022
Oct 30, 2023
Oct 30, 2023
Oct 1, 2024
Feb 24, 2025

Repository files navigation

ci-kernels

A collection of kernels used for CI builds.

  1. Update kernel versions in versions.json
  2. Commit and make a PR.

You can approximate CI by running buildx.sh:

$ ./buildx.sh 6.1 amd64 vmlinux --tag foo:vmlinux

To inspect the result of a build:

$ ./buildx.sh 6.1 amd64 build-vmlinux-debug
...
 => => writing image sha256:18d00182c5495376d87dfef5a4363a1b2cbd936af4f893ab437ce006b0f893d4                             0.0s
$ docker run -it sha256:18d00182c5495376d87dfef5a4363a1b2cbd936af4f893ab437ce006b0f893d4
root@1a64a0ade637:/usr/src/linux#

Updating versions

Use update-version.sh (requires jq):

./update-versions.sh

Updating the configuration

The configuration consists of common options in config and platform specific options in config-arm64 and config-x64_64.

To add a new config option:

  1. Try adding it to config (keep sorted alphabetically)
  2. In a checkout of the Linux source code:
    TARGETPLATFORM=linux/arm64 /path/to/configure-vmlinux.sh
  3. If any symbols are missing you can now run make menuconfig and search for the missing symbols. Figure out which dependencies are missing and add them to the config as well.

Add the config to the arch specific files if it isn't available in general.

Updating the builder

The builder image is still built manually.

  1. make image
  2. make push
  3. Add files, commit and make a PR.