1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-09-20 09:16:16 +02:00

add info about build subcommand to README

This commit is contained in:
Dr. Peter Poeml 2006-07-17 13:15:42 +00:00
parent ea106f0b05
commit b69ae796cc
2 changed files with 9 additions and 0 deletions

4
README
View File

@ -119,6 +119,10 @@ There are other commands, which you may not need (they may be useful in scripts)
osc buildinfo
Locally build a package (see 'osc help build' for more info):
osc build <repo> <arch> specfile [--clean|--noinit]
HINT FOR W3M USERS

View File

@ -616,6 +616,11 @@ usage: 1. osc build <platform> <arch> <specfile> [--clean|--noinit]
where BUILD_DIST equals <platform>-<arch>
You may want to configure sudo with option NOPASSWD for /usr/bin/build
and set su-wrapper to 'sudo' in .oscrc.
"""
builddist = os.getenv('BUILD_DIST')