Package: sbuild
Version: 0.89.3
Severity: wishlist

Hi,

While refreshing my sbuild setup, I failed to find documentation on how
to use an APT proxy together with unshare+mmdebstrap.

Ideally there would be doc about:
- specifying an APT proxy by URL
- using auto-apt-proxy to auto-detect the proxy

And it should be documented how to do that using command-line options,
and in .config/sbuild/config.pl

Regarding config.pl, maybe it can be solved by improving the example
config.pl

It looks like the following does what I need:
$piuparts_opts = ['--bootstrapcmd=mmdebstrap --skip=check/empty 
--variant=minbase --include=auto-apt-proxy', '--no-eatmydata', 
'--distribution=%r', '--fake-essential-packages=systemd-sysv'];
$unshare_mmdebstrap_extra_args = [
  "*" => ['--include=auto-apt-proxy']
];

Best,

Lucas

Reply via email to