Going from the coreos dev container to workable modules and binaries, in a few steps.
- Fetch coreos_developer_container.VERSION.bin.bz2 from CoreOS repo.
- Convert to docker image for that version with guestfish.
- Using the converted image: setup emerge, kernel modules and minimal build tools.
- 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:
- Using kbuilder image.
- emerge zlib (dependancy)
- Fetch spl + zfs with the specified version.
- Build both.
- Copy them out of the container.
- Build a much smaller injector image with the modules and binaries.
- Run image on coreos with the proper docker parameters.
- Using kbuilder image.
- Fetch dahdi with the specified version.
- Build it.
- Copy modules out of the container.
- Build a much smaller injector image with the modules.
- Run image on coreos with the proper docker parameters.