Bug#565746: pbuilder: please add hooks to be executed just before saving after login-or-execute

Jean-Christophe Dubacq jcdubacq1 at free.fr
Mon Jan 18 14:49:49 UTC 2010


Package: pbuilder
Version: 0.196
Severity: minor
Tags: patch

Currently, scripts that modify the image in the "F" series of hooks have to be
idempotent, since they are not reversed when --save-after-{login,execute} is used.

Sometimes, it would be useful to instead split the script in two, one removing
what was done in the initialisation. This patch introduces the "H" series to undo
what was done at the "F" stage (or something else).

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'stable'), (100, 'unstable'), (50, 'experimental')
Architecture: i386 (x86_64)

Kernel: Linux 2.6.32-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages pbuilder depends on:
ii  coreutils                     7.4-2      The GNU core utilities
ii  debconf [debconf-2.0]         1.5.28     Debian configuration management sy
ii  debianutils                   3.2.2      Miscellaneous utilities specific t
ii  debootstrap                   1.0.20     Bootstrap a basic Debian system
ii  wget                          1.12-1.1   retrieves files from the web

Versions of packages pbuilder recommends:
ii  devscripts                    2.10.59    scripts to make the life of a Debi
ii  fakeroot                      1.14.4-1   Gives a fake root environment
ii  sudo                          1.7.2p1-1  Provide limited super user privile

Versions of packages pbuilder suggests:
pn  cowdancer                   <none>       (no description available)
ii  gdebi-core                  0.5.9debian2 Simple tool to install deb files
pn  pbuilder-uml                <none>       (no description available)

-- debconf information:
  pbuilder/nomirror:
* pbuilder/mirrorsite: http://ftp.fr.debian.org/debian/
* pbuilder/rewrite: false
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pbuilder-patch
Type: text/x-diff
Size: 1216 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pbuilder-maint/attachments/20100118/0264b3b7/attachment.diff>


More information about the Pbuilder-maint mailing list