[git-buildpackage] Pass compression options to dpkg-source (using git-pbuilder)

Guido Günther agx at sigxcpu.org
Tue Aug 18 10:33:44 CEST 2015


On Mon, Aug 17, 2015 at 10:23:52PM +0100, Christopher Baines wrote:
> So I have been trying to figure out for a while how to do this, but even
> after spending several hours working through the source code of
> git-buildpackage, git-pbuilder and pdebuild, I still cannot work out how
> to do this successfully...
> 
> All I would like to do is pass the --source-option=--compression=gzip to
> dpkg-buildpackage, as invoked by pdebuild, through running git-pbuilder,
> through running gbp buildpackage.
> 
> Can anyone help?

dpkg-source is invoked via:

gbp buildpackage 
  -> git-pbuilder
    -> pdebuild
      -> dpkg-buildpackage
        -> dpkg-source

It just passes on all options you give from gbp buildpackge to
dpkg-buildpackage. See the man page of dpkg-buildpackage, I don't think
you can pass arbitrary option from dpkg-buildpackage to dpkg-source
there.

Cheers,
 -- Guido
    


More information about the git-buildpackage mailing list