From fb7be0d9efa2b15f1e3b0dcde4e2ddc97a01ba66 Mon Sep 17 00:00:00 2001 From: Jonathan Lebon Date: Sep 23 2022 20:04:50 +0000 Subject: [PATCH 1/2] common: add bootupd We need to make it easier to update the bootloader on these variants because unlike on traditional systems, it's not updated automatically with the rest of the system. Add bootupd for that. This would allow fixing issues like: - https://github.com/coreos/rpm-ostree/issues/3715 - https://github.com/fedora-silverblue/issue-tracker/issues/120#issuecomment-979268679 It won't be enabled by default and as mentioned in that comment requires work in Anaconda to be seamless. But at least with this users should be able to adopt and update: https://github.com/coreos/bootupd/blob/main/README-design.md See also the tracker issue where we did this for Fedora CoreOS: https://github.com/coreos/fedora-coreos-tracker/issues/510 (cherry picked from commit d34e2ee500fc4a920baa6aa2aab53265f255b884) --- diff --git a/fedora-common-ostree.yaml b/fedora-common-ostree.yaml index 5a509f4..7b68b23 100644 --- a/fedora-common-ostree.yaml +++ b/fedora-common-ostree.yaml @@ -9,6 +9,7 @@ packages: - git-core - lvm2 - rpm-ostree + - bootupd # Container management - buildah - podman From 9b0ac698be4f940354caecc6eeb4e11a06d713d5 Mon Sep 17 00:00:00 2001 From: Timothée Ravier Date: Sep 23 2022 20:05:01 +0000 Subject: [PATCH 2/2] common: Move bootupd to arch specific package list We only have bootup for x86 & aarch64. Fixes: d34e2ee common: add bootupd (cherry picked from commit 1515900d35d32183ef0982e19e91c30c06920f41) --- diff --git a/fedora-common-ostree.yaml b/fedora-common-ostree.yaml index 7b68b23..3ffc1be 100644 --- a/fedora-common-ostree.yaml +++ b/fedora-common-ostree.yaml @@ -9,7 +9,6 @@ packages: - git-core - lvm2 - rpm-ostree - - bootupd # Container management - buildah - podman @@ -50,8 +49,8 @@ check-groups: default_target: graphical.target -# Keep this in sync with fedora-atomic-host.json from fedora-atomic packages-aarch64: + - bootupd - grub2-efi - ostree-grub2 - efibootmgr @@ -66,6 +65,7 @@ packages-ppc64le: - grub2 - ostree-grub2 packages-x86_64: + - bootupd - grub2-efi-ia32 - grub2-efi-x64 - grub2-pc