On Sat, 2011-04-16 at 15:09 +0530, janu mam wrote:
> 6.4. Entering the Chroot Environment (page no-79)
> ---------------------------------
> see third paragaph
> >From this point on, there is no need to use the LFS variable anymore,
> because all work will be restricted to the LFS
> file system. This is because the Bash shell is told that $LFS is now
> the root (/) directory.
> ------------------------------------------------------------------------------------------------
> root[ ~ [#chroot "$LFS" /tools/bin/env -i \
> HOME=/root TERM="$TERM" PS1='\u:\w\$ ' \
> PATH=/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin \
> /tools/bin/bash --login +h
> result is I have no name!:/# this is right according to book
> 
> I have no name!:/#echo $LFS
> no (any) output
> this is continuing till end of chapter 6,you are saying that it should
> set (echo $LFS))

You're misunderstanding that third paragraph. Once you enter the chroot
environment, the $LFS directory becomes the root directory for all
further commands, and there's no longer any need for the variable. While
in that environment, the variable shouldn't be set.

Simon.

Attachment: signature.asc
Description: This is a digitally signed message part

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to