From dc53a28abd94706dc30cc063d2700eb3deb3c5f0 Mon Sep 17 00:00:00 2001 From: Wade Farnsworth Date: Thu, 8 Mar 2012 07:49:58 -0700 Subject: [PATCH] PR12331: Document --sysroot and --sysenv Update stap.1 and NEWS to document the new options. --- stap.1 | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/stap.1 b/stap.1 index 43658de05..52afb0d8e 100644 --- a/stap.1 +++ b/stap.1 @@ -555,6 +555,19 @@ no limits are imposed. Specify the maximum size of files that the process may create, in bytes. If nothing is specified, no limits are imposed. +.TP +.BI \-\-sysroot "=DIR" +Specify sysroot directory where target files (executables, libraries, etc.) +are located. With \fI\-r RELEASE\fR, the sysroot will be searched for the +appropriate kernel build directory. With \fI\-r /DIR\fR, however, the sysroot +will not be used to find the kernel build. + +.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 directory provided by \fI\-\-sysroot\fR, if provided. + .SH ARGUMENTS Any additional arguments on the command line are passed to the script -- 2.43.5