xen/xen-destdir.patch
Charles Arnold 465b125ccc - Update to Xen 4.20.0 RC4 release
* AMD/IOMMU: log IVHD contents
  * AMD/IOMMU: drop stray MSI enabling
  * radix-tree: introduce RADIX_TREE{,_INIT}()

OBS-URL: https://build.opensuse.org/package/show/Virtualization/xen?expand=0&rev=878
2025-02-10 15:02:29 +00:00

31 lines
870 B
Diff

--- a/tools/xs-clients/Makefile
+++ b/tools/xs-clients/Makefile
@@ -29,7 +29,7 @@ all: $(TARGETS)
clients: xenstore $(CLIENTS) xenstore-control
$(CLIENTS): xenstore
- ln -f xenstore $@
+ ln -sf xenstore $@
xenstore: xenstore_client.o
$(CC) $(LDFLAGS) $^ $(LDLIBS) -o $@ $(APPEND_LDFLAGS)
@@ -54,7 +54,7 @@ install: all
$(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
.PHONY: uninstall
--- a/tools/xenstored/Makefile
+++ b/tools/xenstored/Makefile
@@ -32,6 +32,7 @@ TAGS:
install: all
$(INSTALL_DIR) $(DESTDIR)$(sbindir)
$(INSTALL_PROG) xenstored $(DESTDIR)$(sbindir)
+ $(INSTALL_DIR) $(DESTDIR)$(bindir)
.PHONY: uninstall
uninstall: