Bug#845088: pbuilder: please provide a way to access a local mirror during build (needed for d-i)

Mattia Rizzolo mattia at debian.org
Sun Nov 20 10:24:21 UTC 2016


package: pbuilder
severity: wishlist
user: pbuilder at packages.debian.org
usertags: pbuilder
x-debbugs-cc: holger at debian.org

I've long be aware of d-i needing access to a local mirror (with the d-i
component available) to build, as it needs to download them during
build.  I'm sure there is a bug somewhere against it, but the consensus
that downloading stuff from a (local, detected by peeking in
sources.list or such) mirror is accepted, as opposed to poke to the
wilder outside net.

As recently confirmed by kibi in #806984#32
On Sun, Nov 20, 2016 at 11:10:11AM +0100, Cyril Brulebois wrote:
> This isn't a locale issue at all:
> | I: pbuilder: network access will be disabled during build
> […]
> | WARNING: mirror 'http://ftp.de.debian.org/debian' appears to be invalid; skipping
> | WARNING: mirror 'http://ftp.de.debian.org/debian' appears to be invalid; skipping
> | Using generated sources.list.udeb:
> |    deb [trusted=yes] copy:/build/1st/debian-installer-20161031/build/ localudebs/
> but failing to download any udebs
> is a no-go, d-i needs to access a mirror during its build.

I'm not sure how this could be tackled in any way, given that pbuilder
disables access using unshare, but I guess there is a way.
While on it, this could be expanded to "allow access to a defined set of
addresses", maybe.

-- 
regards,
                        Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540      .''`.
more about me:  https://mapreri.org                             : :'  :
Launchpad user: https://launchpad.net/~mapreri                  `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pbuilder-maint/attachments/20161120/af587c2b/attachment.sig>


More information about the Pbuilder-maint mailing list