summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Lee <cheeselee@fedoraproject.org>2019-05-07 19:15:44 +0800
committerRobin Lee <cheeselee@fedoraproject.org>2019-05-07 19:16:41 +0800
commitd2e891547e4d4a75f200a37df1ee473cd74022a3 (patch)
tree95647608036bdd0efc115e3c9dc76b40716cf3ef
parentcfe088c09c2f1c98cf4443f961a7c68521cff3f1 (diff)
downloadvyos-xe-guest-utilities-d2e891547e4d4a75f200a37df1ee473cd74022a3.tar.gz
vyos-xe-guest-utilities-d2e891547e4d4a75f200a37df1ee473cd74022a3.zip
Make xenstore utilities link to relative path
Relative path linking makes the group of xenstore utilities more portable.
-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) ; \