Add bootupd integration

This does what we should have done originally, and copies the
bootupd bits directly from
https://github.com/coreos/fedora-coreos-config/blob/testing-devel/manifests/bootupd.yaml

And uses them via includes.
This commit is contained in:
Colin Walters 2022-10-14 13:45:40 -04:00
parent 800b8fe900
commit 43a47ea209
2 changed files with 19 additions and 2 deletions

14
bootupd.yaml Normal file
View file

@ -0,0 +1,14 @@
# KEEP THIS IN SYNC WITH https://github.com/coreos/fedora-coreos-config/blob/testing-devel/manifests/bootupd.yaml
# Integration with https://github.com/coreos/bootupd
# xref https://github.com/coreos/fedora-coreos-tracker/issues/510
packages:
- bootupd
postprocess:
- |
#!/bin/bash
set -xeuo pipefail
# Until we have https://github.com/coreos/rpm-ostree/pull/2275
mkdir -p /run
# Transforms /usr/lib/ostree-boot into a bootupd-compatible update payload
/usr/bin/bootupctl backend generate-update-metadata /

View file

@ -5,6 +5,11 @@ mutate-os-release: "38"
include: fedora-common-ostree-pkgs.yaml
# See https://github.com/coreos/bootupd
arch-include:
x86_64: bootupd.yaml
aarch64: bootupd.yaml
packages:
- git-core
- lvm2
@ -50,7 +55,6 @@ check-groups:
default_target: graphical.target
packages-aarch64:
- bootupd
- grub2-efi
- ostree-grub2
- efibootmgr
@ -65,7 +69,6 @@ packages-ppc64le:
- grub2
- ostree-grub2
packages-x86_64:
- bootupd
- grub2-efi-ia32
- grub2-efi-x64
- grub2-pc