summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorOndřej Surý <ondrej@sury.org>2021-02-15 08:40:08 +0100
committerOndřej Surý <ondrej@sury.org>2021-07-03 17:02:37 +0200
commit4c65fb08f7a6b3bfafdadc6cd8b6dc0e95e13649 (patch)
treee9936b02d035c94a61b3113e5113e3532fea6afd /doc
parentdoc: Update debian packaging instructions (diff)
downloadfrr-4c65fb08f7a6b3bfafdadc6cd8b6dc0e95e13649.tar.xz
frr-4c65fb08f7a6b3bfafdadc6cd8b6dc0e95e13649.zip
doc: Add instructions on how to build only source packages
In the CI, it's better to build the source package only once and then instead of checking out the whole repository, only distribute the source packages to the individual jobs. Signed-off-by: Ondřej Surý <ondrej@sury.org>
Diffstat (limited to 'doc')
-rw-r--r--doc/developer/packaging-debian.rst10
1 files changed, 9 insertions, 1 deletions
diff --git a/doc/developer/packaging-debian.rst b/doc/developer/packaging-debian.rst
index 1cca5758f..0bc3700cb 100644
--- a/doc/developer/packaging-debian.rst
+++ b/doc/developer/packaging-debian.rst
@@ -44,7 +44,7 @@ buster.)
5. (optional) Append a distribution identifier if needed (see below under
:ref:`multi-dist`.)
-6. Build Debian Package:
+6. Build Debian Binary and/or Source Packages:
.. code-block:: shell
@@ -78,6 +78,14 @@ buster.)
(git builds of the `master` or `stable/X.X` branches won't be signed by
default since their target release is set to ``UNRELEASED``.)
+ * the ``--build=type`` accepts following options (see ``dpkg-buildpackage`` manual page):
+
+ * ``source`` builds the source package
+ * ``any`` builds the architecture specific binary packages
+ * ``all`` build the architecture independent binary packages
+ * ``binary`` build the architecture specific and independent binary packages (alias for ``any,all``)
+ * ``full`` builds everything (alias for ``source,any,all``)
+
7. Done!
If all worked correctly, then you should end up with the Debian packages in