Bug#823408: pbuilder: add a command-line switch to enable network access

James Clarke jrtc27 at jrtc27.com
Wed May 4 12:54:13 UTC 2016


Hi,
> On 4 May 2016, at 13:41, Sandro Tosi <morph at debian.org> wrote:
> 
> Package: pbuilder
> Version: 0.223
> Severity: normal
> 
> Hello,
> currently network access is disabled by default (which is great!) but if you
> want to enable it (there are good cases), the only way i can see is thru the
> config file.
> 
> I would be useful to have a cli switch to enable/disable network access, so that
> it could be an option of that single build, and not enabled for all the builds.

You can always use --configfile to point to a file with USENETWORK=yes (which could be using the <(echo "USENETWORK=yes") bashism if you want a true one-liner). We could still have a --use(-)network flag for convenience though, so leaving this open.

Regards,
James



More information about the Pbuilder-maint mailing list