Imported Upstream version 14.34.0
[platform/upstream/libzypp.git] / doc / autoinclude / EnvironmentVariables.doc
1 /**
2
3 \page zypp-envars Environment Variables
4
5 \author Michael Andres <ma@suse.de>
6
7 \section zypp-envars-intro Environment Variables
8
9 <b>Note</b> that for Boolean variables we usually test whether the variable exists and not for the assigned value.
10
11 \subsection zypp-envars-config zypp config options
12
13 \li \c ZYPP_CONF=<PATH> Location of the zypp.conf file.
14 \li \c ZYPP_LOCK_TIMEOUT=<sec> If zypp is locked by another process wait this number of seconds for the lock becoming available.
15
16 \subsection zypp-envars-repos Variables related to repositories
17
18 \li \c ZYPP_REPO_RELEASEVER=<ver> Overwrite the \c $releasever variable in repository URLs and names (\see zypp::repo::RepoVariablesStringReplacer).
19
20 \subsection zypp-envars-commit Variables related to commit
21
22 \li \c ZYPP_IS_RUNNING=1 Set during commit so packages pre/post/trigger scripts can detect whether rpm was called from within libzypp.
23
24 \subsection zypp-envars-logging Variables related to logging
25
26 \li \c ZYPP_LOGFILE=<PATH> Location of the logfile to write or \c - for stderr.
27 \li \c ZYPP_FULLLOG=1 Even more verbose logging (usually not needed).
28 \li \c ZYPP_LIBSOLV_FULLLOG=1 Verbose logging when resolving dependencies.
29 \li (\c ZYPP_LIBSAT_FULLLOG=1) deprecated since \c libzypp-10.x, prefer \c ZYPP_LIBSOLV_FULLLOG
30 \li \c LIBSOLV_DEBUGMASK=<INT> Pass value to libsolv::pool_setdebugmask
31
32 \li \c ZYPP_MEDIA_CURL_DEBUG=<1|2> Log http headers, if \c 2 also log server responses.
33
34 \subsection zypp-envars-mediabackend Selecting the mediabackend to use.
35
36 \li \c ZYPP_MULTICURL=0 Turn off multicurl (metalink and zsync) and fall back to plain libcurl.
37
38 \subsection zypp-envars-plugin Variables related to plugins
39
40 \li \c PLUGIN_DEBUG=1 Verbose logging from plugin framework.
41 \li \c PLUGIN_TIMEOUT=<sec> Send/receive timeout for plugin communication.
42 \li \c PLUGIN_SEND_TIMEOUT=<sec> Send timeout for plugin communication.
43 \li \c PLUGIN_RECEIVE_TIMEOUT=<sec> Receive timeout for plugin communication.
44
45 \subsection zypp-envars-misc Variables not for common use (test and debug)
46
47 \li \c ZYPP_MODALIAS_SYSFS=<PATH> Use this instead of \c /sys to evaluate modaliases.
48 \li \c ZYPP_COMMIT_NO_PACKAGE_CACHE=1
49 \li \c ZYPP_TESTSUITE_FAKE_ARCH Never use this!
50 \li \c ZYPPTMPDIR=<PATH>
51 \li \c ZYPP_LOCKFILE_ROOT=<PATH> Hack to circumvent the currently poor --root support.
52 \li \c ZYPP_PROFILING=1
53
54 */