1234567891011121314151617181920212223242526272829 |
- #!/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=""
- DISTDIR=$(echo ${DIST} | tr '-' '/')
- HOOKDIR="${HOME}/.pbuilder/hooks.d/"
- BUILDRESULT="${HOME}/tmp/pbuilder/${DISTDIR}"
- if [ ! -d "${BUILDRESULT}" ]; then
- mkdir -p "${BUILDRESULT}"
- fi
|