diff options
author | Julian Andres Klode <julian.klode@canonical.com> | 2018-01-16 16:53:46 +0100 |
---|---|---|
committer | Julian Andres Klode <julian.klode@canonical.com> | 2018-01-17 11:52:38 +0100 |
commit | 698f9e3f9877be2aa181d6e40d3dc5c41ea318b7 (patch) | |
tree | afcd1b5ee856242afe3de70692e358a4a6e68781 /doc/sources.list.5.xml | |
parent | ca2fcc639c7363a04998f650b96573d806b32dd2 (diff) |
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
Diffstat (limited to 'doc/sources.list.5.xml')
-rw-r--r-- | doc/sources.list.5.xml | 9 |
1 files changed, 9 insertions, 0 deletions
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. </para></listitem> + <listitem><para><option>InRelease-Path</option> (<option>inrelease-path</option>) + determines the path to the InRelease file, relative + to the normal position of an <filename>InRelease</filename> file. + By default, this option is unset and APT will try to fetch an <filename>InRelease</filename> + or, if that fails, a <filename>Release</filename> file and its associated <filename>Release.gpg</filename> file. By setting this option, + the specified path will be tried instead of the InRelease file, + and the fallback to <filename>Release</filename> files will be disabled. + </para></listitem> + </itemizedlist> </para> |