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 --localconf-file=<file>
29 Set the optional local configuration file path
30
31 --target=<target>
32 Set the target. This option can be used multiple times to use more
33 than one target. See rbm_targets(7) for details.
34
35 --output-dir=<directory>
36 Set the output directory
37
38 --build-log=<filename>
39 Set the file where the build logs will be written. If the value is
40 - (the default), the logs will be output on stdout and stderr.
41
42 --version=<version>
43 Set the package version
44
45 --pkg-rel=<rel>
46 Set package release number
47
48 --distribution=<distribution>
49 The name of the linux distribution to build package for.
50
51 --fetch, --no-fetch
52 Whether latest commits should be fetched from remote git
53 repository.
54
55 --debug, --no-debug
56 Enable or disable debug mode: open a shell in the temporary build
57 directory in case of build failure.
58
59 --step
60 This sets the current step when using the showconf command. When
61 using the build command this is used to select the step (and build
62 script of the same name) to start.
63
64 --git-hash=<hash>
65 The git hash of the commit / tag to use.
66
67 --hg-hash=<hash>
68 The mercurial hash of the commit / tag to use.
69
70 --commit-gpg-id=<GPG ID>
71 Check the commit to be signed by this GPG key ID.
72
73 --tag-gpg-id=<GPG ID>
74 Check if the selected git hash is a tag and is signed by select GPG
75 key ID.
76
77 --gpg-keyring=<file>
78 GPG keyring filename.
79
80 --gpg-keyring-dir=<directory>
81 Directory containing GPG keyring files
82
83 --gpg-args=<args>
84 Optional gpg arguments.
85
86 --gpg-bin=<path>
87 Path to gpg binary.
88
89 --use-pbuilder, --no-use-pbuilder
90 Whether to use pbuilder when building debian packages
91
92 --debsign-keyid=<key id>
93 The id of the key to sign debian packages with. Set to 0 for no
94 signature.
95
96 --publish-src-dir
97 The directory containing the files that are going to be published.
98
100 rbm(1), rbm_config(7)
101
102
103
104 07/29/2020 RBM_CLI(7)