coreos / bootupd

Bootloader updater
Apache License 2.0
104 stars 21 forks source link

Is it safe to run `/usr/bin/bootupctl backend generate-update-metadata` in a Containerfile? #635

Open travier opened 3 months ago

travier commented 3 months ago

To fix issues with Fedora Atomic desktops, I'm considering backporting the bootupd inclusion to Fedora 39:

While thinking about that, I wondered if it would be able to create layered images with bootupd included in a layer.

Is it safe to run /usr/bin/bootupctl backend generate-update-metadata from a container layer?

FROM quay.io/fedora-ostree-desktops/kinoite:40

RUN rpm-ostree install bootupd \
    &&\
    /usr/bin/bootupctl backend generate-update-metadata \
    && \
    ostree container commit

I'll do some testing.

cgwalters commented 3 months ago

Offhand, I think so.