weaveworks / ignite

Ignite a Firecracker microVM
https://ignite.readthedocs.org
Apache License 2.0
3.49k stars 222 forks source link

Build Kernels with additional modules #956

Open kochia4 opened 1 year ago

kochia4 commented 1 year ago

How can I build kernels with some additional features and use them when I run ignite run? I build them from ignite/images/kernel via make but couldn't find where are compiled files are located?

after that how can I use the generated kernel with ignite run?

Some examples would be useful

cron410 commented 1 year ago

Do you need to build your kernel or are you trying to duplicate the kernel of another project? From my first read of the docs, you should be able to build a plain docker image with the kernel copied to /boot/vmlinux within that image and ignite might just boot it.