#!/bin/sh MIRRORSITE="ftp://ftp.fr.debian.org/debian" COMPONENTS="main contrib non-free" BASEPATH="/var/cache/pbuilder/${DIST}.cow" #BINDMOUNTS="/var/cache/apt/archives" DISTRIBUTION=$(echo ${DIST}|cut -d- -f1) EXTRAPACKAGES="lintian" if echo ${DIST} | grep -q 'bpo' ; then #OTHERMIRROR="deb http://security.debian.org/ lenny/updates main | deb http://www.backports.org/debian lenny-backports main" EXTRAPACKAGES="${EXTRAPACKAGES} debian-backports-keyring" elif echo ${DIST} | grep -q '^experimental' ; then PBUILDERSATISFYDEPENDSCMD=/usr/lib/pbuilder/pbuilder-satisfydepends-experimental fi REMOVEPACKAGES="" HOOKDIR="${HOME}/.pbuilder/hooks.d/" BUILDRESULT="${HOME}/tmp/pbuilder" if [ ! -d "${BUILDRESULT}" ]; then mkdir -p "${BUILDRESULT}" fi