FIX: don't reboot on automatic update

This commit is contained in:
2025-11-22 18:18:28 +01:00
parent 271c052a2e
commit 826dff4480
2 changed files with 10 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
[Unit]
Description=Fetch bootc updates
Documentation=man:bootc(8)
ConditionPathExists=/run/ostree-booted
[Service]
Type=oneshot
ExecStart=/usr/bin/bootc upgrade --quiet
TimeoutStopFailureMode=abort

View File

@@ -1,6 +1,7 @@
#!/bin/bash
set -ouex pipefail
cp /ctx/bootc-fetch-apply-updates.service /usr/lib/systemd/system/bootc-fetch-apply-updates.service
dnf5 update -y
dnf5 install -y man-pages man-db glibc-langpack-en glibc-langpack-de plymouth