ublue-os / main

OCI base images of Fedora with batteries included
https://universal-blue.org/images/main/
Apache License 2.0
508 stars 51 forks source link

Investigate bootc usage #86

Closed castrojo closed 11 months ago

castrojo commented 1 year ago

Tracking issue for: https://github.com/cgwalters/bootc-examples

Add bootc to https://github.com/ublue-os/main for all image builds in base.

castrojo commented 1 year ago

Testing this in Bluefin, once the package is in Fedora we'll add it, or maybe we should use the repo from upstream.

marcoceppi commented 1 year ago

https://github.com/containers/bootc

bsherman commented 1 year ago

There is an issue which prevents its use for me.

If the initramfs gets regenerated by rpm-ostree, then bootc doesn't like it and fails. This is a problem if using TPM or FIDO2 for LUKS unlocking.

Example error:

$ sudo bootc status
ERROR Reading manifest data from commit: Missing ostree.manifest-digest metadata on merge commit
bobslept commented 1 year ago

Testing this in Bluefin, once the package is in Fedora we'll add it, or maybe we should use the repo from upstream.

This is currently added to main in PR https://github.com/ublue-os/main/pull/367 to keep track if we change our minds.

castrojo commented 1 year ago

There is an issue which prevents its use for me.

Can you file this upstream? https://github.com/containers/bootc/issues

castrojo commented 1 year ago

Also let's leave it along side rpm-ostree for a while, I tried the symlink thing and while that's fine for me bootc can't upgrade layered packages so that's probably a bridge to far for everyone else.

castrojo commented 11 months ago

bootc is in all the images, closing.