summaryrefslogtreecommitdiff
path: root/docs/man
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2022-06-01 09:46:14 +0300
committerPanu Matilainen <pmatilai@redhat.com>2022-06-01 09:46:14 +0300
commit370c58746c3b8c178808aaa95e1acb009fc4a677 (patch)
tree738f99a4b42928af687b8ab850136c12854051b8 /docs/man
parent803da2eb97c4b5147f77a7cb0e03ef6d8a7e821a (diff)
downloadrpm-370c58746c3b8c178808aaa95e1acb009fc4a677.tar.gz
Document --root assumptions both in the manual and API
Fixes: #2081
Diffstat (limited to 'docs/man')
-rw-r--r--docs/man/rpm.8.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/man/rpm.8.md b/docs/man/rpm.8.md
index 3c8b1dae8..088012cb1 100644
--- a/docs/man/rpm.8.md
+++ b/docs/man/rpm.8.md
@@ -199,6 +199,10 @@ These options can be used in all the different modes.
installing, or **%prep** if building, a package) will be run after a
chroot(2) to *DIRECTORY*.
+ Note that rpm assumes the environment inside the root is set up by
+ the caller, such as any mounts needed for the operation inside the
+ root directory.
+
**-D, \--define=\'***MACRO EXPR***\'**
: Defines *MACRO* with value *EXPR*.