ia64/xen-unstable

changeset 7052:7b97bc1d1c1d

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>
author kaf24@firebug.cl.cam.ac.uk
date Fri Sep 23 20:09:59 2005 +0100 (2005-09-23)
parents 46f92c4fde1d
children b2928ee8ddcd
files tools/check/check_hotplug
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/tools/check/check_hotplug	Fri Sep 23 20:09:59 2005 +0100
     1.3 @@ -0,0 +1,10 @@
     1.4 +#!/bin/bash
     1.5 +# CHECK-INSTALL
     1.6 +
     1.7 +function error {
     1.8 +   echo
     1.9 +   echo '  *** Check for the hotplug scripts (hotplug) FAILED'
    1.10 +   exit 1
    1.11 +}
    1.12 +
    1.13 +which hotplug 1>/dev/null 2>&1 || error