Commit 8d17235c authored by Junichi Uekawa's avatar Junichi Uekawa

add GNU screen support as C11screen; build failure will start GNU screen

parent fde0d2ab
2007-05-27 Junichi Uekawa <dancer@debian.org>
* Documentation/pbuilder-doc.xml: add documentation about
C11screen.
* Makefile: install the new example.
* examples/C11screen: add new hook, which might be more useful,
call GNU screen instead of bash.
* pbuilder-updatebuildenv:
* pbuilder-createbuildenv: exit 0 at end.
......
......@@ -4,7 +4,7 @@
and the latest version is found in git repository. -->
<book xml:lang="en">
<bookinfo>
<date>2007-4-10</date>
<date>2007-5-27</date>
<title>pbuilder User's Manual</title>
<abbrev>pbuilder-doc</abbrev>
<subtitle>Usage and operations</subtitle>
......@@ -787,6 +787,17 @@ read
directories under the user's home directory for bind-mounts.
</para>
</sect1>
<sect1 id="shellafterfail">
<title>Logging in to pbuilder to investigate build failure</title>
<para>
It is possible to invoke a shell session after a build
failure. Example hook script are provided as
<filename>C10shell</filename> and
<filename>C11screen</filename> scripts. C10shell script will
start bash inside chroot, and C11screen script will start GNU
screen inside the chroot.
</para>
</sect1>
<sect1 id="modifyupdate">
<title>Logging in to pbuilder to modify the environment</title>
<para>
......
......@@ -87,6 +87,7 @@ install:
$(INSTALL_EXECUTABLE) examples/B91dpkg-i $(DESTDIR)/usr/share/doc/pbuilder/examples
$(INSTALL_EXECUTABLE) examples/B92test-pkg $(DESTDIR)/usr/share/doc/pbuilder/examples
$(INSTALL_EXECUTABLE) examples/C10shell $(DESTDIR)/usr/share/doc/pbuilder/examples
$(INSTALL_EXECUTABLE) examples/C11screen $(DESTDIR)/usr/share/doc/pbuilder/examples
$(INSTALL_EXECUTABLE) examples/D10tmp $(DESTDIR)/usr/share/doc/pbuilder/examples
$(INSTALL_EXECUTABLE) examples/D90chrootmemo $(DESTDIR)/usr/share/doc/pbuilder/examples
$(INSTALL_EXECUTABLE) examples/F90chrootmemo $(DESTDIR)/usr/share/doc/pbuilder/examples
......
......@@ -14,13 +14,15 @@ pbuilder (0.167) UNRELEASED; urgency=low
(Closes: #424717).
- pdebuild will create .build file in similar manner to debuild command
- output is tee'd to terminal and also the logfile.
* add C11screen example script, which starts up GNU screen after build
failure.
[ Loic Minier ]
* Tune aptitude opts in pbuilder-satisfydepends-aptitude to handle complex
dependencies in experimental, to support unsigned APT repositories, and to
not install Recommends.
-- Junichi Uekawa <dancer@debian.org> Sun, 27 May 2007 13:50:46 +0900
-- Junichi Uekawa <dancer@debian.org> Sun, 27 May 2007 14:48:37 +0900
pbuilder (0.166) unstable; urgency=low
......
#!/bin/bash
# example file to be used with --hookdir
#
# invoke GNU screen if build fails.
export debian_chroot="pbuilder"
apt-get install -y --force-yes screen
screen </dev/tty > /dev/tty
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment