- bootupd.yaml: Update comment URL to atomic-desktops/config on Forge - treecompose-post.sh: Update comment URL to atomic-desktops/config on Forge Assisted-by: Claude Opus 4.6 <noreply@anthropic.com> Signed-off-by: Paul Whalen <pwhalen@fedoraproject.org>
26 lines
1,009 B
YAML
26 lines
1,009 B
YAML
# KEEP THIS IN SYNC WITH https://github.com/coreos/fedora-coreos-config/blob/testing-devel/manifests/bootupd.yaml
|
|
# See also: https://forge.fedoraproject.org/atomic-desktops/config/src/branch/main/bootupd.yaml
|
|
#
|
|
# Integration with https://github.com/coreos/bootupd
|
|
packages:
|
|
- bootupd
|
|
|
|
postprocess:
|
|
- |
|
|
#!/bin/bash
|
|
set -xeuo pipefail
|
|
|
|
# Transforms /usr/lib/ostree-boot into a bootupd-compatible update payload
|
|
/usr/bin/bootupctl backend generate-update-metadata
|
|
|
|
# Enable migration to a static GRUB config
|
|
install -dm0755 /usr/lib/systemd/system/bootloader-update.service.d
|
|
cat > /usr/lib/systemd/system/bootloader-update.service.d/migrate-static-grub-config.conf << 'EOF'
|
|
[Service]
|
|
ExecStart=/usr/bin/bootupctl migrate-static-grub-config
|
|
EOF
|
|
|
|
echo "enable bootloader-update.service" >> /usr/lib/systemd/system-preset/80-iot.preset
|
|
|
|
# Turn permissive mode on for bootupd until all SELinux issues are fixed
|
|
semanage permissive --noreload --add bootupd_t
|