Hi,

First of all, thanks for your fast answer.

Guido Günther wrote:
> Supporting qemubuilder would be a good thing however The symlink
> solution requires separate user setup (must be in $PATH) etc. I'd rather
> have something that can be controlled via the environment, so we can add
> options to gbp too, like:
>       git-buildpackage --git-qemubuilder --git-qemu-arch=<...> ...
> 
> What do you think?

Well in my mind, the symlink would be created by the package, in
postinst or something like this. If the user doesn't have qemubuilder
installed, running

    git-buildpackage --git-builder=git-qemubuilder

would simply return an error instructing to install qemubuilder first.
Otherwise, it just works without further setup from the user (assuming
their qemubuilder is properly configured).

But of course, your solution would work too, and doesn't require much
changes to my patch (the only difference is how we set $BUILDER, $DIST
and $ARCH can already be passed as environment variables).

Both methods can even be implemented concurrently; we only need to
decide what takes precedence (for now, it's the values extracted from
the executable over the environment variables, but that could easily be
changed).

I'll give it a try with a patch adding the relevant command line options
to git-buildpackage, to see if we agree how to implement this.

Regards,

-- 
Benoît Knecht



--
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