From: Adam Glasgall Date: Sat, 13 Jul 2013 03:49:54 +0000 (-0400) Subject: build source packages in a chroot too X-Git-Tag: 0.1.25_glasgall1^0 X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-dev.git/commitdiff_plain/refs/heads/hardy-glasgall-dev build source packages in a chroot too --- diff --git a/debian/changelog b/debian/changelog index bcb180f..05878d4 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +invirt-dev (0.1.25~glasgall1) unstable; urgency=low + + * Build source packages in a chroot as well so that they can take + advantage of newer debhelper et al versions. + + -- Adam Glasgall Fri, 12 Jul 2013 23:48:06 -0400 + invirt-dev (0.1.24) unstable; urgency=low * Use opcode "auto" for build zephyrs diff --git a/invirtibuilder b/invirtibuilder index fd1417f..4e73484 100755 --- a/invirtibuilder +++ b/invirtibuilder @@ -389,7 +389,9 @@ def build(): # If we were, we could use debuild and get nice # environment scrubbing. Since we're not, debuild # complains about not having an orig.tar.gz - logAndRun(['dpkg-buildpackage', '-us', '-uc', '-S'], + logAndRun(['schroot', '-c', + '%s-amd64-sbuild' % (b.pocketToDistro(pocket),), + '--', 'dpkg-buildpackage', '-us', '-uc', '-S'], cwd=packagedir) db.failed_stage = 'building binary packages'