summaryrefslogtreecommitdiff
path: root/build.1
diff options
context:
space:
mode:
authorMichael Schroeder <mls@suse.de>2010-07-28 15:43:57 +0200
committerMichael Schroeder <mls@suse.de>2010-07-28 15:43:57 +0200
commit7c7f7b56e3cc2ea6cbaf54de3aa62e344608a626 (patch)
tree273d67a56738cffa6056a33b5b3c682477bdcad7 /build.1
parent46c169eaa03ce605bbd79a20e1f24eaaff6aa809 (diff)
downloadobs-build-7c7f7b56e3cc2ea6cbaf54de3aa62e344608a626.tar.gz
obs-build-7c7f7b56e3cc2ea6cbaf54de3aa62e344608a626.tar.bz2
obs-build-7c7f7b56e3cc2ea6cbaf54de3aa62e344608a626.zip
- document --repo and --dist
Diffstat (limited to 'build.1')
-rw-r--r--build.120
1 files changed, 18 insertions, 2 deletions
diff --git a/build.1 b/build.1
index 958d862..c99e446 100644
--- a/build.1
+++ b/build.1
@@ -73,6 +73,15 @@ What architectures to select from the RPMs.
automatically sets this to a sensible value for your host if you
don't specify this option.
.TP
+.BI "\-\-repo " url_or_dir
+Also use the specified repository to create the build system.
+The repositories may be either of type rpmmd, yast2 (susetags),
+or a simple directory. Multiple --repo options may be given.
+As a special form, 'zypp://reponame' can be used to specify
+a system repository. 'zypp://' selects all enabled system
+repositories. This is also the default if BUILD_RPMS is not
+set and no --rpms or --repo option is used.
+.TP
.BI "\-\-root " buildroot
Specifies where the build system is set up. Overrides the
BUILD_ROOT enviroment variable.
@@ -92,6 +101,14 @@ Print a short help text.
.TP
.B --verify
verify the files in an existing build system.
+.TP
+.BI "\-\--dist " distribution
+Set the distribution. If this option is not given, build tries to
+calculate the distribution by looking at the rpm package used in the
+build.
+The specified distribution can either be a string
+like "11.2" or "sles9", or the pathname of the build configuration to
+use.
.SH .spec FILE OPTIONS
The
@@ -131,8 +148,7 @@ The directory where build should install the chrooted build system.
.TP
.B BUILD_RPMS
Where build can find the SuSE Linux RPMs. build needs them to create the
-build system. "/media/dvd/suse" is the default value which will do
-the trick if you have the SuSE Linux DVD mounted.
+build system.
.TP
.B BUILD_RPM_BUILD_STAGE
The rpm build stage (-ba, -bb, ...). This is just passed through to