From 6c6b085beced4251777c753389dedeacdeced75e Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Tue, 25 Aug 2009 14:57:45 +0100 Subject: pygrub: Set path in #! line of pygrub, too pygrub currently has a hardcoded path of /usr/bin/python which is not correct if the version of python at install time is not the same as that at build time. This patch uses the existing install-wrap and python/get-path machinery. (It does not address the currently-existing bug that the get-path machinery works by assuming that `python' is a symlink, rather than querying the python interpreter for its version.) Signed-off-by: Ian Jackson --- tools/misc/Makefile | 5 ----- 1 file changed, 5 deletions(-) (limited to 'tools/misc/Makefile') diff --git a/tools/misc/Makefile b/tools/misc/Makefile index 07a09708fe..d609971813 100644 --- a/tools/misc/Makefile +++ b/tools/misc/Makefile @@ -26,11 +26,6 @@ INSTALL_SBIN-y := xm xen-bugtool xen-python-path xend xenperf xsview xenpm xen-t INSTALL_SBIN-$(CONFIG_X86) += xen-hvmctx INSTALL_SBIN := $(INSTALL_SBIN-y) -DEFAULT_PYTHON_PATH := $(shell $(XEN_ROOT)/tools/python/get-path) -PYTHON_PATH ?= $(DEFAULT_PYTHON_PATH) -INSTALL_PYTHON_PROG = $(XEN_ROOT)/tools/python/install-wrap \ -"$(PYTHON_PATH)" $(INSTALL_PROG) - .PHONY: all all: build -- cgit v1.2.3