1RBM-DEB-SRC(1) RBM-DEB-SRC(1)
2
3
4
6 rbm-deb-src - Create debian source package
7
9 rbm deb-src <project> [options]
10
12 Create a debian source package for the selected project.
13
14 This is equivalent to running rbm build --step deb_src <project>.
15
17 The following configuration options are related to Debian packages :
18
19 debian_revision
20 The package revision used in debian packages. By default, when the
21 option pkg_rel is defined, this is what is used. Otherwise a
22 revision containing the number of commits since the last git tag,
23 and the hash of the commit is used.
24
25 deb_src
26 This is the script that is used to create the debian source
27 package. By default it will use the debian files listed in the
28 option debian_files and create the source package with dpkg-source.
29
30 deb
31 This is the script that is used to create the debian packages. By
32 default it will use the debian files listed in the option
33 debian_files and build the package using debuild or pdebuild
34 depending on whether the use_pbuilder option is set. The packages
35 will be signed using the key defined in the option debsign_keyid.
36
37 debian_files
38 This is an array containing the files to create in the debian
39 directory. Each item in the array is an hash, with the following
40 two keys : name is the file name in the debian directory of the
41 file to create, and content is the content of the file. The
42 filename and content are processed as template, so for instance if
43 you want to store the content of a file in a separate file, you can
44 use the INCLUDE directive.
45
46 use_pbuilder
47 If set to a true value, pbuilder will be used to build the debian
48 packages.
49
50 debsign_keyid
51 This is the gpg key that will be used to sign the debian packages.
52 Set to 0 if you don’t want to sign the packages.
53
54 See rbm_config(7) for all other options.
55
57 The command line options related to Debian packages are :
58
59 --use-pbuilder, --no-use-pbuilder
60 Whether to use pbuilder when building debian packages
61
62 --debsign-keyid=<key id>
63 The id of the key to sign debian packages with. Set to 0 for no
64 signature.
65
66 See rbm_cli(7) for all other options.
67
69 rbm(1)
70
71
72
73 01/30/2020 RBM-DEB-SRC(1)