1
0
mirror of synced 2026-01-23 02:28:13 +00:00
Axel Beckert cc2a6d4e41 Change all occurrences of $prefix in hooks and roles with $TARGET
"target" is also the name used in the debian installer for the
installation target while "prefix" is too ambiguous.
2013-04-18 21:01:19 +02:00

36 lines
454 B
Bash
Executable File

#!/bin/sh
#
# Configure the new image to have udev installed.
#
# Steve
# --
# http://www.steve.org.uk/
#
TARGET=$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 ${TARGET} udev
#
# Update APT lists.
#
chroot ${TARGET} /usr/bin/apt-get update