From 24e8f24e1e94ec3816b0bfc7a05d1c4e3f73248e Mon Sep 17 00:00:00 2001 From: David Kalnischkies Date: Mon, 14 Sep 2015 13:18:29 +0200 Subject: add by-hash sources.list option and document all of by-hash This changes the semantics of the option (which is renamed too) to be a yes/no value with the special additional value "force" as this allows by-hash to be disabled even if the repository indicates it would be supported and is more in line with our other yes/no options like pdiff which disable themselves if no support can be detected. The feature wasn't documented so far and hasn't reached a (un)stable release yet, so changing it without trying too hard to keep compatibility seems okay. --- doc/acquire-additional-files.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'doc/acquire-additional-files.txt') diff --git a/doc/acquire-additional-files.txt b/doc/acquire-additional-files.txt index c52955619..a7acbbe46 100644 --- a/doc/acquire-additional-files.txt +++ b/doc/acquire-additional-files.txt @@ -114,6 +114,9 @@ aren't accidentally used by frontends: Defaults to the value of Acquire::PDiffs which is true by default. Can be overridden per-source by the sources.list option of the same name. See the documentation for both of these for details. +* By-Hash: controls if apt will try to use an URI constructed from + a hashsum of the file to download. See the documentation for config + option Acquire::By-Hash and sources.list option By-Hash for details. * CompressionTypes: The default value is a space separated list of compression types supported by apt (see Acquire::CompressionTypes). You can set this option to prevent apt from downloading a compression -- cgit v1.2.3