summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorMichael E Brown <mebrown@michaels-house.net>2007-10-22 12:27:44 -0500
committerMichael E Brown <mebrown@michaels-house.net>2007-10-22 12:27:44 -0500
commit5ce8b45bb9d02b75311da9e611c6fff64373e31e (patch)
tree0e8683dec6bb489482c5e5fe54db24dfecb7e175 /docs
parenta91d44dc7195edfa05407cd549427e0391c17dcc (diff)
downloadmock-5ce8b45bb9d02b75311da9e611c6fff64373e31e.tar.gz
mock-5ce8b45bb9d02b75311da9e611c6fff64373e31e.tar.xz
mock-5ce8b45bb9d02b75311da9e611c6fff64373e31e.zip
fixup docs to match latest options.
Diffstat (limited to 'docs')
-rw-r--r--docs/mock.140
1 files changed, 22 insertions, 18 deletions
diff --git a/docs/mock.1 b/docs/mock.1
index 7850e18..7a88911 100644
--- a/docs/mock.1
+++ b/docs/mock.1
@@ -9,6 +9,10 @@ mock [options] [\fBrebuild\fR] \fISRPM [\fISRPM...\fR]
mock [options] \fBchroot\fR \fI<cmd>\fR
.LP
mock [options] {\fBinit\fR|\fBclean\fR|\fBshell\fR}
+.LP
+mock [options] installdeps {\fBSRPM\fR|\fBRPM\fR}
+.LP
+mock [options] install \fBPACKAGE\fR
.SH "DESCRIPTION"
.LP
@@ -32,32 +36,26 @@ to by /etc/mock/default.cfg
\fB\-\-no\-clean\fR
Do not clean chroot before building package.
.TP
+\fB\-\-cleanup\-after\fR
+Clean chroot after building. Use with \-\-resultdir. Only active for 'rebuild'.
+.TP
+\fB\-\-no\-cleanup\-after\fR
+Dont clean chroot after building. If automatic cleanup is enabled, use this to disable.
+.TP
\fB\-\-arch=\fR\fIARCH\fP
Specify target build arch.
.TP
-\fB\-\-debug\fR
-Output copious debugging information.
-.TP
\fB\-\-resultdir=\fR\fIRESULTDIR\fP
Change directory where resulting files (RPMs and build logs) are written
.TP
-\fB\-\-statedir=\fR\fISTATEDIR\fP
-Change directory where state information is written
-.TP
\fB\-\-uniqueext=\fR\fItext\fP
Arbitrary, unique extension to append to buildroot directory name
.TP
\fB\-\-configdir=\fR\fICONFIGDIR\fP
Change directory where config files are found
.TP
-\fB\-\-quiet\fR
-Suppress most output
-.TP
-\fB\-\-autocache\fR
-Turn on build-root caching
-.TP
-\fB\-\-rebuildcache\fR
-Force rebuild of build-root cache
+\fB\-\-rpmbuild_timeout=\fR\fISECONDS\fP
+Fail build if rpmbuild takes longer than 'timeout' seconds
.TP
\fB\-\-help\fR
Show usage information and exit.
@@ -68,14 +66,16 @@ Show version number and exit.
.LP
.TP
\fBinit\fR \- initialize a chroot (install packages, setup devices, etc.)
-.TP
-\fBchroot\fR \- run the specified command within the chroot (which must already be initialized)
.TP
\fBclean\fR \- purge the chroot tree
.TP
-\fBshell\fR \- start an interactive shell in the specified chroot
-.TP
\fBrebuild\fR \- If no command is specified, rebuild is assumed. Rebuilds the specified SRPM(s)
+.TP
+\fBchroot\fR|\fBshell\fR \- run the specified command within the chroot (which must already be initialized). If no command specified, /bin/sh is run.
+.TP
+\fBinstalldeps\fR \- find out deps for SRPM or RPM, and do a yum install to put them in the buildroot
+.TP
+\fBinstall\fR \- Do a yum install PACKAGE inside the buildroot
.SH "FILES"
.LP
\fI/etc/mock/\fP \- default configuration directory
@@ -109,6 +109,10 @@ information to the comments. If not, go to the new bug page using the
same product and component and fill in the form.
.SH "AUTHORS"
.LP
+Michael Brown <mebrown@michaels-house.net>
+.LP
+Clark Williams <williams@redhat.com>
+.LP
Seth Vidal <skvidal@linux.duke.edu>
.LP
and a cast of...tens