[website] 01/01: Split long cowbuilder commands into multiple lines.
Bas Couwenberg
sebastic at debian.org
Fri Jul 8 22:40:22 UTC 2016
This is an automated email from the git hooks/post-receive script.
sebastic pushed a commit to branch master
in repository website.
commit 87e590385ad6d2e41f0cebfe1c670f018493eb4a
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date: Sat Jul 9 00:40:02 2016 +0200
Split long cowbuilder commands into multiple lines.
---
policy.xml | 26 ++++++++++++++++++++------
1 file changed, 20 insertions(+), 6 deletions(-)
diff --git a/policy.xml b/policy.xml
index bc49c2a..ef4299c 100644
--- a/policy.xml
+++ b/policy.xml
@@ -915,14 +915,19 @@ Cmnd_Alias PBUILDERS=/usr/sbin/pbuilder, /usr/sbin/cowbuilder
To create <emphasis>distribution</emphasis> specific
<command>cowbuilder</command> chroots, use:
<programlisting>
-<command>sudo cowbuilder</command> <option>--create</option> <option>--distribution=<replaceable><distribution></replaceable></option> <option>--basepath=/var/cache/pbuilder/base-<replaceable><distribution></replaceable>.cow</option>
+<command>sudo cowbuilder</command> <option>--create</option> \
+ <option>--distribution=<replaceable><distribution></replaceable></option> \
+ <option>--basepath=/var/cache/pbuilder/base-<replaceable><distribution></replaceable>.cow</option>
</programlisting>
</para>
<para id="git-cowbuilder-arch">
To create <emphasis>architecture</emphasis>
specific <command>cowbuilder</command> chroots, use:
<programlisting>
-<command>sudo cowbuilder</command> <option>--create</option> <option>--distribution=<replaceable><distribution></replaceable></option> <option>--architecture=<replaceable><architecture></replaceable></option> <option>--basepath=/var/cache/pbuilder/base-<replaceable><distribution></replaceable>-<replaceable><architecture></replaceable>.cow</option>
+<command>sudo cowbuilder</command> <option>--create</option> \
+ <option>--distribution=<replaceable><distribution></replaceable></option> \
+ <option>--architecture=<replaceable><architecture></replaceable></option> \
+ <option>--basepath=/var/cache/pbuilder/base-<replaceable><distribution></replaceable>-<replaceable><architecture></replaceable>.cow</option>
</programlisting>
</para>
<para>
@@ -933,7 +938,9 @@ Cmnd_Alias PBUILDERS=/usr/sbin/pbuilder, /usr/sbin/cowbuilder
<para>
To create the default chroot for <command>git-buildpackage</command>:
<programlisting>
-<command>sudo cowbuilder</command> <option>--create</option> <option>--distribution=sid</option> <option>--basepath=/var/cache/pbuilder/base-sid.cow</option>
+<command>sudo cowbuilder</command> <option>--create</option> \
+ <option>--distribution=sid</option> \
+ <option>--basepath=/var/cache/pbuilder/base-sid.cow</option>
</programlisting>
</para>
<para id="git-pbuilder-tip">
@@ -982,11 +989,17 @@ DIST=<replaceable><distribution></replaceable> ARCH=<replaceable><archi
Specify the <command>pbuilder</command> hook directory when
creating the chroot to run the hook scripts contained therein.
<programlisting>
-<command>sudo cowbuilder</command> <option>--create</option> <option>--distribution=<replaceable>sid</replaceable></option> <option>--basepath=/var/cache/pbuilder/base-<replaceable>sid</replaceable>.cow</option> <option>--hookdir=/var/cache/pbuilder/hook.d/</option>
+<command>sudo cowbuilder</command> <option>--create</option> \
+ <option>--distribution=<replaceable>sid</replaceable></option> \
+ <option>--basepath=/var/cache/pbuilder/base-<replaceable>sid</replaceable>.cow</option> \
+ <option>--hookdir=/var/cache/pbuilder/hook.d/</option>
</programlisting>
If you have already created the chroot, then you will need to do an update and override the configuration to ensure the hook is found:
<programlisting>
-<command>sudo cowbuilder</command> <option>--update</option> <option>--override-config</option> <option>--basepath=/var/cache/pbuilder/base-<replaceable><distribution></replaceable>-<replaceable><architecture></replaceable>.cow</option> <option>--hookdir=/var/cache/pbuilder/hook.d/</option>
+<command>sudo cowbuilder</command> <option>--update</option> \
+ <option>--override-config</option> \
+ <option>--basepath=/var/cache/pbuilder/base-<replaceable><distribution></replaceable>-<replaceable><architecture></replaceable>.cow</option> \
+ <option>--hookdir=/var/cache/pbuilder/hook.d/</option>
</programlisting>
</para>
</sect5>
@@ -997,7 +1010,8 @@ DIST=<replaceable><distribution></replaceable> ARCH=<replaceable><archi
<command>git-buildpackage</command> regularly to build with
the latest packages from the repositories:
<programlisting>
-<command>sudo cowbuilder</command> <option>--update</option> <option>--basepath=/var/cache/pbuilder/base-<replaceable><distribution></replaceable>-<replaceable><architecture></replaceable>.cow</option>
+<command>sudo cowbuilder</command> <option>--update</option> \
+ <option>--basepath=/var/cache/pbuilder/base-<replaceable><distribution></replaceable>-<replaceable><architecture></replaceable>.cow</option>
</programlisting>
Or using <command>git-pbuilder</command>:
<programlisting>
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/website.git
More information about the Pkg-grass-devel
mailing list