Mònica Ramírez Arceda <mon...@debian.org> writes:

> I would like to use a customized cowbuilder image when running
> git-buildpackage.  If I try to pass the location of this image to
> --git-pbuilder-options, git-buildpackage continues using base.cow
> instead of the file I want to use.

> The command I use is the following, where mybase.cow is the image I want
> to use:

> $ git-buildpackage --git-ignore-new --git-pbuilder 
> --git-pbuilder-options='--basepath /var/cache/pbuilder/mybase.cow'

git-pbuilder doesn't take options to change the basepath.  Instead, it
uses environment variables.  See the git-pbuilder man page for more
information, but the short version is that you want:

    env DIST=mybase git-buildpackage --git-ignore-new --git-pbuilder

Options passed to git-pbuilder are just passed directly on to debbuild.

-- 
Russ Allbery (r...@debian.org)               <http://www.eyrie.org/~eagle/>


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to