CentOS / centos-bootc

Create and maintain base bootable container images from Fedora ELN and CentOS Stream packages
https://centos.github.io/centos-bootc
Other
45 stars 27 forks source link

manifest: Drop rpm-ostree by default #314

Open cgwalters opened 8 months ago

cgwalters commented 8 months ago

This came out of discussion in https://github.com/CentOS/centos-bootc-dev/pull/27

Basically...I think what we should emphasize in the future is the combination of bootc and dnf.

There's no really strong reason to use rpm-ostree at container build time versus dnf. Now on the client side...well, here's the interesting thing; with transient root enabled, dnf install etc generally just works.

Of course, persistent changes don't. However, anyone who wants that can just dnf install rpm-ostree in their container builds.

There is one gap that's somewhat important which is kernel arguments. Because we haven't taught grubby do deal with ostree, and we don't have https://github.com/containers/bootc/issues/255 to change kargs per machine outside of install time one will need to just hand-edit the configs in /boot/loader.

Another fallout from this is that ostree container goes away inside the booted host...and today actually this totally breaks bib until https://github.com/osbuild/bootc-image-builder/issues/18 is fixed.

Probably bootc should grow the interception for that too optionally.

rhatdan commented 6 months ago

LGTM What is up with this one?

cgwalters commented 6 months ago

What is up with this one?

Basically blocked on:

Another fallout from this is that ostree container goes away inside the booted host...and today actually this totally breaks bib until https://github.com/osbuild/bootc-image-builder/issues/18 is fixed.