On Thu, Mar 26, 2009 at 12:20:21PM +0100, Andreas Beckmann wrote: > a) Print a warning message "Copying binaries into the pbuilder chroot > and running them there may not work!" if 'file $SCRIPT' returns > something containing "binary".
meh, no. If people knows what a binary is I very much they can deal
with it, otherwise imho they are doing something they shouldn't be
doing.
> b) add a --nocopy (or choose a better name) flag so that
> sudo pbuilder execute --nocopy -- /bin/echo hello world
> will execute the binary found inside the chroot.
For this, please consider opening a separeted bug, simply stating
"please allow executing direct commands into che chroot without the need
of an exeternal script" or something on that line.
> Deriving some automatism to detect the users intentions ('copy and
> execute' or 'just execute what's in the chroot') will be hard and
> more confusing.
Indeed.
For now, I'll consider this bug closed after a better --help message
(please comment on the commit that is coming (will be announced in the
bug))
--
regards,
Mattia Rizzolo
GPG Key: 66AE 2B4A FCCF 3F52 DA18 4D18 4B04 3FCD B944 4540 .''`.
more about me: https://mapreri.org : :' :
Launchpad user: https://launchpad.net/~mapreri `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia `-
signature.asc
Description: PGP signature

