Bug#565746: pbuilder: please add hooks to be executed just before saving after login-or-execute
Loïc Minier
lool at dooz.org
Thu Jan 21 13:38:09 UTC 2010
Hi
On Mon, Jan 18, 2010, 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).
What if instead we would change these F scripts to test whether
--save-after-{login,execute} is set?
I personally would prefer maintaining a single script rather than two,
but I'm not sure whether you can really disable the F scripts in
question in these cases or not.
Thanks,
--
Loïc Minier
More information about the Pbuilder-maint
mailing list