summaryrefslogtreecommitdiff
path: root/lib/rpmts.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rpmts.h')
-rw-r--r--lib/rpmts.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/rpmts.h b/lib/rpmts.h
index eca179009..4908b36e4 100644
--- a/lib/rpmts.h
+++ b/lib/rpmts.h
@@ -453,6 +453,11 @@ const char * rpmtsRootDir(rpmts ts);
/** \ingroup rpmts
* Set transaction rootDir, i.e. path to chroot(2).
+ *
+ * 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.
+ *
* @param ts transaction set
* @param rootDir new transaction rootDir (or NULL)
* @return 0 on success, -1 on error (invalid rootDir)