From fd135e43d2c129d54980c3ba8da89ab6f6cf58a7 Mon Sep 17 00:00:00 2001 From: Eriq Taing Date: Sun, 8 Jun 2025 21:29:37 -0400 Subject: [PATCH] Removed ublue-os-update-services and moved from rpm-ostree to bootc update. Also added an update to notify on completed download. --- files/systemd/system/notify_update.service | 13 +++++++++++++ recipes/components/base-module.yml | 3 +-- 2 files changed, 14 insertions(+), 2 deletions(-) create mode 100644 files/systemd/system/notify_update.service diff --git a/files/systemd/system/notify_update.service b/files/systemd/system/notify_update.service new file mode 100644 index 0000000..306e301 --- /dev/null +++ b/files/systemd/system/notify_update.service @@ -0,0 +1,13 @@ +[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 +# For when only in graphical session +ExecCondition=/lib/systemd/systemd-xdg-autostart-condition "wlroots:sway:Wayfire:labwc:Hyprland" "" +ExecStart=/usr/bin/notify-send "New system update downloaded\!" + +[Install] +WantedBy=bootc-status-updated.target \ No newline at end of file diff --git a/recipes/components/base-module.yml b/recipes/components/base-module.yml index 3b20b14..9a0521e 100644 --- a/recipes/components/base-module.yml +++ b/recipes/components/base-module.yml @@ -6,13 +6,12 @@ modules: install: packages: - ublue-os-udev-rules - - ublue-os-update-services - ublue-os-signing - type: systemd system: enabled: - - rpm-ostreed-automatic.timer + - bootc-fetch-apply-updates.timer - podman-auto-update.timer - flatpak-system-update.timer user: