[git-buildpackage] Pass compression options to dpkg-source (using git-pbuilder)
Christopher Baines
mail at cbaines.net
Tue Aug 18 11:03:46 CEST 2015
On 18/08/15 09:33, Guido Günther wrote:
> 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.
As I say above, you can pass options to dpkg-source via --source-option
which I have tested, and it works. The problem I think is with
git-pbuilder/pdebuild as I can't seem to get the option through to
dpkg-buildpackage.
More information about the git-buildpackage
mailing list