ia64/xen-unstable

diff tools/hotplug/Linux/network-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/network-route	Tue Jun 23 17:24:14 2009 +0100
     1.2 +++ b/tools/hotplug/Linux/network-route	Tue Jun 23 17:25:51 2009 +0100
     1.3 @@ -2,7 +2,7 @@
     1.4  #============================================================================
     1.5  # Default Xen network start/stop script.
     1.6  # Xend calls a network script when it starts.
     1.7 -# The script name to use is defined in /etc/xen/xend-config.sxp
     1.8 +# The script name to use is defined in ${XEN_CONFIG_DIR}/xend-config.sxp
     1.9  # in the network-script field.
    1.10  #
    1.11  # Usage:
    1.12 @@ -17,6 +17,7 @@
    1.13  #============================================================================
    1.14  
    1.15  dir=$(dirname "$0")
    1.16 +. "$dir/hotplugpath.sh"
    1.17  . "$dir/xen-script-common.sh"
    1.18  
    1.19  evalVariables "$@"