debug: add debug echos to help figure out make pull errors
This commit is contained in:
parent
37bf73a3ab
commit
fccd1d4049
1 changed files with 5 additions and 2 deletions
7
Makefile
7
Makefile
|
|
@ -30,15 +30,18 @@ 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)
|
||||||
|
|
||||||
git remote add $(GUEST) $(BUNDLEIN) || true
|
git remote add $(GUEST) $(BUNDLEIN) || true
|
||||||
|
|
||||||
git pull $(GUEST) $*:$*
|
git pull $(GUEST) $*:$*
|
||||||
|
|
||||||
qvm-run -p $(GUEST) "cd $(GUEST_REPO) && git update-ref refs/remotes/dom0/$* $*" </dev/null
|
qvm-run -p $(GUEST) "cd $(GUEST_REPO) && git update-ref refs/remotes/dom0/$* $*" </dev/null
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue