On Sat, 2013-08-31 at 10:39 -0700, Russ Allbery wrote: 
> Mònica Ramírez Arceda <mon...@debian.org> writes:
> 
> > This command is still not working for me :-(
> 
> > According to git-pbuilder man page, I must retitle mybase.cow to
> > base-mybase.cow. When I retitle the image, git-pbuilder works using this
> > command:
> 
> > $ env DIST=xmlstarlet git-pbuilder
> 
> Ah, yes, sorry, that's true.  The base directory must begin with "base-"
> currently.
> 
> > but if I run git-buildpackage with the command you recommended, it still
> > continues using base.cow.
> 
> > I've taken a look to the source code and it seems that DIST env var is
> > overwritten when using --git-pbuilder option [0]:
> >     
> >     if options.use_pbuilder or options.use_qemubuilder:
> >         ...
> >         os.environ['DIST'] = options.pbuilder_dist
> 
> Oh, sorry, I'd missed that.  So if you're using --git-pbuilder, you
> instead want --git-dist=mybase.  But you will have to name it with "base-"
> as a prefix.

Thanks a lot! Now with the "base-" prefix (image name: base-mybase) and
with the following command, it works:

$ git-buildpackage --git-pbuilder --git-dist='mybase'

But I still think that this solution is not very intuitive (or my
intuition is not good enough ;-) ), so I'll keep this bug open. I think
it's more intuitive to pass the option to --git-pbuilder-options or have
an option with a more intuitive name.

Thanks again!
Mònica

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to