aboutsummaryrefslogtreecommitdiffstats
path: root/tools/hotplug/common
Commit message (Collapse)AuthorAgeFilesLines
* hotplug: install hotplugpath.sh as data fileOlaf Hering2012-10-181-2/+2
| | | | | | | | | | | | | | rpmlint complains a script helper which is only sourced: [ 1875s] xen-tools.i586: W: script-without-shebang /etc/xen/scripts/hotplugpath.sh [ 1875s] This text file has executable bits set or is located in a path dedicated for [ 1875s] executables, but lacks a shebang and cannot thus be executed. If the file is [ 1875s] meant to be an executable script, add the shebang, otherwise remove the [ 1875s] executable bits or move the file elsewhere. Signed-off-by: Olaf Hering <olaf@aepfle.de> Acked-by: Ian Campbell <ian.campbell@citrix.com> Committed-by: Ian Campbell <ian.campbell@citrix.com>
* build: Make XEN_ROOT an absolute path.Keir Fraser2011-03-171-1/+1
| | | | | | | | Otherwise make can search the path relative to certain standard paths such as /usr/include (e.g., the line '-include $(XEN_ROOT)/.config' in Config.mk suffers from this). Signed-off-by: Keir Fraser <keir@xen.org>
* hoplugpath.sh: fix Makefile dependency.Keir Fraser2009-07-231-1/+1
| | | | | | | | | | | In tools/hotplug/common/Makefile, install-scripts depends on genpath. So add its dependency. Otherwise parallel build sometimes fails as follows. genpath and install-scripts command are being run simultaneously. So When install-scripts tries to install it, it can be under creation. Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
* Get rid of hardcoded pathes for stubdom and hotplug scriptsKeir Fraser2009-06-231-5/+11
| | | | | | | | | | | | | | | | | | - 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>
* tools: clean up handling of xen config and scripts directories.Keir Fraser2009-05-191-4/+0
| | | | | | | For now hardcode /etc w/o a prefix as there are hardcoded config paths in the code which would break otherwise. Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
* tools/hotplug: Separate OS-specific scripts.Keir Fraser2008-11-041-0/+37
Signed-off-by: Christoph Egger <Christoph.Egger@amd.com> Signed-off-by: Keir Fraser <keir.fraser@citrix.com>