[Pbuilder-maint] pbuilder CVS update: pbuilder/Documentation
pbuilder-doc.xml
pbuilder CVS Commit
pbuilder-maint at lists.alioth.debian.org
Mon May 15 12:49:55 UTC 2006
User: dancer
Date: 06/05/15 12:49:55
Modified: Documentation pbuilder-doc.xml
Log:
* Documentation/pbuilder-doc.xml: document method for adding local
repository.
thanks to Ondrej.
Revision Changes Path
1.68 +31 -2 pbuilder/Documentation/pbuilder-doc.xml
CVSWEB Options: -------------------
CVSWeb: Annotate this file: http://cvs.alioth.debian.org/cgi-bin/cvsweb.cgi/pbuilder/pbuilder/Documentation/pbuilder-doc.xml?annotate=1.68&cvsroot=
CVSWeb: View this file: http://cvs.alioth.debian.org/cgi-bin/cvsweb.cgi/pbuilder/pbuilder/Documentation/pbuilder-doc.xml?rev=1.68&content-type=text/x-cvsweb-markup&cvsroot=
CVSWeb: Diff to previous version: http://cvs.alioth.debian.org/cgi-bin/cvsweb.cgi/pbuilder/pbuilder/Documentation/pbuilder-doc.xml.diff?r1=1.68&r2=1.67&cvsroot=
-----------------------------------
Index: pbuilder-doc.xml
===================================================================
RCS file: /cvsroot/pbuilder/pbuilder/Documentation/pbuilder-doc.xml,v
retrieving revision 1.67
retrieving revision 1.68
diff -u -r1.67 -r1.68
--- pbuilder-doc.xml 22 Apr 2006 04:21:24 -0000 1.67
+++ pbuilder-doc.xml 15 May 2006 12:49:55 -0000 1.68
@@ -811,7 +811,7 @@
</para>
</sect1>
<sect1>
- <title>Using special apt sources lists</title>
+ <title>Using special apt sources lists, and local packages</title>
<para>
If you have some very specialized requirements on your
apt setup inside pbuilder,
@@ -827,6 +827,30 @@
<command><option>--bindmounts</option></command>
is a command-line option useful for such cases.
</para>
+ <para>
+ It might be convenient to use your built packages from inside the chroot.
+ It is possible to automate the task with the following configuration.
+ First, set up pbuilderrc to bindmount your build results directory.
+ </para>
+ <para>
+ <screen>BINDMOUNTS="/var/cache/pbuilder/result"
+ </screen>
+ </para>
+ <para>
+ Then, add the following hook
+ </para>
+ <para>
+ <screen>
+# cat /var/cache/pbuilder/hooks/D70results
+#!/bin/sh
+cd /var/cache/pbuilder/result/
+/usr/bin/dpkg-scanpackages . /dev/null > /var/cache/pbuilder/result/Packages
+/usr/bin/apt-get update
+ </screen>
+ </para>
+ <para>
+ This way, you can use <filename>deb file:/var/cache/pbuilder/result</filename>
+ </para>
</sect1>
<sect1>
<title>How to get pbuilder to run apt-get update before trying to satisfy build-dependency</title>
@@ -834,6 +858,11 @@
You can use hook scripts for this.
D scripts are run before satisfying build-dependency.
</para>
+ <para>
+ <url link="http://lists.debian.org/debian-devel/2006/05/msg00550.html">
+ This snippet comes from Ondrej Sury.
+ </url>
+ </para>
</sect1>
<sect1>
<title>Different bash prompts inside pbuilder login</title>
More information about the Pbuilder-maint
mailing list