Hi, Am Donnerstag, 6. Juni 2019, 13:07:09 CEST schrieb Marco Vedovati:
Hi, I would like to like to submit to Factory the packages for Kata Containers (something similar to what's now in devel:kubic:katacontainers).
TL,DR about Kata: it's a way to run containers inside VMs. The VMs needs tailored built KVM kernel and image.
For the kernel, I plan to adapt kernel-kvmsmall, I just need few changes to the existing config file.
For the image, now I am building it using kiwi, and wrapping it in a RPM using a kiwi_post_run hook on OBS. To achieve this, I needed to update the project config to have a containment-rpm package pre-installed, taking care of the RPM wrapping and of some image customization.
containment-rpm-docker again? I was happy to get that dropped half a year ago.
Would having this kind of image in Factory, wrapped in an RPM, something acceptable? If so, what would be the correct way to submit it, given the way such image is built?
Having a kiwi_post_run hook defined globally (for kiwi-image:lxc) in openSUSE:Factory won't work, so the only option for this would be to have a new openSUSE:Factory:Kata prj or something like that. Alternatives to the prjconf change would be a new <!-- OBS-BuildRequires: --> comment in the .kiwi file or a new attribute in the XML, but that smells a bit like a hack.
If not, and you have other ideas to distribute the image built on OBS in a package-like way (e.g. installable with zypper) I am open to those.
Can you somehow make use of registry.opensuse.org? Cheers, Fabian
Thanks Marco
-- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org