1
0
mirror of synced 2026-01-22 18:21:20 +00:00
steve 8d4454dd63 2006-03-13 10:00:32 by steve
Minor comment updates
2006-03-13 10:00:32 +00:00

45 lines
698 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
#
# This function installs a single package into the chroot, forcing
# the installation to be non-interactive.
#
function install_package
{
package=$1
DEBIAN_FRONTEND=noninteractive chroot ${prefix} /usr/bin/apt-get --yes --force-yes install $package
}
#
# Update APT lists.
#
chroot ${prefix} /usr/bin/apt-get update
#
# Install the packages
#
install_package dpkg-dev
install_package devscripts
install_package fakeroot
install_package debhelper
install_package build-essential
install_package lintian
install_package linda