Index: xen-4.18.3-testing/tools/xs-clients/Makefile =================================================================== --- xen-4.18.3-testing.orig/tools/xs-clients/Makefile +++ xen-4.18.3-testing/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 Index: xen-4.18.3-testing/tools/xenstored/Makefile =================================================================== --- xen-4.18.3-testing.orig/tools/xenstored/Makefile +++ xen-4.18.3-testing/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: