diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2007-12-16 18:53:32 -0200 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2007-12-16 18:53:32 -0200 |
commit | db2cca1129fa2d88eae80e1c4a17e263236a95a3 (patch) | |
tree | 2fa70cc26707e15b829c02bd02ae94f5d7e690c8 /doc | |
parent | 18d38975fb8ff17340ddf0457d74f02a596248fb (diff) | |
download | apt-db2cca1129fa2d88eae80e1c4a17e263236a95a3.tar.gz |
* apt-pkg/contrib/configuration.cc:
- if RootDir is set, then FindFile and FindDir will return paths
relative to the directory stored in RootDir, closes: #456457.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/apt.conf.5.xml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/apt.conf.5.xml b/doc/apt.conf.5.xml index 43f33681f..5bc6c55db 100644 --- a/doc/apt.conf.5.xml +++ b/doc/apt.conf.5.xml @@ -295,6 +295,19 @@ DPkg::Pre-Install-Pkgs {"/usr/sbin/dpkg-preconfigure --apt";}; <literal>dpkg</literal>, <literal>apt-get</literal> <literal>dpkg-source</literal> <literal>dpkg-buildpackage</literal> and <literal>apt-cache</literal> specify the location of the respective programs.</para> + + <para> + The configuration item <literal>RootDir</literal> has a special + meaning. If set, all paths in <literal>Dir::</literal> will be + relative to <literal>RootDir</literal>, <emphasis>even paths that + are specified absolutely</emphasis>. So, for instance, if + <literal>RootDir</literal> is set to + <filename>/tmp/staging</filename> and + <literal>Dir::State::status</literal> is set to + <filename>/var/lib/dpkg/status</filename>, then the status file + will be looked up in + <filename>/tmp/staging/var/lib/dpkg/status</filename>. + </para> </refsect1> <refsect1><title>APT in DSelect</title> |