Attempting to use system bootc-status-updated to flag the user side.
All checks were successful
bluebuild-nvidia / Build Custom Image (recipe_nvidia.yml) (pull_request) Successful in 12m35s
bluebuild / Build Custom Image (recipe.yml) (pull_request) Successful in 8m25s

This commit is contained in:
2025-06-14 10:36:39 -04:00
parent f8ee64c130
commit 9e0dc3216f
3 changed files with 12 additions and 4 deletions

View File

@@ -0,0 +1,10 @@
[Unit]
Description=Create a file to flag that an update has been downloaded
After=bootc-status-updated.target
[Service]
Type=exec
ExecStart=/usr/bin/touch /tmp/hydro-os-updated
[Install]
WantedBy=bootc-status-updated.target

View File

@@ -1,10 +1,9 @@
[Unit] [Unit]
Description=Monitor bootc for status changes Description=Monitor bootc for status changes
Documentation=man:bootc-status-updated.path(5) Documentation=man:bootc-status-updated.path(5)
ConditionPathExists=/run/ostree-booted
[Path] [Path]
PathChanged=/ostree/bootc PathExists=/tmp/hydro-os-updated
Unit=bootc-status-updated.target Unit=bootc-status-updated.target
[Install] [Install]

View File

@@ -1,5 +1,4 @@
[Unit] [Unit]
Description=Target for bootc status changes Description=Target for bootc status changes
Documentation=man:bootc-status-updated.target(5) Documentation=man:bootc-status-updated.target(5)
StopWhenUnneeded=true StopWhenUnneeded=true
ConditionPathExists=/run/ostree-booted