From c35f81871c5b6783a0ce1769a1272f11564ea3f5 Mon Sep 17 00:00:00 2001 From: mustard Date: Mon, 20 Oct 2025 23:42:41 +0200 Subject: [PATCH] wip: add cure task --- Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Makefile b/Makefile index 72e55a7..8da2d9d 100644 --- a/Makefile +++ b/Makefile @@ -35,6 +35,15 @@ create-bundle: guard-domu mkdir -p .bundles git bundle create - --all > .bundles/qubes-mgmt-salt +# cures common weird states (thanks xyhhx for the tip) +# also try `sudo rm -rf /var/cache/salt /srv/salt/_tops/*` +.PHONY: cure +cure: + sudo rm -rf /var/cache/salt + sudo rm -rf /srv/salt/_tops/* + qubesctl saltutil.clear_cache + qubesctl saltutil.sync_all + .PHONY: pull pull/% pull: pull/$(shell git branch --show-current) pull/%: