Package: mach

> Tags: patch

>
.TH MACH "8" "31 Dec 2010" "Version 0.9.1" "MACH MANUAL PAGE"

> .SH NAME

> \fBmach\fP \- make a chroot of a rpm-based distribution

> .SH SYNOPSIS

> .B mach

> [\fIMACH-OPTION\fR] [\fIcommand\fR] [\fIcommand-options-and-arguments\fR]
...

> .SH DESCRIPTION

> .B mach

> allows you to set up clean roots from scratch for any distribution or
distribution variation supported. Using yum or apt-get and a suid binary,
\fBmach\fR manages to install clean chroot environments based on the
original packages for that distribution. This clean build root can be used
to run jailed services, to create disk images, or to build clean packages.

> .SH OPTIONS

> .TP

> \fB\-\-canonify\fR

> Show the canonical root name and exit.

> .TP

> \fB\-c\fR, \fB\-\-collect\fR

> Collect packages and relevant files, which results from the building, and
put them into the current working directory.

> .TP

> \fBcommand\fR

> Commands that \fBmach\fR supports:

> .RS 12

> .ie n .IP "\fBapt-get\fR" 4

> .el .IP "\f(CWapt-get\fR" 4

> .IX Item "apt-get"

> Run host's apt-get on target root.

> .ie n .IP "\fBapt-cache\fR" 4

> .el .IP "\f(CWapt-cache\fR" 4

> .IX Item "apt-cache"

> Run host's apt-cache on target root.

> .ie n .IP "\fBbuild\fR" 4

> .el .IP "\f(CWbuild\fR" 4

> .IX Item "build"

> build from (set of) .spec file(s) (passes options given to rpmbuild).

> .ie n .IP "\fBchroot\fR" 4

> .el .IP "\f(CWchroot\fR" 4

> .IX Item "chroot"

> Chroot into root.

> .ie n .IP "\fBclean\fR" 4

> .el .IP "\f(CWclean\fR" 4

> .IX Item "clean"

> Totally clean the root.

> .ie n .IP "\fBrebuild\fR" 4

> .el .IP "\f(CWrebuild\fR" 4

> .IX Item "rebuild"

> Rebuild a (set of) .src.rpm(s) (passes options given to rpmbuild).

> .ie n .IP "\fBrpm\fR" 4

> .el .IP "\f(CWrpm\fR" 4

> .IX Item "rpm"

> Run host's rpm on target root.

> .ie n .IP "\fBsetup\fR [purpose]" 4

> .el .IP "\f(CWsetup\fR" 4

> .IX Item "setup"

> Sets up the root for a particular purpose.

> .RS 8

> .ie n .IP "\fBprep\fR" 4

> .el .IP "\f(CWpreb\fR" 4

> .IX Item "prep"

> Preparation before package install.

> .ie n .IP "\fBminimal\fR" 4

> .el .IP "\f(CWminimal\fR" 4

> .IX Item "minimal"

> Minimal set of rpms (bash, glibc).

> .ie n .IP "\fBbase\fR" 4

> .el .IP "\f(CWbase\fR" 4

> .IX Item "base"

> Base set of rpms for minimal functionality.

> .ie n .IP "\fBbuild\fR" 4

> .el .IP "\f(CWbuild\fR" 4

> .IX Item "build"

> Everything to build rpms.

> .RE

> .ie n .IP "\fBstatus\fR" 4

> .el .IP "\f(CWstatus\fR" 4

> .IX Item "status"

> Show status of \fBmach\fR root.

> .ie n .IP "\fBunlock\fR" 4

> .el .IP "\f(CWunlock\fR" 4

> .IX Item "unlock"

> Override root lock.

> .ie n .IP "\fByum\fR" 4

> .el .IP "\f(CWyum\fR" 4

> .IX Item "yum"

> Run host's yum on target root.

> .RE

> .TP

> \fB\-d\fR, \fB\-\-debugging\fR

> Output debugging information, the default for this setting is no debugging.

> .TP

> \fB\-f\fR, \fB\-\-force\fR

> Override root locks.

> .TP

> \fB\-h\fR, \fB\-\-help\fR

> Display options and commands supported.

> .TP

> \fB\-k\fR, \fB\-\-keep\fR

> .B DO NOT

> clean out the chroot of packages before built.

> .TP

> \fB\-m\fR, \fB\-\-md5sum\fR

> Create md5 of results after built.

> .TP

> \fB\-\-no-lint\fR

> .B DO NOT

> run rpmlint at the end.

> .TP

> \fB\-\-no-script\fR

> .B DO NOT

> run post build scripts.

> .TP

> \fB\-q\fR, \fB\-\-quiet\fR

> No spinners, minimal output.

> .TP

> \fB\-\-release\fR=[\fITAG\fR]

> Add given tag to the release tag.

> .TP

> \fB\-r\fR, \fB\-\-root\fR=\fIROOT\fR

> Specify a root to work in, the default root is fedora-6-i386.

> .TP

> \fB\-s\fR, \fB\-\-sign\fR

> Sign packages after built.

> .TP

> \fB\-v\fR, \fB\-\-version\fR

> Output version information and exit.

> .SH HOMEPAGE

> http://thomas.apestaart.org/projects/mach/

> .SH REPORTING BUGS

> If you find a bug, please report it to <[email protected]>.

> .SH AUTHORS

> .TP

> \fBMach\fR was written by Thomas Vander Stichele <thomas (at) apestaart
(dot) org>.

> .TP

> This manual page was written by Nguyen Vinh for Debian GNU/Linux System
(but may be used by others). Permission is granted to copy, distribute
and/or modify this document under the terms of the GNU General Public
License Version 2, and any later versions published by the Free Software
Foundation. There is no WARRANTY, to the extent permitted by the law.

> .SH SEE ALSO
For information on distributions \fBmach\fR supports or any other detailed
information, please read README.

Reply via email to