.pbuilderrc 819 B

1234567891011121314151617181920212223242526272829
  1. #!/bin/sh
  2. MIRRORSITE="ftp://ftp.fr.debian.org/debian"
  3. COMPONENTS="main contrib non-free"
  4. BASEPATH="/var/cache/pbuilder/${DIST}.cow"
  5. #BINDMOUNTS="/var/cache/apt/archives"
  6. DISTRIBUTION=$(echo ${DIST}|cut -d- -f1)
  7. EXTRAPACKAGES="lintian"
  8. if echo ${DIST} | grep -q 'bpo' ; then
  9. #OTHERMIRROR="deb http://security.debian.org/ lenny/updates main | deb http://www.backports.org/debian lenny-backports main"
  10. EXTRAPACKAGES="${EXTRAPACKAGES} debian-backports-keyring"
  11. elif echo ${DIST} | grep -q '^experimental' ; then
  12. PBUILDERSATISFYDEPENDSCMD=/usr/lib/pbuilder/pbuilder-satisfydepends-experimental
  13. fi
  14. REMOVEPACKAGES=""
  15. DISTDIR=$(echo ${DIST} | tr '-' '/')
  16. HOOKDIR="${HOME}/.pbuilder/hooks.d/"
  17. BUILDRESULT="${HOME}/tmp/pbuilder/${DISTDIR}"
  18. if [ ! -d "${BUILDRESULT}" ]; then
  19. mkdir -p "${BUILDRESULT}"
  20. fi