NAME

rbm_cli - The rbm command line interface

SYNOPSIS

rbm <action> <project> [options]

DESCRIPTION

The rbm commands usually take as first argument an action, then a project’s name and some options.

COMMAND LINE OPTIONS

Many of the configuration options that can be set in the main configuration file and projects configuration files can also be overriden with command line options. The name of the command line option is the same as the configuration file option, prepended with --, and with _ replaced by -. For instance "output_dir: out" in the configuration file can be replaced by "--output-dir=out".

The following options can be set on the command line :

--sysconf-file=<file>

Set the optional system configuration file path

--localconf-file=<file>

Set the optional local configuration file path

--target=<target>

Set the target. This option can be used multiple times to use more than one target. See rbm_targets(7) for details.

--output-dir=<directory>

Set the output directory

--build-log=<filename>

Set the file where the build logs will be written. If the value is - (the default), the logs will be output on stdout and stderr.

--version=<version>

Set the package version

--pkg-rel=<rel>

Set package release number

--distribution=<distribution>

The name of the linux distribution to build package for.

--fetch
--no-fetch

Whether latest commits should be fetched from remote git repository.

--debug
--no-debug

Enable or disable debug mode: open a shell in the temporary build directory in case of build failure.

--step

This sets the current step when using the showconf command. When using the build command this is used to select the step (and build script of the same name) to start.

--git-hash=<hash>

The git hash of the commit / tag to use.

--hg-hash=<hash>

The mercurial hash of the commit / tag to use.

--commit-gpg-id=<GPG ID>

Check the commit to be signed by this GPG key ID.

--tag-gpg-id=<GPG ID>

Check if the selected git hash is a tag and is signed by select GPG key ID.

--gpg-keyring=<file>

GPG keyring filename.

--gpg-keyring-dir=<directory>

Directory containing GPG keyring files

--gpg-args=<args>

Optional gpg arguments.

--gpg-bin=<path>

Path to gpg binary.

SEE ALSO