Changeset 586feb7 in clfs-sysroot for BOOK/bootable


Ignore:
Timestamp:
Jul 2, 2006, 12:45:15 PM (18 years ago)
Author:
Joe Ciccone <jciccone@…>
Branches:
master
Children:
940e6b3
Parents:
89c10a9
Message:

Updated the bootscripts package and make LFS to CLFS updates.

Location:
BOOK/bootable
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • BOOK/bootable/arm/kernel.xml

    r89c10a9 r586feb7  
    5454    url="&blfs-root;view/svn/longindex.html#kernel-config-index"/>:</para>
    5555
    56 <screen os="i"><userinput>make ARCH=arm CROSS_COMPILE=${LFS_TARGET}- menuconfig</userinput></screen>
     56<screen os="i"><userinput>make ARCH=arm CROSS_COMPILE=${CLFS_TARGET}- menuconfig</userinput></screen>
    5757
    5858    <para os="j">Alternatively, <command>make oldconfig</command> may be more
     
    6969    <para os="m">Compile the kernel image and modules:</para>
    7070
    71 <screen os="n"><userinput>make ARCH=arm CROSS_COMPILE=${LFS_TARGET}-</userinput></screen>
     71<screen os="n"><userinput>make ARCH=arm CROSS_COMPILE=${CLFS_TARGET}-</userinput></screen>
    7272
    7373    <para os="o">If using kernel modules, an
     
    9797    them:</para>
    9898
    99 <screen os="t"><userinput>make ARCH=arm CROSS_COMPILE=${LFS_TARGET}- \
    100     INSTALL_MOD_PATH=${LFS} modules_install</userinput></screen>
     99<screen os="t"><userinput>make ARCH=arm CROSS_COMPILE=${CLFS_TARGET}- \
     100    INSTALL_MOD_PATH=${CLFS} modules_install</userinput></screen>
    101101
    102102    <para os="u">After kernel compilation is complete, additional steps are
    103103    required to complete the installation. Some files need to be copied to
    104     the <filename class="directory">${LFS}/boot</filename> directory.</para>
     104    the <filename class="directory">${CLFS}/boot</filename> directory.</para>
    105105
    106106    <para os="v">Issue the following command to install the kernel:</para>
    107107
    108 <screen><userinput>cp arch/i386/boot/bzImage ${LFS}/boot/lfskernel-&linux-version;</userinput></screen>
     108<screen><userinput>cp arch/i386/boot/bzImage ${CLFS}/boot/lfskernel-&linux-version;</userinput></screen>
    109109
    110110    <para os="w"><filename>System.map</filename> is a symbol file for the kernel.
     
    113113    kernel. Issue the following command to install the map file:</para>
    114114
    115 <screen os="w1"><userinput>cp System.map ${LFS}/boot/System.map-&linux-version;</userinput></screen>
     115<screen os="w1"><userinput>cp System.map ${CLFS}/boot/System.map-&linux-version;</userinput></screen>
    116116
    117117    <para os="x">The kernel configuration file <filename>.config</filename>
     
    120120    It is a good idea to keep this file for future reference:</para>
    121121
    122 <screen os="x1"><userinput>cp .config ${LFS}/boot/config-&linux-version;</userinput></screen>
     122<screen os="x1"><userinput>cp .config ${CLFS}/boot/config-&linux-version;</userinput></screen>
    123123
    124124    <warning os="z">
  • BOOK/bootable/common/chowning.xml

    r89c10a9 r586feb7  
    1919    <para>The commands in the remainder of this book must be performed while
    2020    logged in as <systemitem class="username">root</systemitem>. Check that
    21     $LFS is still set:</para>
     21    $CLFS is still set:</para>
    2222
    23     <screen><userinput>echo $LFS</userinput></screen>
     23    <screen><userinput>echo $CLFS</userinput></screen>
    2424
    2525  </important>
     
    2828  entire lfs system.</para>
    2929
    30 <screen><userinput>chown -Rv root:root ${LFS}</userinput></screen>
     30<screen><userinput>chown -Rv root:root ${CLFS}</userinput></screen>
    3131
    3232  <para>The following files are not the be owned by
    3333  <systemitem class="username">root</systemitem>.</para>
    3434
    35 <screen><userinput>chgrp -v utmp ${LFS}/var/run/utmp ${LFS}/var/log/lastlog</userinput></screen>
     35<screen><userinput>chgrp -v utmp ${CLFS}/var/run/utmp ${CLFS}/var/log/lastlog</userinput></screen>
    3636
    3737  <para>The following device nodes need to be created for the system to
    3838  boot.</para>
    3939
    40 <screen><userinput>mknod -m 0666 ${LFS}/dev/null c 1 3
    41 mknod -m 0600 ${LFS}/dev/console c 5 1</userinput></screen>
     40<screen><userinput>mknod -m 0666 ${CLFS}/dev/null c 1 3
     41mknod -m 0600 ${CLFS}/dev/console c 5 1</userinput></screen>
    4242
    4343  <para>If you did not create the following rules in <xref linkend="ch-scripts-udev-rules"/>. You
    4444  need to create them now.</para>
    4545
    46 <screen><userinput>mknod -m 0666 ${LFS}/lib/udev/devices/null c 1 3
    47 mknod -m 0600 ${LFS}/lib/udev/devices/console c 5 1</userinput></screen>
     46<screen><userinput>mknod -m 0666 ${CLFS}/lib/udev/devices/null c 1 3
     47mknod -m 0600 ${CLFS}/lib/udev/devices/console c 5 1</userinput></screen>
    4848
    4949</sect1>
  • BOOK/bootable/common/fstab.xml

    r89c10a9 r586feb7  
    2020  to mounting. Create a new file systems table like this:</para>
    2121
    22 <screen><userinput>cat &gt; ${LFS}/etc/fstab &lt;&lt; "EOF"
     22<screen><userinput>cat &gt; ${CLFS}/etc/fstab &lt;&lt; "EOF"
    2323<literal># Begin /etc/fstab
    2424
Note: See TracChangeset for help on using the changeset viewer.