From 10c88f1c18b7526d4e2f18d6245ebd8fd22aae3d Mon Sep 17 00:00:00 2001 From: George Dunlap Date: Tue, 15 May 2012 16:28:11 +0100 Subject: tools: Install pv bootloaders in libexec rather than /usr/bin pygrub and xenpvnetboot are meant to be run by tools, and not by the user, and thus should be in /usr/lib/xen/bin rather than /usr/bin. Because most config files will still have an absolute path pointing to /usr/bin/pygrub, make a symbolic link that we will deprecate. Signed-off-by: George Dunlap Acked-by: Ian Campbell Committed-by: Ian Campbell --- tools/pygrub/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'tools/pygrub') diff --git a/tools/pygrub/Makefile b/tools/pygrub/Makefile index 1d6e659e63..f8c526279e 100644 --- a/tools/pygrub/Makefile +++ b/tools/pygrub/Makefile @@ -11,9 +11,11 @@ build: .PHONY: install install: all CC="$(CC)" CFLAGS="$(CFLAGS)" $(PYTHON) setup.py install \ - $(PYTHON_PREFIX_ARG) --root="$(DESTDIR)" --force - $(INSTALL_PYTHON_PROG) src/pygrub $(DESTDIR)/$(BINDIR)/pygrub + $(PYTHON_PREFIX_ARG) --root="$(DESTDIR)" \ + --install-scripts=$(DESTDIR)/$(PRIVATE_BINDIR) --force + $(INSTALL_PYTHON_PROG) src/pygrub $(DESTDIR)/$(PRIVATE_BINDIR)/pygrub $(INSTALL_DIR) $(DESTDIR)/var/run/xend/boot + ln -sf $(PRIVATE_BINDIR)/pygrub $(DESTDIR)/$(BINDIR) .PHONY: clean clean: -- cgit v1.2.3