From 698f9e3f9877be2aa181d6e40d3dc5c41ea318b7 Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Tue, 16 Jan 2018 16:53:46 +0100 Subject: Introduce inrelease-path option for sources.list Allow specifying an alternative path to the InRelease file, so you can have multiple versions of a repository, for example. Enabling this option disables fallback to Release and Release.gpg, so setting it to InRelease can be used to ensure that only that will be tried. We add two test cases: One for checking that it works, and another for checking that the fallback does not happen. Closes: #886745 --- doc/sources.list.5.xml | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'doc') diff --git a/doc/sources.list.5.xml b/doc/sources.list.5.xml index bfad35aa7..b19808636 100644 --- a/doc/sources.list.5.xml +++ b/doc/sources.list.5.xml @@ -343,6 +343,15 @@ deb-src [ option1=value1 option2=value2 ] uri suite [component1] [component2] [. default. + () + determines the path to the InRelease file, relative + to the normal position of an InRelease file. + By default, this option is unset and APT will try to fetch an InRelease + or, if that fails, a Release file and its associated Release.gpg file. By setting this option, + the specified path will be tried instead of the InRelease file, + and the fallback to Release files will be disabled. + + -- cgit v1.2.3