1
0
mirror of synced 2026-01-14 15:35:18 +00:00

36 lines
447 B
Bash
Executable File

#!/bin/sh
#
# Configure the new image to have udev installed.
#
# Steve
# --
# https://steve.fi/
#
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