mirror of
https://github.com/ManInDark/bootc-image.git
synced 2026-01-20 22:44:28 +01:00
FIX: don't reboot on automatic update
This commit is contained in:
9
build_files/bootc-fetch-apply-updates.service
Normal file
9
build_files/bootc-fetch-apply-updates.service
Normal 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
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user