summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOndřej Surý <ondrej@sury.org>2021-02-15 08:43:26 +0100
committerOndřej Surý <ondrej@sury.org>2021-07-03 17:02:37 +0200
commitc4783c325a03545255b9da5deca7b5a9f05772a3 (patch)
treede01272ca2935c5a0512d69134843dad562be9bd
parent4c65fb08f7a6b3bfafdadc6cd8b6dc0e95e13649 (diff)
doc: Use dpkg-buildpackage to build packages (add note about debuild)
The debuild command fails when we are doing source package only build because it expects the arch-dependent .changes file to be present. Thus in the instructions we switch to using dpkg-buildpackage directly and add a note about using debuild in more complicated scenarios. Signed-off-by: Ondřej Surý <ondrej@sury.org>
-rw-r--r--doc/developer/packaging-debian.rst6
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/developer/packaging-debian.rst b/doc/developer/packaging-debian.rst
index 0bc3700cb4..968e960267 100644
--- a/doc/developer/packaging-debian.rst
+++ b/doc/developer/packaging-debian.rst
@@ -48,7 +48,7 @@ buster.)
.. code-block:: shell
- gbp buildpackage --git-builder=debuild --git-debian-branch="$(git rev-parse --abbrev-ref HEAD)" $options
+ gbp buildpackage --git-builder=dpkg-buildpackage --git-debian-branch="$(git rev-parse --abbrev-ref HEAD)" $options
Where `$options` may contain any or all of the following items:
@@ -86,6 +86,10 @@ buster.)
* ``binary`` build the architecture specific and independent binary packages (alias for ``any,all``)
* ``full`` builds everything (alias for ``source,any,all``)
+ Alternatively, you might want to replace ``dpkg-buildpackage`` with
+ ``debuild`` wrapper that also runs ``lintian`` and ``debsign`` on the final
+ packages.
+
7. Done!
If all worked correctly, then you should end up with the Debian packages in