summaryrefslogtreecommitdiff
path: root/system/xen/patches/symlinks_instead_of_hardlinks.diff
diff options
context:
space:
mode:
authormario <mario@slackverse.org>2013-02-10 02:52:17 -0600
committerErik Hanson <erik@slackbuilds.org>2013-02-14 00:26:35 -0600
commitc32a6ad81353c0d124c3150ccb677ad4224a7f61 (patch)
tree4cbad4c5e1c59d98d56ad72d761137aec51f4ae2 /system/xen/patches/symlinks_instead_of_hardlinks.diff
parent7f2f69966e97765c8fd54a70a29e8cafe006028e (diff)
downloadslackbuilds-c32a6ad81353c0d124c3150ccb677ad4224a7f61.tar.gz
system/xen: Added (the Xen virtualization hypervisor)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system/xen/patches/symlinks_instead_of_hardlinks.diff')
-rw-r--r--system/xen/patches/symlinks_instead_of_hardlinks.diff20
1 files changed, 20 insertions, 0 deletions
diff --git a/system/xen/patches/symlinks_instead_of_hardlinks.diff b/system/xen/patches/symlinks_instead_of_hardlinks.diff
new file mode 100644
index 0000000000..50af6c3254
--- /dev/null
+++ b/system/xen/patches/symlinks_instead_of_hardlinks.diff
@@ -0,0 +1,20 @@
+--- xen-4.2.0/tools/xenstore/Makefile.ORIG 2012-09-17 12:21:19.000000000 +0200
++++ xen-4.2.0/tools/xenstore/Makefile 2012-10-21 22:59:54.585759242 +0200
+@@ -64,7 +64,7 @@
+ $(AR) cr $@ $^
+
+ $(CLIENTS): xenstore
+- ln -f xenstore $@
++ ln -sf xenstore $@
+
+ xenstore: xenstore_client.o $(LIBXENSTORE)
+ $(CC) $(LDFLAGS) $< $(LDLIBS_libxenstore) $(SOCKET_LIBS) -o $@ $(APPEND_LDFLAGS)
+@@ -116,7 +116,7 @@
+ $(INSTALL_PROG) xenstore-control $(DESTDIR)$(BINDIR)
+ $(INSTALL_PROG) xenstore $(DESTDIR)$(BINDIR)
+ set -e ; for c in $(CLIENTS) ; do \
+- ln -f $(DESTDIR)$(BINDIR)/xenstore $(DESTDIR)$(BINDIR)/$${c} ; \
++ ln -sf xenstore $(DESTDIR)$(BINDIR)/$${c} ; \
+ done
+ $(INSTALL_DIR) $(DESTDIR)$(LIBDIR)
+ $(INSTALL_PROG) libxenstore.so.$(MAJOR).$(MINOR) $(DESTDIR)$(LIBDIR)