From: Ian Jackson Date: Sun, 16 Jul 2017 17:27:16 +0000 (+0100) Subject: dgit-user(7): Provide information about how to use sbuild X-Git-Tag: archive/debian/4.1~57 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=dgit.git;a=commitdiff_plain;h=f0005d23714948d153e4f83e9dc3bca620589a4d dgit-user(7): Provide information about how to use sbuild Quite ugly due to #868527. Closes:#868526. Signed-off-by: Ian Jackson --- diff --git a/debian/changelog b/debian/changelog index 02b35984..e2c37a21 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,8 @@ dgit (4.1~) experimental; urgency=medium Documentation: + * dgit-user(7): Provide information about how to use sbuild. + Quite ugly due to #868527. Closes:#868526. * dgit-user(7): Fixed example rune to use curl (which prints to stdout, as the rune expects). [reported by Simon Tatham] diff --git a/dgit-user.7.pod b/dgit-user.7.pod index 51a1fa35..c33cf300 100644 --- a/dgit-user.7.pod +++ b/dgit-user.7.pod @@ -303,6 +303,26 @@ C<-uc> means not to pgp-sign the results. C<-b> means build all binary packages, but not to build a source package. +=head2 Using sbuild + +You can build in an schroot chroot, with sbuild, instead of in your +main environment. (sbuild is used by the Debian build daemons.) + +=over 4 + + % git clean -xdf + % sbuild -c jessie -A --no-clean-source \ + --dpkg-source-opts='-Zgzip -z1 --format=1.0 -sn' + +=back + +Note that this will seem to leave a "source package" +(.dsc and .tar.gz) +in the parent directory, +but that source package should not be used. +It is likely to be broken. +For more information see Debian bug #868527. + =head1 INSTALLING =head2 Debian Jessie or older