From 3b27de7dd10574f2e04df6a5fb89df792f369025 Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Fri, 27 Jul 2018 10:48:30 +0800 Subject: dgit(1): document new pbuilder and cowbuilder subcommands Signed-off-by: Sean Whitton --- dgit.1 | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/dgit.1 b/dgit.1 index f0d637d..2976e13 100644 --- a/dgit.1 +++ b/dgit.1 @@ -17,6 +17,10 @@ dgit \- git integration with the Debian archive [\fIbuild\-opts\fP] .br .B dgit +[\fIdgit\-opts\fP] \fBpbuilder\fP|\fBcowbuilder\fP +[\fIdebbuildopts\fP] +.br +.B dgit [\fIdgit\-opts\fP] \fBpush\fP|\fBpush-source\fP [\fIdgit\-opts\fP] [\fIsuite\fP] .br @@ -194,6 +198,34 @@ You probably want to pass -A, to request those. .IP Tagging, signing and actually uploading should be left to dgit push. .TP +\fBdgit pbuilder\fR [\fIdebbuildopts\fP] +Like \fBdgit sbuild\fR, but uses +.B pbuilder +instead of +.BR sbuild , +and builds arch-independent packages by default. + +You should ensure that your dgit --build-products-dir setting matches +your pbuilder --buildresult. + +The \fIdebbuildopts\fP are passed to pbuilder using its --debbuildopts +option. If you want to pass other options to pbuilder, use the +\fB--pbuilder:\fR dgit option as described below +(recalling that dgit options should appear between \fBdgit\fR and +\fBpbuilder\fR). + +You should ensure that in your pbuilderrc you do +.B not +have the setting +.B SOURCE_ONLY_CHANGES=yes +as this may cause trouble. +.TP +\fBdgit cowbuilder\fR [\fIdebbuildopts\fP] +Like \fBdgit pbuilder\fR, but uses +.B cowbuilder +instead of +.B pbuilder. +.TP \fBdgit gbp-build\fR ... Runs .B git-buildpackage @@ -922,6 +954,8 @@ Specifies a single additional option to pass to .BR dpkg-buildpackage , .BR dpkg-genchanges , .BR sbuild , +.BR pbuilder , +.BR cowbuilder , .BR ssh , .BR dgit , .BR git-debrebase , @@ -969,6 +1003,8 @@ Specifies alternative programs to use instead of .BR dpkg-buildpackage , .BR dpkg-genchanges , .BR sbuild , +.BR pbuilder , +.BR cowbuilder , .BR gpg , .BR ssh , .BR dgit , @@ -1007,6 +1043,14 @@ In both cases, unusually, the specified value is split on whitespace to produce a command and possibly some options and/or arguments. +For pbuilder and cowbuilder, the defaults are +.BR "sudo -E pbuilder" +and +.BR "sudo -E cowbuilder" +respectively. +Like with gbp-build and gbp pq, +the specified value is split on whitespace. + For .BR ssh , the default value is taken from the -- cgit v1.2.3