mirror of
https://pagure.io/workstation-ostree-config.git
synced 2026-11-03 21:49:45 -09:00
bootupd: Remove bootloader-update.service (now part of bootupd)
See: https://github.com/coreos/bootupd/pull/803
This commit is contained in:
parent
9fc140f7b1
commit
a3582cdd36
1 changed files with 0 additions and 16 deletions
16
bootupd.yaml
16
bootupd.yaml
|
|
@ -12,22 +12,6 @@ postprocess:
|
|||
# Transforms /usr/lib/ostree-boot into a bootupd-compatible update payload
|
||||
/usr/bin/bootupctl backend generate-update-metadata
|
||||
|
||||
# Trigger a bootloader update on boot
|
||||
cat > /usr/lib/systemd/system/bootloader-update.service << 'EOF'
|
||||
[Unit]
|
||||
Description=Update bootloader on boot
|
||||
Documentation=https://github.com/coreos/bootupd
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/usr/bin/bootupctl update
|
||||
RemainAfterExit=yes
|
||||
MountFlags=slave
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
EOF
|
||||
chmod 644 /usr/lib/systemd/system/bootloader-update.service
|
||||
echo "enable bootloader-update.service" > /usr/lib/systemd/system-preset/81-atomic-desktop.preset
|
||||
|
||||
# Turn permissive mode on for bootupd until all SELinux issues are fixed
|
||||
|
|
|
|||
Loading…
Reference in a new issue