Skip to content

Commit 1a15e03

Browse files
committed
Merge pull request #5 from xs-nanjing/CA-172846
CA-172846: Tools installed out of date when a Linux VM is freshly installed from templates
2 parents 42a4982 + af10e84 commit 1a15e03

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

mk/Makefile.deb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,10 +96,10 @@ $(SOURCEDIR)/%: $(REPO)/mk/%
9696
$(SOURCEDIR)/citrix.list: citrix.list
9797
$(call brand,$<) > $@
9898

99-
$(SOURCEDIR)/xe-daemon: $(XE_DAEMON_GO_SOURCES:%=$(REPO)/%) $(GOROOT)
99+
$(SOURCEDIR)/xe-daemon: $(XE_DAEMON_GO_SOURCES:%=$(GOBUILDDIR)/%) $(GOROOT)
100100
$(GOBIN) build $(GOFLAGS) -o $@ $<
101101

102-
$(SOURCEDIR)/xenstore: $(XENSTORE_GO_SOURCES:%=$(REPO)/%) $(GOROOT)
102+
$(SOURCEDIR)/xenstore: $(XENSTORE_GO_SOURCES:%=$(GOBUILDDIR)/%) $(GOROOT)
103103
$(GOBIN) build $(GOFLAGS) -o $@ $<
104104

105105
$(SOURCEDIR)/LICENSE: $(REPO)/LICENSE

mk/Makefile.rpm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,10 +97,10 @@ $(RPM_SOURCESDIR)/%: $(REPO)/mk/%
9797
mkdir -p $(RPM_SOURCESDIR)
9898
$(call brand,$<) > $@
9999

100-
$(RPM_SOURCESDIR)/xe-daemon: $(XE_DAEMON_GO_SOURCES:%=$(REPO)/%) $(GOROOT)
100+
$(RPM_SOURCESDIR)/xe-daemon: $(XE_DAEMON_GO_SOURCES:%=$(GOBUILDDIR)/%) $(GOROOT)
101101
$(GOBIN) build $(GOFLAGS) -o $@ $<
102102

103-
$(RPM_SOURCESDIR)/xenstore: $(XENSTORE_GO_SOURCES:%=$(REPO)/%) $(GOROOT)
103+
$(RPM_SOURCESDIR)/xenstore: $(XENSTORE_GO_SOURCES:%=$(GOBUILDDIR)/%) $(GOROOT)
104104
$(GOBIN) build $(GOFLAGS) -o $@ $<
105105

106106
$(RPM_SOURCESDIR)/LICENSE: $(REPO)/LICENSE

mk/Makefile.tgz

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,10 @@ $(SOURCEDIR)/%: $(REPO)/mk/%
7979
$(SOURCEDIR)/citrix.list: citrix.list
8080
$(call brand,$<) > $@
8181

82-
$(SOURCEDIR)/xe-daemon: $(XE_DAEMON_GO_SOURCES:%=$(REPO)/%) $(GOROOT)
82+
$(SOURCEDIR)/xe-daemon: $(XE_DAEMON_GO_SOURCES:%=$(GOBUILDDIR)/%) $(GOROOT)
8383
$(GOBIN) build $(GOFLAGS) -o $@ $<
8484

85-
$(SOURCEDIR)/xenstore: $(XENSTORE_GO_SOURCES:%=$(REPO)/%) $(GOROOT)
85+
$(SOURCEDIR)/xenstore: $(XENSTORE_GO_SOURCES:%=$(GOBUILDDIR)/%) $(GOROOT)
8686
$(GOBIN) build $(GOFLAGS) -o $@ $<
8787

8888
$(GOBUILDDIR)/%: $(GO_SOURCE_REPO)/%

0 commit comments

Comments
 (0)