Skip to content

Builds kernel modules for CoreOS, ship them as docker image

Notifications You must be signed in to change notification settings

mathpl/coreos_kernel_modules_injector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

coreos_kernel_modules_injector

Going from the coreos dev container to workable modules and binaries, in a few steps.

Guestfish image:

  1. Fetch coreos_developer_container.VERSION.bin.bz2 from CoreOS repo.
  2. Convert to docker image for that version with guestfish.

kbuilder image:

  1. Using the converted image: setup emerge, kernel modules and minimal build tools.
  2. If you need to use a specific version of coreos-overlay get the commit in https://github.com/coreos/coreos-overlay then set it as COREOS_OVERLAY_COMMIT to use it.

From there we do our builds. Currently in tree:

ZFS

  1. Using kbuilder image.
  2. emerge zlib (dependancy)
  3. Fetch spl + zfs with the specified version.
  4. Build both.
  5. Copy them out of the container.
  6. Build a much smaller injector image with the modules and binaries.
  7. Run image on coreos with the proper docker parameters.

Dahdi

  1. Using kbuilder image.
  2. Fetch dahdi with the specified version.
  3. Build it.
  4. Copy modules out of the container.
  5. Build a much smaller injector image with the modules.
  6. Run image on coreos with the proper docker parameters.

About

Builds kernel modules for CoreOS, ship them as docker image

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published