debug: add debug echos to help figure out make pull errors

This commit is contained in:
mustard 2025-10-20 15:53:33 +02:00
parent 37bf73a3ab
commit fccd1d4049

View file

@ -30,9 +30,12 @@ create-bundle = git show-ref --verify --quiet refs/remotes/$(1)/$* \
.PHONY: pull pull/% .PHONY: pull pull/%
pull: pull/$(shell git branch --show-current) pull: pull/$(shell git branch --show-current)
pull/%: pull/%:
echo "check dom0"
$(check-dom0) $(check-dom0)
echo "clean workdir"
$(clean-workdir) $(clean-workdir)
echo "creating bundle"
qvm-run -p $(GUEST) "cd $(GUEST_REPO) && $(call create-bundle,dom0)" </dev/null qvm-run -p $(GUEST) "cd $(GUEST_REPO) && $(call create-bundle,dom0)" </dev/null
qvm-run -p $(GUEST) "cat $(GUEST_REPO)/$(BUNDLEIN)" </dev/null >$(BUNDLEIN) qvm-run -p $(GUEST) "cat $(GUEST_REPO)/$(BUNDLEIN)" </dev/null >$(BUNDLEIN)