wip: add cure task

This commit is contained in:
mustard 2025-10-20 23:42:41 +02:00
parent b9d95e621c
commit c35f81871c

View file

@ -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/%: