Bug#593100: pbuilder: support BINDMOUNTS destination

Yves-Alexis Perez corsac at debian.org
Sun Aug 15 13:46:15 UTC 2010


Package: pbuilder
Version: 0.199
Severity: wishlist

Hey,

I use pbuilder/cowbuilder to build packages targeted to multiple
distribution and packages branches (sid, sometimes testing, stable and
stable-backports, and trunk, experimental, stable etc.). I bindmount
BUILDRESULT to be able to satisfy dependencies, but it's better to keep
those separated, so I have BUILDRESULT set to something like
build-${DISTRIBUTION}-${ARCH}. But I can't bindmount that directly since
it won't be in the chroot apt sources unless I also have one basetgz by
target and distribution, which is not really easy to maintain.

It'd be nice if I could only have a BASETGZ by distrib (so lenny, sid),
with an added apt source at a defined folder, which I could then
bindmount from a different place depending on the environment variable
passed to the build.

I'm not sure I'm really clear so feel free to ask more information if
needed :)

Cheers,
--
Yves-Alexis


-- System Information:
Debian Release: squeeze/sid
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages pbuilder depends on:
ii  cdebootstrap                  0.5.6      Bootstrap a Debian system
ii  coreutils                     8.5-1      GNU core utilities
ii  debconf [debconf-2.0]         1.5.33     Debian configuration management sy
ii  debianutils                   3.4        Miscellaneous utilities specific t
ii  debootstrap                   1.0.23     Bootstrap a basic Debian system
ii  wget                          1.12-2     retrieves files from the web

Versions of packages pbuilder recommends:
ii  devscripts                    2.10.65.1  scripts to make the life of a Debi
ii  fakeroot                      1.14.4-1   Gives a fake root environment
ii  sudo                          1.7.2p7-1  Provide limited super user privile

Versions of packages pbuilder suggests:
ii  cowdancer                     0.61       Copy-on-write directory tree utili
ii  gdebi-core                    0.6.2      Simple tool to install deb files
pn  pbuilder-uml                  <none>     (no description available)

-- Configuration Files:
/etc/pbuilderrc changed:
BASETGZ=/var/cache/pbuilder/base.tgz
BUILDPLACE=/var/cache/pbuilder/build/
MIRRORSITE=http://ftp.fr.debian.org/debian
USEPROC=yes
USEDEVPTS=yes
USEDEVFS=no
BUILDRESULT=/var/cache/pbuilder/result/
COMPONENTS="main"
APTCACHE="/var/cache/pbuilder/aptcache/"
APTCACHEHARDLINK="yes"
REMOVEPACKAGES="lilo"
HOOKDIR=""
export DEBIAN_FRONTEND="noninteractive"
DEBEMAIL=""
BUILDSOURCEROOTCMD="fakeroot"
PBUILDERROOTCMD="sudo"
PBUILDERSATISFYDEPENDSCMD="/usr/lib/pbuilder/pbuilder-satisfydepends"
DEBBUILDOPTS=""
APTCONFDIR=""
BUILDUSERID=1234
BUILDUSERNAME=pbuilder
BINDMOUNTS=""
DEBOOTSTRAPOPTS[0]='--variant=buildd'
export PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin"
export SHELL=/bin/bash
DEBOOTSTRAP="debootstrap"
PKGNAME_LOGFILE_EXTENTION="_$(dpkg --print-architecture).build"
PKGNAME_LOGFILE=""


-- debconf information:
  pbuilder/mirrorsite: http://cdn.debian.net/debian
  pbuilder/nomirror:
  pbuilder/rewrite: false





More information about the Pbuilder-maint mailing list