Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .github/workflows/lint-kernel-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
paths:
- "**/*.config"
- "hack/check-no-modules.sh"
- "hack/check-fragments-match.sh"
- ".github/workflows/lint-kernel-config.yml"

jobs:
Expand All @@ -18,3 +19,10 @@ jobs:
run: |
configs=$(find . -name '*.config' -not -path '*/out/*')
./hack/check-no-modules.sh $configs
- name: Check that every kernel has the EROFS fragment and the copies match
run: |
./hack/check-fragments-match.sh \
kernel-ch/configs/erofs.config \
kernel-fc/configs/erofs.config \
kernel-k8s-ch/erofs.config \
kernel-k8s-fc/configs/erofs.config
9 changes: 5 additions & 4 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Guidance for coding agents working in this repository.

## Critical invariant: no loadable kernel modules

Every kernel `.config` in this repo (`kernel-fc/`, `kernel-k8s-fc/`, `kernel-ch/`, `kernel-k8s-ch/`) must build required drivers directly into the kernel (`CONFIG_X=y`), never as a loadable module (`CONFIG_X=m`). MicroVMs boot with no initrd and no way to load modules at runtime, so a `=m` option is silently non-functional at best.
Every kernel `.config` in this repo (`kernel-fc/`, `kernel-k8s-fc/`, `kernel-ch/`, `kernel-k8s-ch/`) must build required drivers directly into the kernel (`CONFIG_X=y`), never as a loadable module (`CONFIG_X=m`). MicroVMs have no way to load modules at runtime, with or without an initrd, so a `=m` option is silently non-functional at best.

This is enforced in two places — **never bypass either**:

Expand All @@ -19,9 +19,10 @@ If a change requires a new kernel option, it must be added as `=y` (or left unse

## Kernel config conventions

- Base kernel configs (`microvm-kernel-ci-x86_64-*.config`, or the Cloud Hypervisor `linux-config-x86_64`) are fetched from upstream Firecracker/Cloud Hypervisor projects at build time and must not be hand-edited — repo-specific additions live in each component's `configs/` directory (e.g. `configs/additional-61.config`, `configs/k8s_additions.config`).
- `kernel-k8s-fc/` and `kernel-k8s-ch/` merge fragments with the kernel's own `scripts/kconfig/merge_config.sh` and then validate that every requested symbol actually survived Kconfig dependency resolution (the Dockerfile fails the build otherwise — `merge_config.sh` only warns).
- `kernel-fc/` merges its single fragment with a plain `cat`.
- Base kernel configs (`microvm-kernel-ci-x86_64-*.config`, or the Cloud Hypervisor `linux-config-x86_64`) are fetched from upstream Firecracker/Cloud Hypervisor projects at build time and must not be hand-edited — repo-specific additions live in each component's `configs/` directory (e.g. `configs/additional-61.config`, `configs/k8s_additions.config`). `kernel-k8s-ch/` is the exception: it has no `configs/` directory and keeps its fragments (`k8s_additions.config`, `erofs.config`) at the component root.
- `kernel-k8s-fc/`, `kernel-k8s-ch/` and `kernel-ch/` merge fragments with the kernel's own `scripts/kconfig/merge_config.sh` and then validate that every requested symbol actually survived Kconfig dependency resolution (the Dockerfile fails the build otherwise — `merge_config.sh` only warns).
- `erofs.config` exists once per kernel directory and every copy must be identical. Change all four together; `hack/check-fragments-match.sh` fails in CI when a copy is missing or differs. The lint workflow names each copy, so a new kernel component must be added to that list.
- `kernel-fc/` concatenates its fragments onto the base config with `awk 1` in the `Makefile`, and its `Dockerfile` then checks that every fragment option survived. `awk 1` ends every line with a newline, so a fragment with no final newline cannot fuse with the one after it, as it would with `cat`.
- Upstream config sources are pinned (Firecracker ref, Cloud Hypervisor tag/branch) for reproducibility — check the relevant `Makefile`/`Dockerfile` `ARG`s before changing a pin.

## Version pinning
Expand Down
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ and two rootfs flavours:

## Why the kernels have no loadable modules

MicroVMs booted by Flintlock start straight into the kernel with no initrd and no mechanism to load kernel modules at runtime. Every driver a guest needs (virtio, networking, filesystem, etc.) must therefore be **built directly into the kernel** (`=y`), not built as a loadable module (`=m`).
MicroVMs booted by Flintlock have no mechanism to load kernel modules at runtime. Most boot straight into the kernel with no initrd. Flintlock's overlay volume mode boots with an initrd that Flintlock provides, and that initrd carries no modules either. Every driver a guest needs (virtio, networking, filesystem, etc.) must therefore be **built directly into the kernel** (`=y`), not built as a loadable module (`=m`).

This invariant is enforced twice:

Expand All @@ -47,7 +47,9 @@ This invariant is enforced twice:
| [`ubuntu/`](ubuntu) | `ghcr.io/liquidmetal-dev/ubuntu` | Ubuntu `24.04` rootfs with networking, systemd and cloud-init configured, and [guest-agent](https://github.com/liquidmetal-dev/guest-agent) installed and enabled as a systemd service. |
| [`rke2/`](rke2) | `ghcr.io/liquidmetal-dev/node-rke2-airgapped` | Ubuntu `22.04`-based RKE2 node rootfs, pre-loaded with RKE2 release artifacts for airgapped/offline installation. |

Each kernel image is built from real upstream `linux-stable` source, using kernel `.config`s sourced from the Firecracker/Cloud Hypervisor projects and merged with the additional config fragments in each directory's `configs/` folder.
Each kernel image is built from real upstream `linux-stable` source, using kernel `.config`s sourced from the Firecracker/Cloud Hypervisor projects and merged with the additional config fragments in each directory's `configs/` folder (`kernel-k8s-ch/` keeps its fragments at the directory root).

Every kernel also gets the `erofs.config` fragment, which enables the EROFS filesystem. Flintlock's overlay volume mode presents the root filesystem as a read-only EROFS image. The fragment is copied into each kernel directory because each directory is its own docker build context; [`hack/check-fragments-match.sh`](hack/check-fragments-match.sh) fails the lint when a copy is missing or the copies differ.

## Building locally

Expand Down
32 changes: 32 additions & 0 deletions hack/check-fragments-match.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
#!/usr/bin/env bash
# Fails if a copy of a kernel config fragment is missing or the copies
# differ. Each kernel component is its own docker build context, so a
# fragment that every component needs has to be copied into each one.
set -euo pipefail

if [ "$#" -lt 2 ]; then
echo "usage: $0 <fragment> <fragment> [fragment ...]" >&2
exit 2
fi

rc=0
for f in "$@"; do
if [ ! -f "$f" ]; then
echo "ERROR: $f is missing"
rc=1
fi
done
[ "$rc" -eq 0 ] || exit "$rc"

first=$1
shift

for f in "$@"; do
if ! cmp -s "$first" "$f"; then
echo "ERROR: $f differs from $first"
diff -u "$first" "$f" || true
rc=1
fi
done

exit "$rc"
4 changes: 2 additions & 2 deletions hack/check-no-modules.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
# Fails if any of the given kernel config fragment files enable an option as
# a loadable module (=m). microVM images boot with no initrd/module
# filesystem, so a modular option is silently non-functional.
# a loadable module (=m). microVM images have no module filesystem and no way
# to load a module at runtime, so a modular option is silently non-functional.
set -euo pipefail

if [ "$#" -eq 0 ]; then
Expand Down
25 changes: 22 additions & 3 deletions kernel-ch/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,33 @@ RUN mkdir -p ${SRC_DIR} ${DIST_DIR} && \
WORKDIR ${LINUX_DIR}

ARG KERNEL_CONFIG
ARG KERNEL_FRAGMENTS

RUN curl -fL -o .config ${KERNEL_CONFIG}
COPY configs/ /tmp/configs/

RUN make LOCALVERSION= olddefconfig
# Merge the fragments into the base, then let Kconfig resolve dependencies
RUN set -eu; frags=""; for f in ${KERNEL_FRAGMENTS}; do frags="$frags /tmp/configs/$f"; done; \
./scripts/kconfig/merge_config.sh -m .config $frags \
&& make LOCALVERSION= olddefconfig

# Fail the build if any requested symbol did not survive dependency resolution
RUN set -eu; rc=0; \
for f in ${KERNEL_FRAGMENTS}; do \
while IFS= read -r line || [ -n "$line" ]; do \
case "$line" in ''|\#*) continue;; esac; \
sym=${line%%=*}; val=${line#*=}; \
if [ "$val" = n ]; then want="# $sym is not set"; else want="$line"; fi; \
if ! grep -qxF "$want" .config; then \
echo "DROPPED: wanted [$want] got [$(grep -w "$sym" .config || echo absent)]"; rc=1; \
fi; \
done < /tmp/configs/$f; \
done; \
[ "$rc" -eq 0 ] || { echo 'ERROR: fragment options did not survive the config merge'; exit 1; }

# Fail the build if any option is enabled as a loadable module: microVM
# images boot with no initrd/module filesystem, so a modular option is
# silently non-functional.
# images have no module filesystem and no way to load a module at runtime,
# so a modular option is silently non-functional.
RUN if grep -E '=m$' .config; then \
echo "ERROR: kernel modules enabled above — all options must be y or disabled for microVM images" >&2; \
exit 1; \
Expand Down
2 changes: 2 additions & 0 deletions kernel-ch/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,15 @@ build:
-t $(IMAGE_NAME):6.2 \
--build-arg KERNEL_VERSION=6.2 \
--build-arg KERNEL_CONFIG=$(KERNEL_CONFIG_URL) \
--build-arg KERNEL_FRAGMENTS="erofs.config" \
.

docker build \
--target headers \
-t $(IMAGE_NAME):6.2-headers \
--build-arg KERNEL_VERSION=6.2 \
--build-arg KERNEL_CONFIG=$(KERNEL_CONFIG_URL) \
--build-arg KERNEL_FRAGMENTS="erofs.config" \
.

push:
Expand Down
6 changes: 6 additions & 0 deletions kernel-ch/configs/erofs.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
CONFIG_MISC_FILESYSTEMS=y
CONFIG_EROFS_FS=y
CONFIG_EROFS_FS_XATTR=y
CONFIG_EROFS_FS_POSIX_ACL=y
CONFIG_EROFS_FS_SECURITY=y
CONFIG_EROFS_FS_ZIP=y
22 changes: 20 additions & 2 deletions kernel-fc/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,32 @@ RUN mkdir -p ${SRC_DIR} ${DIST_DIR} && \
WORKDIR ${LINUX_DIR}

ARG KERNEL_CONFIG
ARG KERNEL_FRAGMENTS

COPY ${KERNEL_CONFIG} .config
COPY configs/ /tmp/configs/

RUN make LOCALVERSION= olddefconfig

# Fail the build if any option from a fragment did not survive dependency
# resolution. The fragments are already part of .config (the Makefile
# concatenates them), so this only checks.
RUN set -eu; rc=0; \
for f in ${KERNEL_FRAGMENTS}; do \
while IFS= read -r line || [ -n "$line" ]; do \
case "$line" in ''|\#*) continue;; esac; \
sym=${line%%=*}; val=${line#*=}; \
if [ "$val" = n ]; then want="# $sym is not set"; else want="$line"; fi; \
if ! grep -qxF "$want" .config; then \
echo "DROPPED: wanted [$want] got [$(grep -w "$sym" .config || echo absent)]"; rc=1; \
fi; \
done < /tmp/configs/$f; \
done; \
[ "$rc" -eq 0 ] || { echo 'ERROR: fragment options did not survive the config merge'; exit 1; }

# Fail the build if any option is enabled as a loadable module: microVM
# images boot with no initrd/module filesystem, so a modular option is
# silently non-functional.
# images have no module filesystem and no way to load a module at runtime,
# so a modular option is silently non-functional.
RUN if grep -E '=m$' .config; then \
echo "ERROR: kernel modules enabled above — all options must be y or disabled for microVM images" >&2; \
exit 1; \
Expand Down
9 changes: 6 additions & 3 deletions kernel-fc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,29 +11,32 @@ build: build-61 build-5-10 build-5-10-no-acpi

build-61: $(OUT_DIR)
curl -L -o $(OUT_DIR)/microvm-kernel-ci-x86_64-6.1.config https://raw.githubusercontent.com/firecracker-microvm/firecracker/main/resources/guest_configs/microvm-kernel-ci-x86_64-6.1.config
cat $(OUT_DIR)/microvm-kernel-ci-x86_64-6.1.config configs/additional-61.config > $(OUT_DIR)/6-1.config
awk 1 $(OUT_DIR)/microvm-kernel-ci-x86_64-6.1.config configs/additional-61.config configs/erofs.config > $(OUT_DIR)/6-1.config
docker build \
-t $(IMAGE_NAME):6.1 \
--build-arg KERNEL_VERSION=6.1 \
--build-arg KERNEL_CONFIG=$(OUT_DIR)/6-1.config \
--build-arg KERNEL_FRAGMENTS="additional-61.config erofs.config" \
.

build-5-10: $(OUT_DIR)
curl -L -o $(OUT_DIR)/microvm-kernel-ci-x86_64-5.10.config https://raw.githubusercontent.com/firecracker-microvm/firecracker/refs/heads/main/resources/guest_configs/microvm-kernel-ci-x86_64-5.10.config
cp $(OUT_DIR)/microvm-kernel-ci-x86_64-5.10.config $(OUT_DIR)/5-10.config
awk 1 $(OUT_DIR)/microvm-kernel-ci-x86_64-5.10.config configs/erofs.config > $(OUT_DIR)/5-10.config
docker build \
-t $(IMAGE_NAME):5.10 \
--build-arg KERNEL_VERSION=5.10.245 \
--build-arg KERNEL_CONFIG=$(OUT_DIR)/5-10.config \
--build-arg KERNEL_FRAGMENTS="erofs.config" \
.

build-5-10-no-acpi: $(OUT_DIR)
curl -L -o $(OUT_DIR)/microvm-kernel-ci-x86_64-5.10-no-acpi.config https://raw.githubusercontent.com/firecracker-microvm/firecracker/refs/heads/main/resources/guest_configs/microvm-kernel-ci-x86_64-5.10-no-acpi.config
cp $(OUT_DIR)/microvm-kernel-ci-x86_64-5.10-no-acpi.config $(OUT_DIR)/5-10-no-acpi.config
awk 1 $(OUT_DIR)/microvm-kernel-ci-x86_64-5.10-no-acpi.config configs/erofs.config > $(OUT_DIR)/5-10-no-acpi.config
docker build \
-t $(IMAGE_NAME):5.10-no-acpi \
--build-arg KERNEL_VERSION=5.10.245 \
--build-arg KERNEL_CONFIG=$(OUT_DIR)/5-10-no-acpi.config \
--build-arg KERNEL_FRAGMENTS="erofs.config" \
.

push:
Expand Down
8 changes: 4 additions & 4 deletions kernel-fc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

This creates bare Firecracker-compatible kernel images. `make build` (or the individual `build-61`, `build-5-10`, `build-5-10-no-acpi` targets) produces three variants, each pushed as a separate image tag:

- **6.1** — built from `microvm-kernel-ci-x86_64-6.1.config` merged with `configs/additional-61.config` (adds `CONFIG_PCI=y`)
- **5.10** — built from `microvm-kernel-ci-x86_64-5.10.config`
- **5.10-no-acpi** — built from `microvm-kernel-ci-x86_64-5.10-no-acpi.config`
- **6.1** — built from `microvm-kernel-ci-x86_64-6.1.config` merged with `configs/additional-61.config` (adds `CONFIG_PCI=y`) and `configs/erofs.config`
- **5.10** — built from `microvm-kernel-ci-x86_64-5.10.config` merged with `configs/erofs.config`
- **5.10-no-acpi** — built from `microvm-kernel-ci-x86_64-5.10-no-acpi.config` merged with `configs/erofs.config`

A couple of things to note:

- modules are disabled — every kernel `.config` here must build all required drivers directly into the kernel (`=y`), not as loadable modules (`=m`), since microVMs boot with no initrd and no way to load modules at runtime. This is enforced both by the `Dockerfile` and by [`hack/check-no-modules.sh`](../hack/check-no-modules.sh) in CI.
- modules are disabled — every kernel `.config` here must build all required drivers directly into the kernel (`=y`), not as loadable modules (`=m`), since microVMs have no way to load modules at runtime. This is enforced both by the `Dockerfile` and by [`hack/check-no-modules.sh`](../hack/check-no-modules.sh) in CI.
- The `microvm-kernel-ci-x86_64-*.config` files come from the supported kernel configs published by Firecracker from [here](https://github.com/firecracker-microvm/firecracker/tree/main/resources/guest_configs).
- These downloaded configs are fetched into `out/` (gitignored) at build time and shouldn't be modified in any way — repo-specific additions live in `configs/`.

2 changes: 1 addition & 1 deletion kernel-fc/configs/additional-61.config
Original file line number Diff line number Diff line change
@@ -1 +1 @@
CONFIG_PCI=y
CONFIG_PCI=y
6 changes: 6 additions & 0 deletions kernel-fc/configs/erofs.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
CONFIG_MISC_FILESYSTEMS=y
CONFIG_EROFS_FS=y
CONFIG_EROFS_FS_XATTR=y
CONFIG_EROFS_FS_POSIX_ACL=y
CONFIG_EROFS_FS_SECURITY=y
CONFIG_EROFS_FS_ZIP=y
31 changes: 17 additions & 14 deletions kernel-k8s-ch/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,24 +34,27 @@ ARG KERNEL_CONFIG

RUN curl -fL -o .config ${KERNEL_CONFIG}
COPY k8s_additions.config k8s_additions-fragment
# Merge fragment into base, then let Kconfig resolve dependencies
RUN ./scripts/kconfig/merge_config.sh -m .config k8s_additions-fragment \
COPY erofs.config erofs-fragment
# Merge the fragments into the base, then let Kconfig resolve dependencies
RUN ./scripts/kconfig/merge_config.sh -m .config k8s_additions-fragment erofs-fragment \
&& make LOCALVERSION= olddefconfig
# Fail the build if any requested k8s symbol did not survive dependency resolution
# Fail the build if any requested symbol did not survive dependency resolution
RUN set -eu; rc=0; \
while IFS= read -r line; do \
case "$line" in ''|\#*) continue;; esac; \
sym=${line%%=*}; val=${line#*=}; \
if [ "$val" = n ]; then want="# $sym is not set"; else want="$line"; fi; \
if ! grep -qxF "$want" .config; then \
echo "DROPPED: wanted [$want] got [$(grep -w "$sym" .config || echo absent)]"; rc=1; \
fi; \
done < k8s_additions-fragment; \
[ "$rc" -eq 0 ] || { echo 'ERROR: k8s options did not survive the config merge'; exit 1; }
for f in k8s_additions-fragment erofs-fragment; do \
while IFS= read -r line || [ -n "$line" ]; do \
case "$line" in ''|\#*) continue;; esac; \
sym=${line%%=*}; val=${line#*=}; \
if [ "$val" = n ]; then want="# $sym is not set"; else want="$line"; fi; \
if ! grep -qxF "$want" .config; then \
echo "DROPPED: wanted [$want] got [$(grep -w "$sym" .config || echo absent)]"; rc=1; \
fi; \
done < "$f"; \
done; \
[ "$rc" -eq 0 ] || { echo 'ERROR: fragment options did not survive the config merge'; exit 1; }

# Fail the build if any option is enabled as a loadable module: microVM
# images boot with no initrd/module filesystem, so a modular option is
# silently non-functional.
# images have no module filesystem and no way to load a module at runtime,
# so a modular option is silently non-functional.
RUN if grep -E '=m$' .config; then \
echo "ERROR: kernel modules enabled above — all options must be y or disabled for microVM images" >&2; \
exit 1; \
Expand Down
6 changes: 6 additions & 0 deletions kernel-k8s-ch/erofs.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
CONFIG_MISC_FILESYSTEMS=y

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This fragment is at the component root, while AGENTS.md and the top-level README.md say repo-specific fragments live in each component’s configs/ directory. kernel-k8s-ch/k8s_additions.config is already at the root too, so the simplest fix may be to document the Cloud Hypervisor k8s layout as an exception.

@richardcase richardcase Sep 29, 2026 •

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in d3a5ea3 by documenting the exception. AGENTS.md and the top-level README.md now say that kernel-k8s-ch/ has no configs/ directory and keeps its fragments at the component root.

I left the files where they are. Moving them would also move k8s_additions.config, which this pull request does not otherwise touch.

CONFIG_EROFS_FS=y
CONFIG_EROFS_FS_XATTR=y
CONFIG_EROFS_FS_POSIX_ACL=y
CONFIG_EROFS_FS_SECURITY=y
CONFIG_EROFS_FS_ZIP=y
8 changes: 4 additions & 4 deletions kernel-k8s-fc/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ RUN set -eu; frags=""; for f in ${KERNEL_FRAGMENTS}; do frags="$frags /tmp/k8s-c
# (merge_config.sh only warns on drops).
RUN set -eu; rc=0; \
for f in ${KERNEL_FRAGMENTS}; do \
while IFS= read -r line; do \
while IFS= read -r line || [ -n "$line" ]; do \
case "$line" in ''|\#*) continue;; esac; \
sym=${line%%=*}; val=${line#*=}; \
if [ "$val" = n ]; then want="# $sym is not set"; else want="$line"; fi; \
Expand All @@ -55,11 +55,11 @@ RUN set -eu; rc=0; \
fi; \
done < /tmp/k8s-configs/$f; \
done; \
[ "$rc" -eq 0 ] || { echo 'ERROR: k8s options did not survive the config merge'; exit 1; }
[ "$rc" -eq 0 ] || { echo 'ERROR: fragment options did not survive the config merge'; exit 1; }

# Fail the build if any option is enabled as a loadable module: microVM
# images boot with no initrd/module filesystem, so a modular option is
# silently non-functional.
# images have no module filesystem and no way to load a module at runtime,
# so a modular option is silently non-functional.
RUN if grep -E '=m$' .config; then \
echo "ERROR: kernel modules enabled above — all options must be y or disabled for microVM images" >&2; \
exit 1; \
Expand Down
4 changes: 2 additions & 2 deletions kernel-k8s-fc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@ build: $(OUT_DIR)
-t $(IMAGE_NAME):6.1 \
--build-arg KERNEL_VERSION=6.1 \
--build-arg KERNEL_CONFIG=$(OUT_DIR)/microvm-kernel-ci-x86_64-6.1.config \
--build-arg KERNEL_FRAGMENTS="additional-61.config k8s_additions.config" \
--build-arg KERNEL_FRAGMENTS="additional-61.config k8s_additions.config erofs.config" \
.

curl -fL -o $(OUT_DIR)/microvm-kernel-ci-x86_64-5.10.config $(GUEST_CONFIG_URL_510)/microvm-kernel-ci-x86_64-5.10.config
docker build \
-t $(IMAGE_NAME):5.10 \
--build-arg KERNEL_VERSION=5.10.199 \
--build-arg KERNEL_CONFIG=$(OUT_DIR)/microvm-kernel-ci-x86_64-5.10.config \
--build-arg KERNEL_FRAGMENTS="k8s_additions.config" \
--build-arg KERNEL_FRAGMENTS="k8s_additions.config erofs.config" \
.

push:
Expand Down
Loading
Loading