summaryrefslogtreecommitdiff
path: root/doc/developer
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2018-10-01 20:38:44 +0200
committerDaniil Baturin <daniil@baturin.org>2018-10-01 20:44:01 +0200
commit836ad9fb4e423e1f10b22bd68154f90b1131636c (patch)
tree584f3228b2622449cf745416e4eef7d41f33045a /doc/developer
parent979ee884911aeeda2b1dd0942e07d68d4b32e955 (diff)
tools: add a script for building a Debian package in one step.
The script simplifies the relatively lengthy procedure. It should be invoked from the top level source directory, for example: ./tools/build-debian-package.sh Signed-off-by: Daniil Baturin <daniil@baturin.org>
Diffstat (limited to 'doc/developer')
-rw-r--r--doc/developer/packaging-debian.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/developer/packaging-debian.rst b/doc/developer/packaging-debian.rst
index 66339b6d1f..4ea784c0fc 100644
--- a/doc/developer/packaging-debian.rst
+++ b/doc/developer/packaging-debian.rst
@@ -130,6 +130,13 @@ If all worked correctly, then you should end up with the Debian packages under
with the sources (``frr_*.orig.tar.gz``, ``frr_*.debian.tar.xz`` and
``frr_*.dsc``)
+The build procedure can also be executed automatically using the ``tools/build-debian-package.sh``
+script. For example:
+
+.. code-block:: shell
+
+ EXTRA_VERSION="-myversion" WANT_SNMP=1 WANT_CUMULUS_MODE=1 tools/build-debian-package.sh
+
.. _deb-backports:
Debian Backports