Bug#565746: pbuilder: please add hooks to be executed just before saving after login-or-execute
Mattia Rizzolo
mattia at mapreri.org
Tue Oct 13 20:12:55 UTC 2015
control: tags -1 - patch
On Mon, Jan 18, 2010 at 03:49:49PM +0100, Jean-Christophe Dubacq wrote:
> 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).
I see the point to need this.
But I think that would be a too restricted scope. IMHO.
It needs a bit reworking on how the last seconds of chroots are handled
(discarding the chroot/saving the chroot+(re)packing) before doing it,
but I'd rather add a hook meant to be run always when creating the
chroot.
After this would easy editing the chroot, because that would be as easy
as writing the script to do the changes, rather than creating costum
scripts and getting them executed inside somehow (as we do in
jenkins.d.n)
--
regards,
Mattia Rizzolo
GPG Key: 66AE 2B4A FCCF 3F52 DA18 4D18 4B04 3FCD B944 4540 .''`.
more about me: http://mapreri.org : :' :
Launchpad user: https://launchpad.net/~mapreri `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia `-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pbuilder-maint/attachments/20151013/ee1b81bb/attachment.sig>
More information about the Pbuilder-maint
mailing list