summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/rootless-builds.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/rootless-builds.txt b/doc/rootless-builds.txt
index 29b034a8d..68617d5b4 100644
--- a/doc/rootless-builds.txt
+++ b/doc/rootless-builds.txt
@@ -102,7 +102,8 @@ This command is subject to the same requirements as the "gain-root-command"
that dpkg-buildpackage accepts via its "-r/--root-command" option, which
means that it can contain space-separated parameters. If dpkg-buildpackage is
called with "-r/--root-command", then dpkg-buildpackage shall use that value
-as the value for "DEB_GAIN_ROOT_CMD".
+as the value for "DEB_GAIN_ROOT_CMD". The command SHOULD preserve all the
+environment variables, unmodified.
The variable SHOULD only be provided when there is a need for it. Notably
when "Rules-Requires-Root" is either "no" or "binary-targets" the variable