[Clfs-dev] [ book question ]

Adrian Migraso adrian.migraso at outsourcing.ph
Wed Mar 5 15:44:48 PST 2008


ok,

i understand...

thanks guys...


----- Original Message ----- 
From: <clfs-dev-request at lists.cross-lfs.org>
To: <clfs-dev at lists.cross-lfs.org>
Sent: Thursday, March 06, 2008 5:27 AM
Subject: Clfs-dev Digest, Vol 5, Issue 2


> Send Clfs-dev mailing list submissions to
> clfs-dev at lists.cross-lfs.org
>
> 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
> clfs-dev-request at lists.cross-lfs.org
>
> You can reach the person managing the list at
> clfs-dev-owner at lists.cross-lfs.org
>
> 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 ] (Chris at swip003.ftl.affinity.com)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 5 Mar 2008 18:17:40 +0800
> From: "Adrian Migraso" <adrian.migraso at outsourcing.ph>
> Subject: [Clfs-dev] [ book question ]
> To: <clfs-dev at lists.cross-lfs.org>
> Message-ID: <00ba01c87eaa$25dab750$9300a8c0 at outsourcing.local>
> 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 <david at cross-lfs.org>
> Subject: Re: [Clfs-dev] [ book question ]
> To: CLFS development discussion <clfs-dev at lists.cross-lfs.org>
> Message-ID: <47CE9AE9.3090601 at cross-lfs.org>
> 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
>> Clfs-dev at lists.cross-lfs.org
>> http://lists.cross-lfs.org/listinfo.cgi/clfs-dev-cross-lfs.org
>>
>
>
>
> ------------------------------
>
> Message: 3
> Date: Wed, 05 Mar 2008 09:46:58 -0500
> From: Chris at swip003.ftl.affinity.com, Staub at swip003.ftl.affinity.com
> Subject: Re: [Clfs-dev] [ book question ]
> To: CLFS development discussion <clfs-dev at lists.cross-lfs.org>
> Message-ID:
> <S367220AbYCEOq7/20080305144659Z+10961 at swip003.ftl.affinity.com>
> 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
> Clfs-dev at lists.cross-lfs.org
> http://lists.cross-lfs.org/listinfo.cgi/clfs-dev-cross-lfs.org
>
>
> End of Clfs-dev Digest, Vol 5, Issue 2
> **************************************
> 




More information about the Clfs-dev mailing list