Roger Leigh <[email protected]> writes:

[...]

> In this situation, I guess there are two possibilities:
>
> 1) You run "dpkg-source -b" yourself, then run sbuild with the
>    resulting .dsc.  This won't require any changes to sbuild directly.
>
> 2) We add an option to sbuild to permit cleaning of the tree to be
>    skipped.  I guess we can add -nc like for dpkg-buildpackage.
>
> It depends on whether (1) is too much of an inconvenience.  But it's
> certainly possible to do (2).

I would prefer (2) for personal use, I like doing:

#+begin_src sh
me@home:~$ git buildpackage --git-builder="sbuild -A -d unstable" 
--git-cleaner=/bin/true
#+end_src

This is fine for arch=all packages but requires X runs for X
architectures, so I'm looking at rebuildd and its interaction with
reprepro[1][2].

In that case, I'm inclined to use something like:

#+begin_src sh
me@home:~$ git buildpackage \
  --git-builder="dpkg-buildpackage -nc -d -S" \
  --git-postbuild='dput reprepro "${GBP_CHANGES_FILE}"'
  --git-cleaner=/bin/true
#+end_src

and let rebuildd to the work.

Regards.

Footnotes: 
[1]  http://inodes.org/2009/09/14/building-a-private-ppa-on-ubuntu/

[2]  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=656187

-- 
Daniel Dehennin
Récupérer ma clef GPG:
gpg --keyserver pgp.mit.edu --recv-keys 0x6A2540D1

Attachment: pgp0PuKndsN5p.pgp
Description: PGP signature

Reply via email to