[buildd-tools-devel] Bug#795466: Option to add bind-mounts to sbuild

Joachim Breitner nomeata at debian.org
Thu Dec 24 08:34:50 UTC 2015


Hi,

thanks for checking back.

Am Donnerstag, den 24.12.2015, 01:08 +0100 schrieb Johannes Schauer:
> On Fri, 14 Aug 2015 10:46:56 +0200 Joachim Breitner  wrote:
> > it would be really useful to be able to sepecify additional bind-mounts
> > to sbuild.
> 
> this is not an sbuild thing but a schroot thing. You'd specify additional
> bind-mounts in your schroot config in /etc/schroot/chroot.d

that doesn’t help with one-shot bind-mounts that I need to set up when
using sbuild as part of a some infrastructure. But you are right: The
feature request should be to schroot to have a flag to specify
additional bind-mounts.

> > My use case is that I want to make a local repository (file:///) available as
> > an extra repository. I used --extra-package, but passing that 2000 times made
> > the builds too slow...
> 
> Does --extra-repository not work for you?

From the explanation it seems that this just adds a line to the
sources, but how would that help me (without a bind-mount) when the
repository is local?


Stepping back from concrete feature request, here is my usecase:

I have a local directory with many packages that I want to use in my
sbuild. The directory is temporary, so that rules out static settings
in /etc/schroot/chroot.d (and also, I’d like to to be able to do this
with a vanilla schroot configuration). You may assume that the
directory is usable as an apt source, i.e. a Packages file exists. How
can I make sbuild use this repository.

Greetings,
Joachim

-- 
Joachim "nomeata" Breitner
Debian Developer
  nomeata at debian.org | ICQ# 74513189 | GPG-Keyid: F0FBF51F
  JID: nomeata at joachim-breitner.de | http://people.debian.org/~nomeata

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20151224/5d4bc81f/attachment-0001.sig>


More information about the Buildd-tools-devel mailing list