2011-03-21 17:47:37 +01:00
|
|
|
Index: xen-4.1.0-testing/tools/xenstore/Makefile
|
2008-11-25 15:57:48 +01:00
|
|
|
===================================================================
|
2011-03-21 17:47:37 +01:00
|
|
|
--- xen-4.1.0-testing.orig/tools/xenstore/Makefile
|
|
|
|
+++ xen-4.1.0-testing/tools/xenstore/Makefile
|
|
|
|
@@ -58,6 +58,7 @@ $(CLIENTS_DOMU): xenstore
|
2008-11-25 15:57:48 +01:00
|
|
|
|
|
|
|
xenstore: xenstore_client.o $(LIBXENSTORE)
|
|
|
|
$(CC) $(CFLAGS) $(LDFLAGS) $< -L. -lxenstore $(SOCKET_LIBS) -o $@
|
|
|
|
+ $(CC) $(CFLAGS) $(LDFLAGS) -Wl,--build-id=uuid $< -L. -lxenstore $(SOCKET_LIBS) -o domu-$@
|
|
|
|
|
|
|
|
xenstore-control: xenstore_control.o $(LIBXENSTORE)
|
|
|
|
$(CC) $(CFLAGS) $(LDFLAGS) $< -L. -lxenstore $(SOCKET_LIBS) -o $@
|
2011-03-21 17:47:37 +01:00
|
|
|
@@ -106,10 +107,11 @@ install: all
|
2008-11-25 15:57:48 +01:00
|
|
|
$(INSTALL_PROG) xenstore-control $(DESTDIR)$(BINDIR)
|
2009-05-04 18:38:09 +02:00
|
|
|
$(INSTALL_PROG) xenstore $(DESTDIR)$(BINDIR)
|
2008-11-25 15:57:48 +01:00
|
|
|
set -e ; for c in $(CLIENTS) ; do \
|
2009-05-04 18:38:09 +02:00
|
|
|
- ln -f $(DESTDIR)$(BINDIR)/xenstore $(DESTDIR)$(BINDIR)/$${c} ; \
|
2008-11-25 15:57:48 +01:00
|
|
|
+ ln -fs /usr/bin/xenstore $(DESTDIR)/usr/bin/$${c} ; \
|
|
|
|
done
|
|
|
|
+ $(INSTALL_PROG) domu-xenstore $(DESTDIR)/bin
|
|
|
|
for client in $(CLIENTS_DOMU); do \
|
|
|
|
- $(INSTALL_PROG) $$client $(DESTDIR)/bin/$${client/domu-}; \
|
|
|
|
+ ln -fs /bin/domu-xenstore $(DESTDIR)/bin/$${client/domu-}; \
|
|
|
|
done
|
|
|
|
$(INSTALL_DIR) $(DESTDIR)$(LIBDIR)
|
|
|
|
$(INSTALL_PROG) libxenstore.so.$(MAJOR).$(MINOR) $(DESTDIR)$(LIBDIR)
|