[buildd-tools-devel] Bug#868527: Bug#868527: Bug#868527: want sbuild --no-source or something
Ian Jackson
ijackson at chiark.greenend.org.uk
Mon Jul 17 12:18:54 UTC 2017
Raphael Hertzog writes ("Re: [buildd-tools-devel] Bug#868527: Bug#868527: want sbuild --no-source or something"):
> On Sun, 16 Jul 2017, Johannes Schauer wrote:
> > Indeed, the task to solve is how to transfer the source into the chroot.
> >
> > But is $(dpkg-source -Zgzip -z0 --format=1.0 -sn) really the right thing to do?
>
> No, it's clearly a hack and one that might have side effects due to
> differences (for example in set of ignored files) between format 1.0
> and format 3.0 (quilt).
Indeed. I think it's the best recommendation, though, with the
current tooling. Unless you can think of a better option, I think I
should recommend this hack to stretch users.
You are right that it has differences in the ignored files.
Specifically, this rune transfers the complete contents of the working
tree, including the .git directory, into the build environment. I
doubt that is likely to cause trouble in practice.
Ian.
More information about the Buildd-tools-devel
mailing list