mirror of
https://github.com/openSUSE/osc.git
synced 2024-12-26 01:46:13 +01:00
add info about build subcommand to README
This commit is contained in:
parent
ea106f0b05
commit
b69ae796cc
4
README
4
README
@ -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
|
||||
|
||||
|
@ -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')
|
||||
|
Loading…
Reference in New Issue
Block a user