X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=dgit-user.7.pod;h=c33cf300e36b096c7b9bd0717f6374b81ba91ef0;hb=1496d006a79eeeed4db2a444e3ad8b7bc1f7e4c1;hp=51a1fa35ed5769c6ad8fc5e604cff46935650246;hpb=2df99b45d5d71490bde0404e85be4f11e6241599;p=dgit.git 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