Attempt to utilize bling module ublue-update instead of personal systemd units.
Some checks failed
bluebuild-nvidia / Build Custom Image (recipe_nvidia.yml) (pull_request) Failing after 1m37s
bluebuild / Build Custom Image (recipe.yml) (pull_request) Failing after 1m30s

This commit is contained in:
2025-06-14 12:48:35 -04:00
parent 5a4123097e
commit cf132260df
12 changed files with 12 additions and 93 deletions

View File

@@ -1,10 +0,0 @@
[Unit]
Description=Monitor bootc for status changes
Documentation=man:bootc-status-updated.path(5)
[Path]
PathExists=/tmp/hydro-os-updated
Unit=bootc-status-updated.target
[Install]
WantedBy=multi-user.target

View File

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

View File

@@ -1,5 +0,0 @@
[Unit]
Description=Update flatpaks
[Service]
ExecStart=flatpak update --noninteractive

View File

@@ -1,9 +0,0 @@
[Unit]
Description=Update flatpak
[Timer]
OnBootSec=15min
OnCalendar=daily
[Install]
WantedBy=timers.target

View File

@@ -1,11 +0,0 @@
[Unit]
Description=Notify the user when the next update has been downloaded.
# order after update has been applied
After=bootc-status-updated.target
[Service]
Type=exec
ExecStart=/usr/bin/systemd-run --user notify-send 'Update Downloaded!' 'A new update has been downloaded! Please restart to apply update!'
[Install]
WantedBy=bootc-status-updated.target