[git-buildpackage] [PATCH] doc: expand --git-pbuilder-options docs
Ken Dreyer
kdreyer at redhat.com
Fri Aug 11 19:04:45 CEST 2017
Give an example of how to use the --git-pbuilder-options option, and
explain how it interacts with git-pbuilder.
---
docs/manpages/gbp-buildpackage.sgml | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/docs/manpages/gbp-buildpackage.sgml b/docs/manpages/gbp-buildpackage.sgml
index 31faabc..a246e68 100644
--- a/docs/manpages/gbp-buildpackage.sgml
+++ b/docs/manpages/gbp-buildpackage.sgml
@@ -417,7 +417,13 @@
<para>
Options to pass to pbuilder when building via &git-pbuilder; (either
via <option>--git-pbuilder</option>, <option>--git-qemubuilder</option>
- or the corresponding configuration file options).
+ or the corresponding configuration file options). For example, to
+ tell pbuilder to use an alternate .pbuilderrc file, you may run
+ &gbp-buildpackage; with
+ <option>--git-pbuilder-options="--configfile
+ /tmp/my/pbuilderrc"</option>". If unset, no
+ <replacable>GIT_PBUILDER_OPTIONS</replacable> environment
+ variable will be passed to <command>git-pbuilder</command>.
</para>
</listitem>
</varlistentry>
--
2.13.3
More information about the git-buildpackage
mailing list