wip: add cure task
This commit is contained in:
parent
b9d95e621c
commit
c35f81871c
1 changed files with 9 additions and 0 deletions
9
Makefile
9
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/%:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue