From a99f0f2e083cdd32a49cfb7b80ced878813909cd Mon Sep 17 00:00:00 2001 From: Adam Glasgall Date: Fri, 12 Jul 2013 23:49:54 -0400 Subject: [PATCH] build source packages in a chroot too --- debian/changelog | 7 +++++++ invirtibuilder | 4 +++- 2 files changed, 10 insertions(+), 1 deletion(-) 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' -- 1.7.9.5