This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[PATCH v3 2/3] PR12331: Document --sysroot and --sysenv
Update stap.1 and NEWS to document the new options.
---
NEWS | 3 +++
stap.1 | 11 +++++++++++
2 files changed, 14 insertions(+), 0 deletions(-)
diff --git a/NEWS b/NEWS
index 6b52cf9..e5142c8 100644
--- a/NEWS
+++ b/NEWS
@@ -14,6 +14,9 @@
removed in release 1.9:
daddr_to_string()
+- Addition of stap --sysroot and --sysenv options to facilitate different
+ paths and environment variables at run-time.
+
* What's new in version 1.7, 2012-02-01
- Map inserting and deleting is now significantly faster due to
diff --git a/stap.1 b/stap.1
index 731ed21..cc7ebad 100644
--- a/stap.1
+++ b/stap.1
@@ -527,7 +527,18 @@ show abrt output, and ask before continuing download. No timeout will be set.
.BI <timeout>
specify a timeout as a positive number to stop the download if it is taking
too long.
+.RE
+
+.TP
+.BI \-\-sysroot "=DIR"
+Specify sysroot directory where target files (executables, libraries, etc.)
+are located.
+.TP
+.BI \-\-sysenv "=VAR=VALUE"
+Provide an alternate value for an environment variable where the value on a
+remote system differs. Path variables (e.g. PATH, LD_LIBRARY_PATH) are assumed
+to be relative to the sysroot.
.SH ARGUMENTS
--
1.7.0.4