Control: merge 933723 936003

Hi,

Le 28/08/2019 à 23:33, Johannes Schauer a écrit :
> 
>> I've used "$apt_cache = 0" option before which worked well without the need
>> of a server on localhost so searched why it wasn't working after a sbuild
>> update.  Since then, as a workaround, I'm hand-editing ResolverBase.pm to
>> comment the "print $F qq(APT::Keep-Downloaded-Packages "false";\n);" line and
>> this makes sbuild keep downloaded package cached.
>>
>> I would prefer to make "$apt_cache = 0" works (that is, keep downloaded
>> packages) than installing an additional server instead, as the patch is
>> really easy to implement (just add an "if" in ResolverBase.pm, I can provide
>> an test that patch myself).
> 
> Unfortunately, sbuild is a bit more complex than you might think as it 
> supports
> several backends. I am still pondering about the best solution for this issue.
> 

Well, just found that my bug is a duplicate of #933723.
You suggested in that bug to add an option to be used in .sbuildrc.

I can make a patch to do that (with the default value being enabled to
keep the current behavior as the default one).

-- 
Alexis Murzeau
PGP: B7E6 0EBB 9293 7B06 BDBC  2787 E7BD 1904 F480 937F

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to