From: Olaf Hering Subject: [PATCH 00/12] more tools changes to honor --prefix= Date: Thu, 24 Apr 2014 10:36:43 +0200 Message-ID: <1398328615-28461-1-git-send-email-olaf@aepfle.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xen.org Cc: Olaf Hering , Ian.Jackson@eu.citrix.com, Ian.Campbell@citrix.com List-Id: xen-devel@lists.xenproject.org In my attempt to get a xen.rpm from 'make rpmball' which operates entirely below the configured --prefix= I came up with these changes. Up to now there was very little runtime testing. A PV and HVM guest starts fine. Outstanding is a change to pygrub, which does not find the site-packages below --prefix= if PYTHONPATH is not set. This series contains also two unrelated cleanup changes at the end. Olaf Hering (12): Config.mk: move directory list into BUILD_MAKE_VARS Config.mk: replace dependency to genpath with actual target Config.mk: add new macro buildmakevars2header tools/libxl: use buildmakevars2header to create _paths.h tools/libxc: provide variable paths to libxc tools/libxc: use XEN_RUN_DIR for SUSPEND_LOCK_FILE tools/pygrub: store kernels in /var/run/xen/pygrub tools/hotplug: use XEN_SCRIPT_DIR instead of hardcoded path tools/hotplug: create XEN_RUN_DIR at runtime tools/hotplug: create XEN_LOCK_DIR at runtime tools/examples: remove obsolete install targets remove obsolete SUBSYS_DIR variable Config.mk | 22 ++++++++++++++++++---- docs/misc/distro_mapping.txt | 1 - stubdom/Makefile | 16 ++++++++-------- tools/examples/Makefile | 21 +-------------------- tools/hotplug/Linux/Makefile | 30 ++++++++++++++++++++++-------- tools/hotplug/Linux/init.d/xen-watchdog | 2 +- tools/hotplug/Linux/init.d/xencommons | 5 +++-- tools/hotplug/Linux/init.d/xendomains | 2 +- tools/hotplug/Linux/vif-setup | 2 +- tools/hotplug/Linux/xen-backend.rules | 16 ++++++++-------- tools/hotplug/Linux/xen-hotplug-common.sh | 2 +- tools/hotplug/common/Makefile | 2 +- tools/libxc/Makefile | 8 ++++++++ tools/libxc/xc_private.h | 1 + tools/libxc/xc_suspend.c | 2 +- tools/libxl/Makefile | 7 +------ tools/pygrub/src/pygrub | 13 ++++++++++++- tools/python/Makefile | 2 +- 18 files changed, 89 insertions(+), 65 deletions(-)