[Piuparts-devel] RFC: getting a shell in the piuparts environment
holger at layer-acht.org
Mon May 2 08:45:43 UTC 2016
On Mon, May 02, 2016 at 09:17:34AM +0200, Andreas Beckmann wrote:
> in branch preview/enter you can find a patch to get an interactive shell
> in the piuparts chroot for debugging a failure
> command line parameter is open for discussion
> this is run from Chroot.remove(), and rather useless if called after a
> successful test or after creating the reference chroot for a
> dist-upgrade test, but it's helpful if called during the execution of
> the panic handler. I don't know how to properly distinguish these two
> cases though. (it could be --enter-on-error in that case instead)
I like --enter-on-error or --shell-on-error better than just --enter.
> does not work if piuparts is run under timeout
this limitations should be explained in the manpage and README.
> theoretically we could allow this at different places, too
> e.g. for distupgrades to perform some manual modifications before
> distupgrading to the next release. It may be easier to test something
> interactively before putting it into a script
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 811 bytes
Desc: Digital signature
More information about the Piuparts-devel