summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorMichael E Brown <michael_e_brown@dell.com>2007-11-14 13:45:36 -0600
committerMichael E Brown <michael_e_brown@dell.com>2007-11-14 13:45:36 -0600
commit1fa9084e1167cba4878c8ca570c4e7142b920ac0 (patch)
treec070eba3601101bee6c21d5f69bbb913d51ad060 /docs
parent8eee700f4d8b42c0026f25d7b5641562f17fad32 (diff)
downloadmock-1fa9084e1167cba4878c8ca570c4e7142b920ac0.tar.gz
mock-1fa9084e1167cba4878c8ca570c4e7142b920ac0.tar.xz
mock-1fa9084e1167cba4878c8ca570c4e7142b920ac0.zip
document 'clean' behaviour for install[deps], chroot, shell.
Diffstat (limited to 'docs')
-rw-r--r--docs/mock.112
1 files changed, 6 insertions, 6 deletions
diff --git a/docs/mock.1 b/docs/mock.1
index 078b62d..c2907ec 100644
--- a/docs/mock.1
+++ b/docs/mock.1
@@ -64,18 +64,18 @@ Show usage information and exit.
Show version number and exit.
.SH "COMMANDS"
.LP
-.TP
-\fBinit\fR \- initialize a chroot (install packages, setup devices, etc.)
.TP
\fBclean\fR \- purge the chroot tree
+.TP
+\fBinit\fR \- initialize a chroot (clean, install chroot packages, etc.)
.TP
-\fBrebuild\fR \- If no command is specified, rebuild is assumed. Rebuilds the specified SRPM(s)
+\fBrebuild\fR \- If no command is specified, rebuild is assumed. Rebuilds the specified SRPM(s). The buildroot is cleaned first, unless --no-clean is specified.
.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.
+\fBchroot\fR|\fBshell\fR \- run the specified command within the chroot (which must already be initialized -- no 'clean' is performed). 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
+\fBinstalldeps\fR \- find out deps for SRPM or RPM, and do a yum install to put them in the buildroot. Buildroot must already be initialized -- no 'clean' is performed
.TP
-\fBinstall\fR \- Do a yum install PACKAGE inside the buildroot
+\fBinstall\fR \- Do a yum install PACKAGE inside the buildroot. Buildroot must already be initialized -- no 'clean' is performed
.SH "FILES"
.LP
\fI/etc/mock/\fP \- default configuration directory