Skip to content

Latest commit

 

History

History
32 lines (24 loc) · 1.09 KB

README.md

File metadata and controls

32 lines (24 loc) · 1.09 KB

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.