1RBM_CLI(7) RBM_CLI(7)
2
3
4
6 rbm_cli - The rbm command line interface
7
9 rbm <action> <project> [options]
10
12 The rbm commands usually take as first argument an action, then a
13 project’s name and some options.
14
16 Many of the configuration options that can be set in the main
17 configuration file and projects configuration files can also be
18 overriden with command line options. The name of the command line
19 option is the same as the configuration file option, prepended with --,
20 and with _ replaced by -. For instance "output_dir: out" in the
21 configuration file can be replaced by "--output-dir=out".
22
23 The following options can be set on the command line :
24
25 --sysconf-file=<file>
26 Set the optional system configuration file path
27
28 --target=<target>
29 Set the target. This option can be used multiple times to use more
30 than one target. See rbm_targets(7) for details.
31
32 --output-dir=<directory>
33 Set the output directory
34
35 --version=<version>
36 Set the package version
37
38 --pkg-rel=<rel>
39 Set package release number
40
41 --distribution=<distribution>
42 The name of the linux distribution to build package for.
43
44 --fetch, --no-fetch
45 Whether latest commits should be fetched from remote git
46 repository.
47
48 --debug, --no-debug
49 Enable or disable debug mode: open a shell in the temporary build
50 directory in case of build failure.
51
52 --step
53 This sets the current step. This is only meaningful with the
54 showconf command.
55
56 --git-hash=<hash>
57 The git hash of the commit / tag to use.
58
59 --hg-hash=<hash>
60 The mercurial hash of the commit / tag to use.
61
62 --commit-gpg-id=<GPG ID>
63 Check the commit to be signed by this GPG key ID.
64
65 --tag-gpg-id=<GPG ID>
66 Check if the selected git hash is a tag and is signed by select GPG
67 key ID.
68
69 --gpg-keyring=<file>
70 GPG keyring filename.
71
72 --gpg-keyring-dir=<directory>
73 Directory containing GPG keyring files
74
75 --gpg-args=<args>
76 Optional gpg arguments.
77
78 --gpg-bin=<path>
79 Path to gpg binary.
80
81 --use-pbuilder, --no-use-pbuilder
82 Whether to use pbuilder when building debian packages
83
84 --debsign-keyid=<key id>
85 The id of the key to sign debian packages with. Set to 0 for no
86 signature.
87
88 --publish-src-dir
89 The directory containing the files that are going to be published.
90
92 rbm(1), rbm_config(7)
93
94
95
96 07/15/2018 RBM_CLI(7)