Changeset 9cb6b64 for chroot


Ignore:
Timestamp:
Jul 1, 2006, 12:48:39 PM (18 years ago)
Author:
Jim Gifford <clfs@…>
Children:
8018c66
Parents:
2ce8e8a
Message:

r4209@server: jim | 2006-07-01 12:46:18 -0700
Updated variables -

LFS_TARGET is now CLFS_TARGET
LFS_HOST is now CLFS_HOST
LFS_TARGET32 is now CLFS_TARGET32
LFS is now CLFS
/mnt/lfs is now /mnt/clfs


Location:
chroot
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • chroot/common/chroot.xml

    r2ce8e8a r9cb6b64  
    1717  temporary tools:</para>
    1818
    19 <screen><userinput>chroot "$LFS" /tools/bin/env -i \
     19<screen><userinput>chroot "$CLFS" /tools/bin/env -i \
    2020    HOME=/root TERM="$TERM" PS1='\u:\w\$ ' \
    2121    PATH=/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin \
     
    3838  <envar>LFS</envar> variable anymore, because all work will be
    3939  restricted to the CLFS file system.  This is because the Bash shell is
    40   told that <filename class="directory">$LFS</filename> is now the root
     40  told that <filename class="directory">$CLFS</filename> is now the root
    4141  (<filename class="directory">/</filename>) directory.</para>
    4242
  • chroot/common/kernfs.xml

    r2ce8e8a r9cb6b64  
    2323  be mounted:</para>
    2424
    25 <screen><userinput>mkdir -pv $LFS/{dev,proc,sys}</userinput></screen>
     25<screen><userinput>mkdir -pv $CLFS/{dev,proc,sys}</userinput></screen>
    2626
    2727  <para>Now mount the file systems:</para>
    2828
    29 <screen><userinput>mount -vt proc proc $LFS/proc
    30 mount -vt sysfs sysfs $LFS/sys</userinput></screen>
     29<screen><userinput>mount -vt proc proc $CLFS/proc
     30mount -vt sysfs sysfs $CLFS/sys</userinput></screen>
    3131
    3232  <para>Remember that if for any reason you stop working on the CLFS system
     
    3838  starting Udev early in the boot process, so we create them here:</para>
    3939
    40 <screen><userinput>mknod -m 600 $LFS/dev/console c 5 1
    41 mknod -m 666 $LFS/dev/null c 1 3</userinput></screen>
     40<screen><userinput>mknod -m 600 $CLFS/dev/console c 5 1
     41mknod -m 666 $CLFS/dev/null c 1 3</userinput></screen>
    4242
    4343  <para>Once the system is complete and booting, the rest of our device
     
    4848  appear in the new CLFS filesystem:</para>
    4949
    50 <screen><userinput>/tools/bin/mount -o bind /dev $LFS/dev</userinput></screen>
     50<screen><userinput>/tools/bin/mount -o bind /dev $CLFS/dev</userinput></screen>
    5151
    5252  <para>Additional file systems will soon be mounted from within the chroot
     
    5454  for each of these now:</para>
    5555
    56 <screen><userinput>mount -f -vt tmpfs tmpfs $LFS/dev/shm
    57 mount -f -vt devpts -o gid=10,mode=620 devpts $LFS/dev/pts</userinput></screen>
     56<screen><userinput>mount -f -vt tmpfs tmpfs $CLFS/dev/shm
     57mount -f -vt devpts -o gid=10,mode=620 devpts $CLFS/dev/pts</userinput></screen>
    5858
    5959</sect1>
  • chroot/mips64/flags.xml

    r2ce8e8a r9cb6b64  
    2020  <para>You will need to set your host target triplet for o32 bit:</para>
    2121
    22 <screen><userinput>export LFS_TARGET32="`echo ${MACH_TYPE}| sed -e 's/64//g'`"</userinput></screen>
     22<screen><userinput>export CLFS_TARGET32="`echo ${MACH_TYPE}| sed -e 's/64//g'`"</userinput></screen>
    2323
    2424   <para>To prevent errors when you come back to your build, we will export these
     
    2828echo export BUILDN32=\""${BUILDN32}\"" &gt;&gt; ~/.bash_profile
    2929echo export BUILD64=\""${BUILD64}\"" &gt;&gt; ~/.bash_profile
    30 echo export LFS_TARGET32=\""${LFS_TARGET32}\"" &gt;&gt; ~/.bash_profile</userinput></screen>
     30echo export CLFS_TARGET32=\""${CLFS_TARGET32}\"" &gt;&gt; ~/.bash_profile</userinput></screen>
    3131
    3232</sect1>
  • chroot/ppc64/flags.xml

    r2ce8e8a r9cb6b64  
    1919  <para>You will need to set your host target triplet for 32 bit:</para>
    2020
    21 <screen><userinput>export LFS_TARGET32="powerpc-unknown-linux-gnu"</userinput></screen>
     21<screen><userinput>export CLFS_TARGET32="powerpc-unknown-linux-gnu"</userinput></screen>
    2222
    2323   <para>To prevent errors when you come back to your build, we will export these
     
    2626<screen><userinput>echo export BUILD32=\""${BUILD32}\"" &gt;&gt; ~/.bash_profile
    2727echo export BUILD64=\""${BUILD64}\"" &gt;&gt; ~/.bash_profile
    28 echo export LFS_TARGET32=\""${LFS_TARGET32}\"" &gt;&gt; ~/.bash_profile</userinput></screen>
     28echo export CLFS_TARGET32=\""${CLFS_TARGET32}\"" &gt;&gt; ~/.bash_profile</userinput></screen>
    2929
    3030</sect1>
  • chroot/sparc64/flags.xml

    r2ce8e8a r9cb6b64  
    1919  <para>You will need to set your host target triplet for 32 bit:</para>
    2020
    21 <screen><userinput>export LFS_TARGET32="sparcv9-unknown-linux-gnu"</userinput></screen>
     21<screen><userinput>export CLFS_TARGET32="sparcv9-unknown-linux-gnu"</userinput></screen>
    2222
    2323   <para>To prevent errors when you come back to your build, we will export these
     
    2626<screen><userinput>echo export BUILD32=\""${BUILD32}\"" &gt;&gt; ~/.bash_profile
    2727echo export BUILD64=\""${BUILD64}\"" &gt;&gt; ~/.bash_profile
    28 echo export LFS_TARGET32=\""${LFS_TARGET32}\"" &gt;&gt; ~/.bash_profile</userinput></screen>
     28echo export CLFS_TARGET32=\""${CLFS_TARGET32}\"" &gt;&gt; ~/.bash_profile</userinput></screen>
    2929
    3030</sect1>
  • chroot/x86_64/flags.xml

    r2ce8e8a r9cb6b64  
    1919  <para>You will need to set your host target triplet for 32 bit:</para>
    2020
    21 <screen><userinput>export LFS_TARGET32="i686-pc-linux-gnu"</userinput></screen>
     21<screen><userinput>export CLFS_TARGET32="i686-pc-linux-gnu"</userinput></screen>
    2222
    2323   <para>To prevent errors when you come back to your build, we will export these
     
    2626<screen><userinput>echo export BUILD32=\""${BUILD32}\"" &gt;&gt; ~/.bash_profile
    2727echo export BUILD64=\""${BUILD64}\"" &gt;&gt; ~/.bash_profile
    28 echo export LFS_TARGET32=\""${LFS_TARGET32}\"" &gt;&gt; ~/.bash_profile</userinput></screen>
     28echo export CLFS_TARGET32=\""${CLFS_TARGET32}\"" &gt;&gt; ~/.bash_profile</userinput></screen>
    2929
    3030</sect1>
Note: See TracChangeset for help on using the changeset viewer.