summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2017-07-16 18:27:16 +0100
committerIan Jackson <ijackson@chiark.greenend.org.uk>2017-07-18 21:38:10 +0100
commitf0005d23714948d153e4f83e9dc3bca620589a4d (patch)
treed5d833144d73b640289d094e2d218be438dba254
parent2df99b45d5d71490bde0404e85be4f11e6241599 (diff)
dgit-user(7): Provide information about how to use sbuild
Quite ugly due to #868527. Closes:#868526. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
-rw-r--r--debian/changelog2
-rw-r--r--dgit-user.7.pod20
2 files changed, 22 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index 02b3598..e2c37a2 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 51a1fa3..c33cf30 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