ok, i understand...
thanks guys... ----- Original Message ----- From: <[EMAIL PROTECTED]> To: <[email protected]> Sent: Thursday, March 06, 2008 5:27 AM Subject: Clfs-dev Digest, Vol 5, Issue 2 > Send Clfs-dev mailing list submissions to > [email protected] > > To subscribe or unsubscribe via the World Wide Web, visit > http://lists.cross-lfs.org/listinfo.cgi/clfs-dev-cross-lfs.org > or, via email, send a message with subject or body 'help' to > [EMAIL PROTECTED] > > You can reach the person managing the list at > [EMAIL PROTECTED] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Clfs-dev digest..." > > > Today's Topics: > > 1. [ book question ] (Adrian Migraso) > 2. Re: [ book question ] (David Broadfoot) > 3. Re: [ book question ] ([EMAIL PROTECTED]) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Wed, 5 Mar 2008 18:17:40 +0800 > From: "Adrian Migraso" <[EMAIL PROTECTED]> > Subject: [Clfs-dev] [ book question ] > To: <[email protected]> > Message-ID: <[EMAIL PROTECTED]> > Content-Type: text/plain; charset="iso-8859-1" > > hi, > > i have been browsing the clfs-embedded (x86), and didn't notice an > instruction to chroot in the $CLFS environment... > > is this a working book? > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > http://lists.cross-lfs.org/pipermail/clfs-dev-cross-lfs.org/attachments/20080305/23b105e7/attachment.html > > ------------------------------ > > Message: 2 > Date: Wed, 05 Mar 2008 06:06:49 -0700 > From: David Broadfoot <[EMAIL PROTECTED]> > Subject: Re: [Clfs-dev] [ book question ] > To: CLFS development discussion <[email protected]> > Message-ID: <[EMAIL PROTECTED]> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > Adrian, > > THe ${CLFS} is only needed when U are building outside the chroot. > ${CLFS} is needed because it really simplifies building, instead of > typeing /mnt/clfs on every package, and it also allows for building > anywhere on the host system. When U enter the chroot, U are changing the > root from your host's root to ${CLFS}. After this, the variable is no > longer needed..... > > chroot "${CLFS}" /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 > > > In the above command, it changes the current shell's root to ${CLFS}, > cleans the env so that there is no host variables, and sets the few > needed ones. > > > Hope this helps, > > Dave > > > > > Adrian Migraso wrote: >> hi, >> >> i have been browsing the clfs-embedded (x86), and didn't notice an >> instruction to chroot in the $CLFS environment... >> >> is this a working book? >> >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> Clfs-dev mailing list >> [email protected] >> http://lists.cross-lfs.org/listinfo.cgi/clfs-dev-cross-lfs.org >> > > > > ------------------------------ > > Message: 3 > Date: Wed, 05 Mar 2008 09:46:58 -0500 > From: [EMAIL PROTECTED], [EMAIL PROTECTED] > Subject: Re: [Clfs-dev] [ book question ] > To: CLFS development discussion <[email protected]> > Message-ID: > <S367220AbYCEOq7/[EMAIL PROTECTED]> > Content-Type: text/plain; format=flowed; charset="iso-8859-1" > > Adrian Migraso writes: > >> hi, >> >> i have been browsing the clfs-embedded (x86), and didn't notice an >> instruction to chroot in the $CLFS environment... >> >> is this a working book? >> > > This is exactly how the book is supposed to work. The entire final system > is > cross-compiled on the host (using the cross-toolchain in > ${CLFS}/cross-tools) - no booting/chrooting is needed. > > > ------------------------------ > > _______________________________________________ > Clfs-dev mailing list > [email protected] > http://lists.cross-lfs.org/listinfo.cgi/clfs-dev-cross-lfs.org > > > End of Clfs-dev Digest, Vol 5, Issue 2 > ************************************** > _______________________________________________ Clfs-dev mailing list [email protected] http://lists.cross-lfs.org/listinfo.cgi/clfs-dev-cross-lfs.org
