Moved to fedora-release package. See: https://bugzilla.redhat.com/show_bug.cgi?id=2403094 See: https://src.fedoraproject.org/rpms/fedora-release/pull-request/390
23 lines
884 B
YAML
23 lines
884 B
YAML
# 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
|
|
|
|
# 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
|
|
|
|
# Turn permissive mode on for bootupd until all SELinux issues are fixed
|
|
semanage permissive --noreload --add bootupd_t
|