#!/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) 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 lintian" elif echo ${DIST} | grep -q '^experimental' ; then EXTRAPACKAGES="${EXTRAPACKAGES} lintian" 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