Ticket #2307: lfs-updates.patch
File lfs-updates.patch, 5.9 KB (added by , 16 years ago) |
---|
-
trunk/BOOK/chapter01/how.xml
24 24 providing all the tools you need to successfully follow the instructions in 25 25 this book. Unfortunately, development of the LiveCD has not progressed 26 26 recently and it only contains older versions of the source packages and 27 patches (for those ISOs not label s-nosrc or -min), and this book. For more27 patches (for those ISOs not labeled -nosrc or -min), and this book. For more 28 28 information about the LFS LiveCD or to download a copy, visit <ulink 29 29 url="&livecd-root;"/>.</para> 30 30 -
trunk/BOOK/chapter06/linux-headers.xml
69 69 <segtitle>Installed headers</segtitle> 70 70 71 71 <seglistitem> 72 <seg>/usr/include/{asm{,-generic}, linux,mtd,rdma,sound,video}/*.h</seg>72 <seg>/usr/include/{asm{,-generic},drm,linux,mtd,rdma,sound,video}/*.h</seg> 73 73 </seglistitem> 74 74 </segmentedlist> 75 75 … … 79 79 <?dbhtml list-presentation="table"?> 80 80 81 81 <varlistentry id="linux-headers"> 82 <term><filename class="headerfile">/usr/include/{asm{,-generic}, linux,mtd,rdma,sound}/*.h</filename></term>82 <term><filename class="headerfile">/usr/include/{asm{,-generic},drm,linux,mtd,rdma,sound,video}/*.h</filename></term> 83 83 <listitem> 84 84 <para>The Linux API headers</para> 85 85 <indexterm zone="ch-system-linux-headers linux-headers"> 86 86 <!-- No /*.h here to prevent a PDF line overflow --> 87 <primary sortas="e-/usr/include/{asm{,-generic}, linux,mtd,rdma,sound}">/usr/include/{asm{,-generic},linux,mtd,rdma,sound,video}</primary>87 <primary sortas="e-/usr/include/{asm{,-generic},drm,linux,mtd,rdma,sound,video}">/usr/include/{asm{,-generic},drm,linux,mtd,rdma,sound,video}</primary> 88 88 </indexterm> 89 89 </listitem> 90 90 </varlistentry> -
trunk/BOOK/chapter06/iproute2.xml
43 43 44 44 <para>Compile the package:</para> 45 45 46 <screen><userinput remap="make">make DESTDIR= SBINDIR=/sbin</userinput></screen>46 <screen><userinput remap="make">make DESTDIR=</userinput></screen> 47 47 48 48 <variablelist> 49 <title>The meaning of the make option s:</title>49 <title>The meaning of the make option:</title> 50 50 51 51 <varlistentry> 52 52 <term><parameter>DESTDIR=</parameter></term> … … 57 57 </listitem> 58 58 </varlistentry> 59 59 60 <varlistentry>61 <term><parameter>SBINDIR=/sbin</parameter></term>62 <listitem>63 <para>This ensures that the IPRoute2 binaries will install into64 <filename class="directory">/sbin</filename>. This is the correct65 location according to the FHS, because some of the IPRoute2 binaries66 are used by the LFS-Bootscripts package.</para>67 </listitem>68 </varlistentry>69 70 60 </variablelist> 71 61 72 62 <para>This package comes with a testsuite, but due to assumptions it makes, -
trunk/BOOK/chapter08/grub.xml
40 40 <sect2 role="installation"> 41 41 <title>Installation of GRUB</title> 42 42 43 <para>Your shiny new LFS system is almost complete. One of the last 44 things to do is to ensure that the system can be properly booted.</para> 45 43 46 <caution> 44 47 <para>This package will only build for x86 and x86_64 architectures 45 48 containing 32-bit libs. If you chose to build on x86_64 without 32-bit 46 libriaries (no multilib), then you must use LILO instead.</para> 49 libraries (no multilib), then you must use LILO instead. Information 50 on <quote>boot loading</quote> for other architectures should be 51 available in the usual resource-specific locations for those architectures.</para> 47 52 </caution> 48 53 49 54 <para>This package is known to have issues when its default … … 98 103 <sect2 role="configuration"> 99 104 <title>Configuring GRUB</title> 100 105 101 <para>Your shiny new LFS system is almost complete. One of the last102 things to do is to ensure that the system can be properly booted. The103 instructions below apply only to computers of IA-32 architecture,104 meaning mainstream PCs. Information on <quote>boot loading</quote> for105 other architectures should be available in the usual resource-specific106 locations for those architectures.</para>107 108 106 <para>Boot loading can be a complex area, so a few cautionary 109 107 words are in order. Be familiar with the current boot loader and any other 110 108 operating systems present on the hard drive(s) that need to be … … 112 110 <quote>rescue</quote> the computer if the computer becomes 113 111 unusable (un-bootable).</para> 114 112 115 <para>Earlier, we compiled and installed the GRUB boot loader software 116 in preparation for this step. The procedure involves writing some 117 special GRUB files to specific locations on the hard drive. We highly 118 recommend creating a GRUB boot floppy diskette as a backup. Insert a 119 blank floppy diskette and run the following commands:</para> 113 <para>The procedure involves writing some special GRUB files to specific 114 locations on the hard drive. We highly recommend creating a GRUB boot 115 floppy diskette as a backup. Insert a blank floppy diskette and run the 116 following commands:</para> 120 117 121 118 <screen><userinput>dd if=/boot/grub/stage1 of=/dev/fd0 bs=512 count=1 122 119 dd if=/boot/grub/stage2 of=/dev/fd0 bs=512 seek=1</userinput></screen>