> On Mon, Mar 03, 2008 at 01:29:09PM +0200, Riku Voipio wrote:
> > The git-buildpacakge manual describes:
> > 
> >     Since pbuilder use different command line arguments than Debuild and
> >     Dpkg-buildpackage we have to use a tiny script that gets invoked by
> >     git-buildpackage:
> > 
> > This is frustrating, debian packages should not come out half-ready
> > asking users to fill in pieces by writing wrappers to /usr/local/bin.

> > I think a --pbuilder option to git-buildpackage which one can set as default
> > to gbp.conf would be a better solution.

> This is difficult with all the cowbuilder/pbuilder options. E.g. I'm
> using:
>  pdebuild --configfile /etc/pbuilder/pbuilderrc.$DIST \
>         --pbuilder cowbuilder                       \
>         --debbuildopts "-i\.git/ -I.git $*"
> as one command and do have symlinks to figure out the dist from the
> script name. Handling this in git-buildpackage is just overkill, I
> think. But I'm open to suggestions (and patches of course).

I just realized that it's just the documentation that is misleading.

        git-buildpackage --git-builder="pdebuild --debbuildopts '-i\.git/ 
-I.git'"

apparently works. So the documention should probably be written "if
you want to setup some more complex options with pbuilder, you hage
to use a  a tiny script that gets invoked by git-buildpackage:"

Cheers,
Riku





-- 
"rm -rf" only sounds scary if you don't have backups

Attachment: signature.asc
Description: Digital signature

Reply via email to