ia64/xen-unstable

diff tools/hotplug/Linux/vif-route @ 19818:415505139333

Get rid of hardcoded pathes for stubdom and hotplug scripts

- Have the buid system generate a file which exports the install paths
for the hotplug scripts and stubdom / stubdom-dm
- Move file generation code from tools/python/Makefile into a gmake
macro
in Config.mk to avoid maintenance of three duplicates each with its
own
tweaks and bugs
- Export gmake variables into ioemu as shell variables
for upcoming ioemu patches
- Do above as a gmake macro to avoid maintenance of several duplicates
- Adjust hotplug scripts to find the right xen binaries from the
install directory
- Adjust stubdom-dm to use the install directories

Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
author Keir Fraser <keir.fraser@citrix.com>
date Tue Jun 23 17:25:51 2009 +0100 (2009-06-23)
parents 4bfc67b09e9c
children
line diff
     1.1 --- a/tools/hotplug/Linux/vif-route	Tue Jun 23 17:24:14 2009 +0100
     1.2 +++ b/tools/hotplug/Linux/vif-route	Tue Jun 23 17:25:51 2009 +0100
     1.3 @@ -1,12 +1,12 @@
     1.4  #!/bin/bash
     1.5  #============================================================================
     1.6 -# /etc/xen/vif-route
     1.7 +# ${XEN_SCRIPT_DIR}/vif-route
     1.8  #
     1.9  # Script for configuring a vif in routed mode.
    1.10  # The hotplugging system will call this script if it is specified either in
    1.11  # the device configuration given to Xend, or the default Xend configuration
    1.12 -# in /etc/xen/xend-config.sxp.  If the script is specified in neither of those
    1.13 -# places, then vif-bridge is the default.
    1.14 +# in ${XEN_CONFIG_DIR}/xend-config.sxp.  If the script is specified in
    1.15 +# neither of those places, then vif-bridge is the default.
    1.16  #
    1.17  # Usage:
    1.18  # vif-route (add|remove|online|offline)