From 6e4e3b7c5dacecb6bec15da7b78217bfe45d55dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Fri, 22 Nov 2019 01:01:20 +0100 Subject: [PATCH] Re-run update status notification after the update It may happen that no updates are available anymore (for example already installed). In this case apt nor dnf run our notification hooks, so informations about "no updates" is never send and template stays in "updates available" state forever. Fixes QubesOS/qubes-issues#4650 (cherry picked from commit 4ae92f868f9561422ceaba89ab42658a0d7cb285) --- update/qubes-vm.sls | 3 +++ 1 file changed, 3 insertions(+) diff --git a/update/qubes-vm.sls b/update/qubes-vm.sls index ca6f7ae..b18245b 100644 --- a/update/qubes-vm.sls +++ b/update/qubes-vm.sls @@ -48,3 +48,6 @@ update: - cmd: dsa-4371-update {% endif %} +notify-updates: + cmd.run: + - name: /usr/lib/qubes/upgrades-status-notify