user = <USER_NAME>
passwd = <PASSWORD in base64 string>
passwdx = <PASSWORD encoded in base64 string>
+ [localbuild]
+ build_cmd = /usr/bin/build
+ build_root= /var/tmp/build-root-gbs
+ su-wrapper= su -c
+ distconf=/usr/share/gbs/tizen-1.0.conf
-In this configuration file, there are two sections: [common] is for general
-setting, and [build] is for the options of gbs build.
+In this configuration file, there are three sections: [common] is for general
+setting, [build] section is for the options of gbs build, and [localbuild]
+is for gbs localbuild.
In the [build] section, the following values can be specified:
passwdx
encoded OBS account user passwd, this key would be generated automaticlly.
+In the [localbuild] section, the following values can be specified:
+build_cmd
+ build script path for building RPMs in a chroot environment
+build_root
+ patch for chroot environment
+distconf
+ Specify distribution configure file
+
Usages
======
It's recommended to use `--help` or `help <subcmd>` to get the help message,
"""${cmd_name}: test building for current pkg
Usage:
- gbs build [options] [OBS_project]
+ gbs build [options] [package git dir]
+ [package git dir] is optional, if not specified, current dir wuold
+ be used.
+
+ Examples:
+ $ gbs build
+ $ gbs build -B Test
+ $ gbs build -B Test -T home:<userid>:gbs
+ $ gbs build <package git directory>
${cmd_option_list}
"""