Hi,

Quoting Jonas Meurer (2021-02-28 12:05:58)
> since release 0.77.0-1 (commit 1159497b26aabbb3380ac3475c11aff556ca1de2),
> sbuild sets the apt configuration option `APT::Keep-Downloaded-Packages` to
> `false`.  This results in all downloaded packages (e.g. build-dependencies,
> lintian and dependencies, etc.) to be thrown away immediately.
> 
> While I agree that this should be the default behaviour, there's situations 
> when
> instead keeping the packages would be desired: when you're on a data-limited
> plan or have limited bandwidth available and you keep rebuilding a package for
> debugging purposes, it can be really annoying that sbuild keeps re-downloading
> all required packages on each iteration.
> 
> For now, I just commented out the respective line that sets the option in
> `/usr/share/perl5/Sbuild/ResolverBase.pm`, but a proper sbuild configuration
> (and commandline) option would be really nice to have :)

in what way is the APT_KEEP_DOWNLOADED_PACKAGES configuration option (see the
sbuild.conf man page) not sufficient for your use-case?

Thanks!

cheers, josch

Attachment: signature.asc
Description: signature

Reply via email to