#591 Enable GRUB static config migration and composefs, remove ostree-grub2
Merged by siosm. Opened by siosm.
Unknown source main

Download 591.patch

bootupd: Remove bootloader-update.service (now part of bootupd)

See: https://github.com/coreos/bootupd/pull/803


bootupd: Enable static GRUB config migration

See: https://github.com/coreos/bootupd/pull/790
See: https://github.com/coreos/bootupd/issues/789
See: https://gitlab.com/fedora/ostree/sig/-/issues/35


common: Remove ostree-grub2

New systems are setup with a static GRUB config and thus don't need
support to generate the GRUB config dynamically.

Older systems will be migrated to a static GRUB config during their
first boot on Fedora 42.

See: https://gitlab.com/fedora/ostree/sig/-/issues/35
Fixes: https://github.com/fedora-silverblue/issue-tracker/issues/120


common: Enable composefs for classic ostree images

In Fedora 41, we enabled bootupd by default. In Fedora 42, we are
migrating older installations to a static GRUB config by default.

We can thus enable composefs by default for all our variants, wether
theyr are Bootable Containers or classic ostree ones.

See: https://gitlab.com/fedora/ostree/sig/-/issues/35

CC @pwhalen

Build failed. More information on how to proceed and troubleshoot errors available at https://fedoraproject.org/wiki/Zuul-based-ci
https://fedora.softwarefactory-project.io/zuul/buildset/b266ace2fc194515b0fb5a322b48ce87

rebased onto 93ac2ad56d199c3dcc4baf69b29e3c6154915c1f

Build succeeded.
https://fedora.softwarefactory-project.io/zuul/buildset/eb59469409bc4197bcf501ffd935fc03

We chatted about this and agreed this should go in bootupd so it can be shared and reused in multiple places more easily, and also written in Rust if desired.

Moving to https://github.com/coreos/bootupd/issues/789

Pull-Request has been closed by siosm

Hum, keeping this one open as we will still need some small changes here but hopefully much less and no code.

Pull-Request has been reopened by siosm

Build succeeded.
https://fedora.softwarefactory-project.io/zuul/buildset/22a3993397b54f5496b5f5e50f752c56

rebased onto 3806aed62549186bc76ee9fcb430154ca0182388

Updated to match https://github.com/coreos/bootupd/pull/790

Build failed. More information on how to proceed and troubleshoot errors available at https://fedoraproject.org/wiki/Zuul-based-ci
https://fedora.softwarefactory-project.io/zuul/buildset/741ea1ce4d2d46d49f6b2571edf8a04a

rebased onto 0b86786542b6ccbbbbc48566db34007f5838cc27

Build succeeded.
https://fedora.softwarefactory-project.io/zuul/buildset/24ac31461d6a4824b645f7b900e73f56

rebased onto 4f6f7b89bb0a7c8b890ebd6786c6675239a15a96

Build succeeded.
https://fedora.softwarefactory-project.io/zuul/buildset/890a2f485f5148cc9de9491102c794a5

rebased onto c878da9d36b1dc5e4ca9a98b7a12ffb600b42fda

Build succeeded.
https://fedora.softwarefactory-project.io/zuul/buildset/149d4c7493d34251bf31046cea5569e7

rebased onto aeb996af0a53486c0596001a26a54479a3265274

Build succeeded.
https://fedora.softwarefactory-project.io/zuul/buildset/8d393a2c5a214a208475c96a31906066

Do not merge until https://src.fedoraproject.org/rpms/rust-bootupd/pull-request/16 lands in Rawhide. Currently doing tests.

Build succeeded.
https://fedora.softwarefactory-project.io/zuul/buildset/f9bf37dd094d4c2e84acad8ce619611f

rebased onto 282d113b7e0cc70cdb82612249d68b8bd293a364

Build succeeded.
https://fedora.softwarefactory-project.io/zuul/buildset/807bfc7f3e8a4318bb3bc47bebf0352c

https://bodhi.fedoraproject.org/updates/FEDORA-2025-28ce080842 will be in the next compose.

Build failed. More information on how to proceed and troubleshoot errors available at https://fedoraproject.org/wiki/Zuul-based-ci
https://fedora.softwarefactory-project.io/zuul/buildset/4c3644dcc938415798269ed7c3ab72e2

Failing on a benign sync failure:

Syncing common packages:    +1, -0
  + gstreamer1-plugin-dav1d (mandatory, groups: multimedia, arches: all)

I'll do a sync and we'll land that once we're verified that the bootupd update effectively landed.

rebased onto 94e806316f0fc199058bee3a9ffcc72686bce336

Build succeeded.
https://fedora.softwarefactory-project.io/zuul/buildset/98f43e98db0547489ea536751b51c909

rebased onto aeaabf0bcca572d4ca1974cf90b4bcbaba409036

Build succeeded.
https://fedora.softwarefactory-project.io/zuul/buildset/d4879f5890d44ef282a269cdcaf9b0f9

rebased onto 9fc140f7b1fe635ccd9de9543e9bda933d731cab

https://bodhi.fedoraproject.org/updates/FEDORA-2025-28ce080842 landed in Rawhide. Let's do this.

Build succeeded.
https://fedora.softwarefactory-project.io/zuul/buildset/8838cd0efc534fd289148d6e690b1cb4

Pull-Request has been merged by siosm

Did this need an updated grub2 as well? If so, please note that https://bodhi.fedoraproject.org/updates/FEDORA-2025-5a25808a78 failed testing, specifically on an issue with ostree.

No, this is an unrelated change. The latest grub2 updates are not correct and should be reverted (rawhide & f42). I'm working on it in https://src.fedoraproject.org/rpms/grub2/pull-request/139.

Metadata