1
0
mirror of synced 2026-01-18 00:42:31 +00:00

36 lines
454 B
Bash
Executable File

#!/bin/sh
#
# Configure the new image to have udev installed.
#
# Steve
# --
# http://www.steve.org.uk/
#
prefix=$1
#
# Source our common functions - this will let us install a Debian package.
#
if [ -e /usr/share/xen-tools/common.sh ]; then
. /usr/share/xen-tools/common.sh
else
echo "Installation problem"
fi
#
# Install udev.
#
installDebianPackage ${prefix} udev
#
# Update APT lists.
#
chroot ${prefix} /usr/bin/apt-get update