Changeset 586feb7 in clfs-sysroot for BOOK/bootable
- Timestamp:
- Jul 2, 2006, 12:45:15 PM (18 years ago)
- Branches:
- master
- Children:
- 940e6b3
- Parents:
- 89c10a9
- Location:
- BOOK/bootable
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/bootable/arm/kernel.xml
r89c10a9 r586feb7 54 54 url="&blfs-root;view/svn/longindex.html#kernel-config-index"/>:</para> 55 55 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> 57 57 58 58 <para os="j">Alternatively, <command>make oldconfig</command> may be more … … 69 69 <para os="m">Compile the kernel image and modules:</para> 70 70 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> 72 72 73 73 <para os="o">If using kernel modules, an … … 97 97 them:</para> 98 98 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> 101 101 102 102 <para os="u">After kernel compilation is complete, additional steps are 103 103 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> 105 105 106 106 <para os="v">Issue the following command to install the kernel:</para> 107 107 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> 109 109 110 110 <para os="w"><filename>System.map</filename> is a symbol file for the kernel. … … 113 113 kernel. Issue the following command to install the map file:</para> 114 114 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> 116 116 117 117 <para os="x">The kernel configuration file <filename>.config</filename> … … 120 120 It is a good idea to keep this file for future reference:</para> 121 121 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> 123 123 124 124 <warning os="z"> -
BOOK/bootable/common/chowning.xml
r89c10a9 r586feb7 19 19 <para>The commands in the remainder of this book must be performed while 20 20 logged in as <systemitem class="username">root</systemitem>. Check that 21 $ LFS is still set:</para>21 $CLFS is still set:</para> 22 22 23 <screen><userinput>echo $ LFS</userinput></screen>23 <screen><userinput>echo $CLFS</userinput></screen> 24 24 25 25 </important> … … 28 28 entire lfs system.</para> 29 29 30 <screen><userinput>chown -Rv root:root ${ LFS}</userinput></screen>30 <screen><userinput>chown -Rv root:root ${CLFS}</userinput></screen> 31 31 32 32 <para>The following files are not the be owned by 33 33 <systemitem class="username">root</systemitem>.</para> 34 34 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> 36 36 37 37 <para>The following device nodes need to be created for the system to 38 38 boot.</para> 39 39 40 <screen><userinput>mknod -m 0666 ${ LFS}/dev/null c 1 341 mknod -m 0600 ${ LFS}/dev/console c 5 1</userinput></screen>40 <screen><userinput>mknod -m 0666 ${CLFS}/dev/null c 1 3 41 mknod -m 0600 ${CLFS}/dev/console c 5 1</userinput></screen> 42 42 43 43 <para>If you did not create the following rules in <xref linkend="ch-scripts-udev-rules"/>. You 44 44 need to create them now.</para> 45 45 46 <screen><userinput>mknod -m 0666 ${ LFS}/lib/udev/devices/null c 1 347 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 47 mknod -m 0600 ${CLFS}/lib/udev/devices/console c 5 1</userinput></screen> 48 48 49 49 </sect1> -
BOOK/bootable/common/fstab.xml
r89c10a9 r586feb7 20 20 to mounting. Create a new file systems table like this:</para> 21 21 22 <screen><userinput>cat > ${ LFS}/etc/fstab << "EOF"22 <screen><userinput>cat > ${CLFS}/etc/fstab << "EOF" 23 23 <literal># Begin /etc/fstab 24 24
Note:
See TracChangeset
for help on using the changeset viewer.