Bug#377589: [Buildd-tools-devel] Bug#377589: dchroot doesn't allow the use of options to the command it runs

Roger Leigh rleigh at whinlatter.ukfsn.org
Mon Jul 10 10:15:10 UTC 2006


Andrew Chittenden <achittenden at bluearc.com> writes:

> I used to be able to use "dchroot -c ia32-unstable -- bash --login". Now
> it says:
>
> # dchroot -c ia32-unstable -- bash --login
> E: Only one command may be specified
> I: Run "dchroot --help" to list usage example and all available options
> # 
>
> And there doesn't seem to be a way of doing this (that I've tried).

dchroot -c ia32-unstable -- "bash --login"

dchroot version 0.99.0 had an accidental regression where it adopted
the schroot command syntax.  All other versions take a single argument
to pass to "/bin/sh -c", so you can put whatever shell commands you
want in there.


Regards,
Roger

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux             http://people.debian.org/~rleigh/
 `. `'   Printing on GNU/Linux?       http://gutenprint.sourceforge.net/
   `-    GPG Public Key: 0x25BFB848   Please sign and encrypt your mail.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20060710/863872f8/attachment.pgp


More information about the Buildd-tools-devel mailing list