Commit Graph
33 Commits
Author SHA1 Message Date
kfraser@localhost.localdomain 54ca5bdead Fix udev check.
Quiesce 'which' invocation, and allow expanding variables in error
message.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
2007-01-12 14:32:41 +00:00
Ewan Mellor bb2c5572dc Fix check_udev in the case where udev is missing -- test's -a does not shortcut.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-12-15 09:50:33 +00:00
kfraser@localhost.localdomain d746429dbb Remove unused function from check script.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-12-15 09:17:41 +00:00
Ewan Mellor 2db8f7202c Tidy up.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-12-14 17:25:38 +00:00
kfraser@localhost.localdomain a0bf728f15 [TOOLS] Fix check-script compatibility with non-bash shells.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-12-14 16:00:31 +00:00
kfraser@localhost.localdomain 23496e5afb [TOOLS] A couple of check-script cleanups.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-12-14 15:12:38 +00:00
kfraser@localhost.localdomain 96134532ec Add another package check (python-xml).
Signed-off-by: Jan Beulich <jbeulich@novell.com>
2006-12-14 14:13:18 +00:00
Ewan Mellor 7169017f84 Make the xenfb tools an optional part of the build, as they introduce new
dependencies (libvncserver and libsdl devel packages).  Enable them with
XENFB_TOOLS=y.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-12-02 16:39:53 +00:00
Alastair Tse b331298825 [TOOLS] Checks for libvncserver-dev and libsdl-dev.
Signed-off-by: Alastair Tse <atse@xensource.com>
2006-12-01 15:12:48 +00:00
kfraser@localhost.localdomain d8bd52ce0d [TOOLS] Check for python-devel.
Thanks to Ewan Mellor, Anthony Liguori, and Daniel P. Berrange for
pointing out problems with and solutions for the problems with the
first version.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
2006-11-22 10:30:05 +00:00
kfraser@localhost.localdomain 9b4ed67d25 [TOOLS] Rename chekc_hotplug to check_udev and fix permissions.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-11-15 14:59:57 +00:00
awilliam@xenbuild.aw a63ce0c65d merge with xen-unstable.hg 2006-11-13 09:58:23 -07:00
kfraser@localhost.localdomain 68a3e1e873 [TOOLS] Add more checks for devel packages.
On different systems I ran into different build failures that can be
made more understandable by adding appropriate -devel package
installation checks.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
2006-11-13 14:01:17 +00:00
kfraser@localhost.localdomain ee89b4ab59 Fix 'chk' scripts for generic shell (non-bash) and *BSD.
From: Christoph Egger <Christoph.Egger@amd.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-10-18 15:26:08 +01:00
kfraser@localhost.localdomain 5b8acb9ddf [SOLARIS] Disable "chk" script. The tests aren't portable and there's little need for it.
Signed-off-by: John Levon <john.levon@sun.com>
2006-10-17 18:17:19 +01:00
kaf24@firebug.cl.cam.ac.uk 9f019b36fd [TOOLS] Enhance Python version check for v2.5.
From: Charles Coffing <ccoffing@novell.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-09-13 13:54:59 +01:00
kaf24@firebug.cl.cam.ac.uk b5fa90ac8e build: Clean up use of .PHONY
* Move .PHONY directives next to targets,
  this makes them a lot harder to miss
* Add missing .PHONY directives
* Remove nonexistent .PHONY directives
* Hopefully I didn'T miss anything...

Signed-Off-By: Horms <horms@verge.net.au>
2006-04-10 17:02:49 +01:00
emellor@leeni.uk.xensource.com f3ac9a462d check_hotplug fails on one of my machines running ubunto 4.10 "Warty
Warhog", due to misparsing the udevinfo version string. The problem is
caused by an old version of sed that does not appreciate the
regexp. This patch fixes it, and also works on debian unstable and
SLES9SP2. Please apply...

Signed-Off-By: Muli Ben-Yehuda <mulix@mulix.org>
Signed-Off-By: Orna Agmon <ladypine@ladypine.org>
2005-11-25 15:26:19 +00:00
emellor@leeni.uk.xensource.com 20e3f38ade Changes check for "udev", so that it works on debian sid (that does not
have /sbin/udev anymore).

Signed-off-by: Murillo F. Bernardes <mfb@br.ibm.com>
2005-11-21 17:03:21 +01:00
kaf24@firebug.cl.cam.ac.uk e7b975b0b6 If /sbin/ isn't in the path, udev rules will erroneously not get
installed.

Signed-off-by: Nivedita Singhvi <niv@us.ibm.com>
2005-11-14 11:05:34 +01:00
kaf24@firebug.cl.cam.ac.uk 726081b63b Add installation of the udev rules if appropriate. With a normal 'make
install', the udev rules will be installed if udev version is >= 059;
otherwise, the hotplug rules get installed.

When 'make dist' is done, we set a variable so that both hotplug and
udev rules are installed into the dist tarball.  install.sh then takes
care of picking the proper rules.

Also changes the hotplug check to look for a proper udev version

Signed-off-by: Jeremy Katz <katzj@redhat.com>
2005-10-07 14:47:45 +01:00
kaf24@firebug.cl.cam.ac.uk 34a8699cc7 Add an install-time check for hotplug.
The hotplug subsystem is currently needed for block devices to work, as
of changeset 6742:e9d01c5dc7b4d6b7cda9ade0d137ddb89bb204cc.  Add a
script to check for the presence of hotplug and warn if it isn't found.

Signed-off-by: Michael Vrable <mvrable@cs.ucsd.edu>
2005-09-23 20:09:59 +01:00
kaf24@firebug.cl.cam.ac.uk a5c2e9df35 Clean up tools/check error reporting. Remove logging.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-09-02 09:02:13 +00:00
kaf24@firebug.cl.cam.ac.uk c544d29d6f Make the check script log to /tmp instead of the working directory. This
allows us to install from a read-only file system (such as a cdrom).

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2005-09-02 07:55:45 +00:00
kaf24@firebug.cl.cam.ac.uk 76b6940929 Remove curl checks. Patch from Anthony Liguori. 2005-09-01 08:11:16 +00:00
cl349@firebug.cl.cam.ac.uk 50f2601af9 bitkeeper revision 1.1533 (429379beNzrMmx_MJCmvdmLhK3EMfw)
migrate.py, params.py, SrvDaemon.py, xend, Makefile:
  Remove xfrd now that save/restore doesn't use xfrd anymore.
console.py:
  Remove/disable debug output.
.del-check_twisted~f74b05eb88f208a1:
  Delete: tools/check/check_twisted
xend:
  Twisted is no longer used -- remove check whether it's installed or not.
.del-Makefile~474b093f3e64d016:
  Delete: tools/xfrd/Makefile
.del-xfrdClient.py~d1d33f981191dfa:
  Delete: tools/xfrd/xfrdClient.py
.del-xfrd.h~54f8ea6e77cf4f26:
  Delete: tools/xfrd/xfrd.h
.del-xfrd.c~e3be851c3a4297a5:
  Delete: tools/xfrd/xfrd.c
.del-xen_domain.h~4a0c609ff18c63a8:
  Delete: tools/xfrd/xen_domain.h
.del-xen_domain.c~cd85f330a909fbce:
  Delete: tools/xfrd/xen_domain.c
.del-select.h~348b2b069dd5748:
  Delete: tools/xfrd/select.h
.del-select.c~373282d5f920303d:
  Delete: tools/xfrd/select.c
.del-marshal.h~9929a72563171372:
  Delete: tools/xfrd/marshal.h
.del-marshal.c~3108fab658d2220:
  Delete: tools/xfrd/marshal.c
.del-lzi_stream.h~49308e7b16ba42e3:
  Delete: tools/xfrd/lzi_stream.h
.del-lzi_stream.c~e1870394f081f255:
  Delete: tools/xfrd/lzi_stream.c
.del-debug.h~c268d8f144e5e4da:
  Delete: tools/xfrd/debug.h
.del-connection.h~ac7cb6a42316a421:
  Delete: tools/xfrd/connection.h
.del-connection.c~c025e96fc5649424:
  Delete: tools/xfrd/connection.c
.del-Make.xfrd~5a18d2f63aad1d40:
  Delete: tools/xfrd/Make.xfrd
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-05-24 19:00:14 +00:00
iap10@freefall.cl.cam.ac.uk 4d872314e5 bitkeeper revision 1.1159.258.102 (42642814jW88x6oBUhJL6cOEJiTYjA)
Add a check for the 'ip' iproute tools in the install script.
Suggested by Sam Johnston [samjie@gmail.com]
Signed-off-by: ian@xensource.com
2005-04-18 21:35:16 +00:00
iap10@labyrinth.cl.cam.ac.uk a5f3892433 bitkeeper revision 1.1159.165.1 (418aa0f4koam0mhscMMP2HGuqLK5kQ)
install.sh now does a few checks to warn the user if prerequisite tools are missing.
2004-11-04 21:36:52 +00:00
kaf24@freefall.cl.cam.ac.uk 1707cb78aa bitkeeper revision 1.1159.152.4 (4188f5d8214qWxCDmCbxEQwQcQ3hww)
Doc update
2004-11-03 15:14:32 +00:00
iap10@labyrinth.cl.cam.ac.uk 794fd1725d bitkeeper revision 1.1159.1.94 (412723d6gmOYtgyWHkWx2fG6l1ywZA)
Merge ssh://xenbk@gandalf.hpl.hp.com//var/bk/xeno-unstable.bk
into labyrinth.cl.cam.ac.uk:/auto/anfs/scratch/labyrinth/iap10/xeno-clone/xeno.bk
2004-08-21 10:28:38 +00:00
mjw@wray-m-3.hpl.hp.com 91aab13737 bitkeeper revision 1.1159.1.93 (4125c70e11lFDGflDwFuyzc6vyhLEA)
Suppress logging check as we auto-install it.
2004-08-20 09:40:30 +00:00
iap10@labyrinth.cl.cam.ac.uk 2d02990327 bitkeeper revision 1.1159.45.7 (4125abbbALjz7ttvo9UYMDVzVkYmFA)
misc cleanups
2004-08-20 07:43:55 +00:00
mjw@wray-m-3.hpl.hp.com b0b7188948 bitkeeper revision 1.1159.1.88 (4124b308xrxOcaDBfOP8TGkxArG9Yg)
Checking scripts for the things Xen needs for build and install.
2004-08-19 14:02:48 +00:00