Commit 7cff1613 authored by Andreas Tille's avatar Andreas Tille
Browse files

pbuilder-options=--source-only-changes

parent 3a580b38
Loading
Loading
Loading
Loading
Loading
+143 −123

File changed.

Preview size limit exceeded, changes collapsed.

+11 −0
Original line number Diff line number Diff line
@@ -392,6 +392,7 @@ Add the following to the configuration file ``~/.gbp.conf`` or
   builder = ~/bin/git-pbuilder

   pristine-tar = True
   pbuilder-options=--source-only-changes

With this configuration file you're specifying that ``gbp buildpackage``
will use ``~/bin/git-pbuilder`` as the builder script. This is an
@@ -408,6 +409,16 @@ example script you can use:
This will build the package inside the default cowbuilder chroot, while
passing any more parameters directly do ``dpkg-buildpackage``.

Other options in ``~/.gbp.conf``:

- ``pristine-tar = True``: specifies that we are using
  the pristine-tar branch to store the necessary information about the
  original source tarball in pristine-tar

- ``pbuilder-options=--source-only-changes``: Creates a source changes
  file to do source only uploads.  That's extremely important since
  for Debian 11 only source uploads are allowed.

.. _updating-git-package:

Updating a source package managed with Git