summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormin li <min.li1@citrix.com>2019-05-08 10:09:15 +0800
committerGitHub <noreply@github.com>2019-05-08 10:09:15 +0800
commit07ab55cd688e2430b6b0d754a8421a01d69ac260 (patch)
tree95647608036bdd0efc115e3c9dc76b40716cf3ef
parentcfe088c09c2f1c98cf4443f961a7c68521cff3f1 (diff)
parentd2e891547e4d4a75f200a37df1ee473cd74022a3 (diff)
downloadvyos-xe-guest-utilities-07ab55cd688e2430b6b0d754a8421a01d69ac260.tar.gz
vyos-xe-guest-utilities-07ab55cd688e2430b6b0d754a8421a01d69ac260.zip
Merge pull request #60 from cheese/patch-1
Make xenstore utilities link to relative path
-rw-r--r--Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 7060ff6..11f3683 100644
--- a/Makefile
+++ b/Makefile
@@ -55,11 +55,11 @@ $(DISTDIR)/$(PACKAGE)_$(VERSION)-$(RELEASE)_$(ARCH).tgz: $(OBJECTS)
install -m 755 $(OBJECTDIR)/xe-daemon $(STAGEDIR)/usr/sbin/xe-daemon ; \
install -d $(STAGEDIR)/usr/bin/ ; \
install -m 755 $(OBJECTDIR)/xenstore $(STAGEDIR)/usr/bin/xenstore ; \
- ln -sf /usr/bin/xenstore $(STAGEDIR)/usr/bin/xenstore-read ; \
- ln -sf /usr/bin/xenstore $(STAGEDIR)/usr/bin/xenstore-write ; \
- ln -sf /usr/bin/xenstore $(STAGEDIR)/usr/bin/xenstore-exists ; \
- ln -sf /usr/bin/xenstore $(STAGEDIR)/usr/bin/xenstore-rm ; \
- ln -sf /usr/bin/xenstore $(STAGEDIR)/usr/bin/xenstore-list ; \
+ ln -sf xenstore $(STAGEDIR)/usr/bin/xenstore-read ; \
+ ln -sf xenstore $(STAGEDIR)/usr/bin/xenstore-write ; \
+ ln -sf xenstore $(STAGEDIR)/usr/bin/xenstore-exists ; \
+ ln -sf xenstore $(STAGEDIR)/usr/bin/xenstore-rm ; \
+ ln -sf xenstore $(STAGEDIR)/usr/bin/xenstore-list ; \
install -d $(STAGEDIR)/etc/udev/rules.d/ ; \
install -m 644 $(SOURCEDIR)/xen-vcpu-hotplug.rules $(STAGEDIR)/etc/udev/rules.d/z10_xen-vcpu-hotplug.rules ; \
cd $(STAGEDIR) ; \