Proof of concept: Linux kernel development using Fedora bootc tools

Hello,

Recently I’ve been experimenting with a container based workflow for building Linux kernels then testing them in Fedora bootable container VMs.

  • The builds take place within containers. (just clean_build <commit>)
  • The builds can be incremental, using artifacts from a previous build to speed up the build. (just incremental_build <base commit> <new commit>)
  • The resulting kernel can be installed into a Fedora bootable container and booted locally for testing. (just run <commit>)

The workflow ends up being quite nice. After making a local commit it can be quickly built and booted with a couple of commands. All previous builds are retained as separate images, making it simple to switch between the test VMs.

This is super basic but does work nicely for my usecase. I’m sure someone could do a better job of this.

(There is no question here, but I couldn’t see a better category in the forum that allows me to use the bootc tag.)

1 Like