[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Change in do_chroot script from am64 howto



Am Dienstag, den 20.06.2006, 00:40 +0200 schrieb Gudjon I. Gudjonsson:
> Hi
>    Hope I am nod off topic but I changed to schroot, many months ago and my 
> do_chroot script looks like
> #!/bin/sh
> ARGS=""
> for i in "$@" ; do
>         ARGS="$ARGS '$i'"
> done
> 
> exec schroot -p -c sid "`basename $0`" "$ARGS"
> 
> and it works perfectly. The schroot must be set up though but the config file 
> is quite self explanatory.

Hi Gudjon,

I've seen the schroot-package during the last upgrade, but i spent no
time to read the man-page for this tool. Now, after reading, I think
this is much better than the old dchroot command.

I takes some minutes to set it up, because my matlab-installation also
won't work with my old dchroot. 

Thanks a lot,
Markus

> 
> /Gudjon
> 
> Þann Þriðjudagur 20. júní 2006 00:18 skrifaði Markus Neviadomski:
> > Hi,
> >
> > after upgrading my amd64/unstable with ia32-chroot(also unstable) the
> > chroot-script from
> > https://alioth.debian.org/docman/view.php/30192/21/debian-amd64-howto.html#
> >id272095 doesn't work. I used it for calling OpenOffice from outside the
> > chroot.
> >
> > I'm not shure whether the change was in the way the script interprets
> > the calling parameter or the changes where made in chroot environment.
> >
> > After the upgrade the script passes the following command to the chroot
> > <ooffice  'file.odt'> but only this command works: <ooffice file.odt>
> >
> > Starting OpenOffice without any parameter wasn't affected.
> >
> > Would anybody approve this behavior? In the following is the script with
> > the changes I made:
> >
> > <<<<
> > #!/bin/sh
> > ARGS=""
> > for i in "$@" ; do
> >         ARGS="$ARGS$i"
> >         done
> > echo "`basename $0`" "$ARGS"
> >
> > exec dchroot -c ia32 -d -q "`basename $0`" "$ARGS"
> >
> >
> > --
> > ----------------------------------------------------------
> > Markus Neviadomski             mailto: mn@dieitexperten.de
> > WWW:   www.dieitexperten.de
> > Linux User #291181
> > GPG-Key: 0xF5226EB5
> > -----------------------------------------------------------
> 

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


Reply to: