[buildd-tools-devel] Bug#623746: add a --bindmounts flag (a la pbuilder)

Stefano Zacchiroli zack at debian.org
Fri Apr 22 17:16:55 UTC 2011


Package: schroot
Version: 1.4.21-1+b1
Severity: wishlist

[ I'm reporting this as requested by maintainer, to document a specific use
  case ]

It would be nice to have a --bindmounts flag, similar to the very same flag in
pbuilder / cowbuilder. The latter changes on the fly the list of bind mounts
that will be provided after login in the chroot.

My use case for that is to build 32 bits binaries on a 64 bit machine. The
reason why the default /home bindmount is not enough for me is that often the
sources I need to build are not under /home: sometimes they are under /usr/src,
sometimes under /srv/something/, etc. My current solution for that is to add to
the static fstab file those entries as soon as I need them, but I'd very much
prefer to have a "strict" default, patching it on the commandline only when
it's really needed.

Many thanks for schroot!
Cheers.

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)

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

Versions of packages schroot depends on:
ii  libboost-filesystem1.46.1     1.46.1-4   filesystem operations (portable pa
ii  libboost-program-options1.46. 1.46.1-4   program options library for C++
ii  libboost-regex1.46.1          1.46.1-4   regular expression library for C++
ii  libboost-system1.46.1         1.46.1-4   Operating system (e.g. diagnostics
ii  libc6                         2.11.2-13  Embedded GNU C Library: Shared lib
ii  libgcc1                       1:4.6.0-5  GCC support library
ii  liblockdev1                   1.0.3-1.4  Run-time shared library for lockin
ii  libpam0g                      1.1.2-2    Pluggable Authentication Modules l
ii  libstdc++6                    4.6.0-5    The GNU Standard C++ Library v3
ii  libuuid1                      2.17.2-9.1 Universally Unique ID library
ii  schroot-common                1.4.21-1   common files for schroot

schroot recommends no packages.

Versions of packages schroot suggests:
pn  aufs-modules | unionfs-module <none>     (no description available)
pn  btrfs-tools                   <none>     (no description available)
ii  debootstrap                   1.0.29     Bootstrap a basic Debian system
ii  lvm2                          2.02.84-3  The Linux Logical Volume Manager
ii  unzip                         6.0-4      De-archiver for .zip files

-- Configuration Files:
/etc/schroot/default/fstab changed [not included]
/etc/schroot/schroot.conf changed [not included]

-- no debconf information





More information about the Buildd-tools-devel mailing list