1
0
mirror of synced 2026-01-14 07:29:42 +00:00
steve 4ddc86bb69 2006-08-25 10:54:25 by steve
1.  Added new global function in our global functions file "removeDebianPackage".

  2.  Updated all role scripts to use the common function code instead of their own individual functions.
2006-08-25 10:54:25 +00:00

44 lines
737 B
Bash
Executable File

#!/bin/sh
#
# Configure the new image to be suitable for compiling Debian packages within
#
# Steve
# --
# http://www.steve.org.uk/
#
prefix=$1
#
# Source our common functions - this will let us install a Debian package.
#
if [ -e /usr/lib/xen-tools/common.sh ]; then
. /usr/lib/xen-tools/common.sh
else
echo "Installation problem"
fi
#
# Update APT lists.
#
chroot ${prefix} /usr/bin/apt-get update
#
# Install the packages
#
installDebianPackage ${prefix} dpkg-dev
installDebianPackage ${prefix} devscripts
installDebianPackage ${prefix} fakeroot
installDebianPackage ${prefix} debhelper
installDebianPackage ${prefix} build-essential
installDebianPackage ${prefix} lintian
installDebianPackage ${prefix} linda