summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorMichael E Brown <michael_e_brown@dell.com>2008-01-04 15:01:33 -0600
committerMichael E Brown <michael_e_brown@dell.com>2008-01-04 15:01:33 -0600
commit528eac267392d8bcdec0e8e8ffcdf0bf46c9522a (patch)
treebc6b965c0ae481652e56966396c6ec0be8db1f9f /docs
parent4c7aa19e68265adeb888b6bd539fbecd07d92080 (diff)
downloadmock-528eac267392d8bcdec0e8e8ffcdf0bf46c9522a.tar.gz
mock-528eac267392d8bcdec0e8e8ffcdf0bf46c9522a.tar.xz
mock-528eac267392d8bcdec0e8e8ffcdf0bf46c9522a.zip
update docs for --arch and --target.
Diffstat (limited to 'docs')
-rw-r--r--docs/mock.17
1 files changed, 5 insertions, 2 deletions
diff --git a/docs/mock.1 b/docs/mock.1
index a71c8c8..9bcc94a 100644
--- a/docs/mock.1
+++ b/docs/mock.1
@@ -61,8 +61,11 @@ Clean chroot after building. Use with \-\-resultdir. Only active for '\-\-rebuil
\fB\-\-no\-cleanup\-after\fR
Don't clean chroot after building. If automatic cleanup is enabled, use this to disable.
.TP
-\fB\-\-target=\fR\fIARCH\fP, \fB\-\-arch=\fR\fIARCH\fP
-Specify target build arch.
+\fB\-\-target=\fR\fIARCH\fP
+This argument is passed to rpmbuild to specify the target arch to build. It defaults to whatever is specified for --arch, or whatever is specified in the config file as config_opts['target_arch'].
+.TP
+\fB\-\-arch=\fR\fIARCH\fP
+Calls the linux personality() syscall to tell the kernel to emulate a secondary architecture. For example, building i386 packages on an x86_64 buildhost.
.TP
\fB\-D \fR"\fIMACRO EXPR\fP", \fB\-\-define=\fR"\fIMACRO EXPR\fP"
Specify macro definitions used for the build. This option may be used multiple times, just as the rpmbuild \-\-define option can be. For example: