[buildd-tools-devel] Bug#655215: Bug#655215: Bug#655215: sbuild: Do not do run "fakeroot ./debian/rules clean" before building source
Tzafrir Cohen
tzafrir at cohens.org.il
Mon Aug 31 16:43:36 UTC 2015
tag 655215 +patch
thanks
Long ago, on Mon, Jan 09, 2012 at 01:35:09PM +0000, Roger Leigh wrote:
> On Mon, Jan 09, 2012 at 01:37:43PM +0100, Daniel Dehennin wrote:
> > My use case is to automate the building from a VCS (git actually):
> >
> > - I tag a version to be build
> > - I push the tag
> > - The post-receive hook trigger the build system
> > - The build system pull the git tree
> > - The build system run "git-buildpackage"
> >
> > The source tree must be clean on the build system, or there is some
> > files under VCS which should not.
>
> 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).
(1) is indeed of indeed of inconvenience for me. Attached a simple
patch for (2).
--
Tzafrir Cohen | tzafrir at jabber.org | VIM is
http://tzafrir.org.il | | a Mutt's
tzafrir at cohens.org.il | | best
tzafrir at debian.org | | friend
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sbuild-Add-no-clean-source.patch
Type: text/x-diff
Size: 2626 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20150831/66d93a53/attachment.patch>
More information about the Buildd-tools-devel
mailing list