could not chroot to new evironment

2008-05-16 Thread morfast
Hello,everyone I wrote a script to accomplish the building of the tool chain. I use a variable in the script instead of the /tools soft link to refer to the $LFS/tools directory. The script seems to finish without errors. But when I try to chroot to the $LFS directory, a error message was

Re: could not chroot to new evironment

2008-05-16 Thread Chris Staub
morfast wrote: Hello,everyone I wrote a script to accomplish the building of the tool chain. I use a variable in the script instead of the /tools soft link to refer to the $LFS/tools directory. You simply cannot do that. The reason why /tools is used instead of $LFS/tools - and this is

Re: could not chroot to new evironment

2008-05-16 Thread Thomas Pegg
morfast wrote: Hello,everyone I wrote a script to accomplish the building of the tool chain. I use a variable in the script instead of the /tools soft link to refer to the $LFS/tools directory. The script seems to finish without errors. But when I try to chroot to the $LFS directory, a

Re: could not chroot to new evironment

2008-05-16 Thread morfast
Jeremy Huntwork wrote: morfast wrote: Hello,everyone I wrote a script to accomplish the building of the tool chain. I use a variable in the script instead of the /tools soft link to refer to the $LFS/tools directory. The script seems to finish without errors. But when I try to chroot to

Re: could not chroot to new evironment

2008-05-16 Thread morfast
Chris Staub wrote: morfast wrote: Hello,everyone I wrote a script to accomplish the building of the tool chain. I use a variable in the script instead of the /tools soft link to refer to the $LFS/tools directory. You simply cannot do that. The reason why /tools is used instead of

Re: could not chroot to new evironment

2008-05-16 Thread morfast
Thomas Pegg wrote: morfast wrote: Hello,everyone I wrote a script to accomplish the building of the tool chain. I use a variable in the script instead of the /tools soft link to refer to the $LFS/tools directory. The script seems to finish without errors. But when I try to chroot to the

Re: could not chroot to new evironment

2008-05-16 Thread Gerard Beekmans
Hi, A few replies have already been sent that mentioned a few different aspect of what went wrong in your build. I just saw your own replies that you got it figured out. Here are a few additional notes which may prove helpful for the archives. chroot: cannot run command

Re: could not chroot to new evironment

2008-05-16 Thread morfast
Gerard Beekmans wrote: Hi, A few replies have already been sent that mentioned a few different aspect of what went wrong in your build. I just saw your own replies that you got it figured out. Here are a few additional notes which may prove helpful for the archives. chroot: cannot