On Mon, Sep 10, 2018 at 4:18 AM, Yifang WANG <[email protected]> wrote:
> For testing purposes, I'd like to add new OEM support in Ignition source
> code and build new CoreOS image via CoreOS SDK (cork create, cork enter, etc
> ).
> I understand that Ignition runs in initramfs, and also find kernel parameter
> CONFIG_INITRAMFS_SOURCE="bootengine.cpio". (bootengine contains systemd
> services of Ignition and network)
>
> Is Ignition from source code be compiled and be packaged into CoreOS Kernel?
> Could you please kindly let me know where is the Ignition executable file in
> CoreOS image?

Yes, it is built into the kernel.  It is not installed anywhere else
on the image.

Building the kernel in the SDK goes through three packages:
coreos-sources, coreos-modules, then coreos-kernel.  The initramfs is
assembled in the last phase, so after you build a modified ignition
package, you can run "emerge-amd64-usr coreos-kernel" to get the new
version in the initramfs.

Thanks.

David

Reply via email to