1
0
mirror of synced 2026-01-19 09:08:30 +00:00
steve c1e4d3531b 2006-06-15 07:42:59 by steve
Source common.sh from the parent directory if the global installation
 isn't found.
  This allows "make test" to succeed *before* the tools are installed.
2006-06-15 07:42:59 +00:00

41 lines
474 B
Bash
Executable File

#!/bin/sh
#
# This script ensures that the new guest images have a nicely
# populated /dev directory.
#
# Steve
# --
# http://www.steve.org.uk/
prefix=$1
#
# Source our common functions
#
if [ -e /usr/lib/xen-tools/common.sh ]; then
. /usr/lib/xen-tools/common.sh
else
. ../common.sh
fi
#
# Log our start
#
logMessage Script $0 starting
#
# Make the device nodes.
#
cd ${prefix}/dev
./MAKEDEV generic
#
# Log our finish
#
logMessage Script $0 finished