diff --git a/build_files/bootc-fetch-apply-updates.service b/build_files/bootc-fetch-apply-updates.service new file mode 100644 index 0000000..b0a031b --- /dev/null +++ b/build_files/bootc-fetch-apply-updates.service @@ -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 diff --git a/build_files/build.sh b/build_files/build.sh index a79ac55..38f311f 100755 --- a/build_files/build.sh +++ b/build_files/build.sh @@ -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