r1070 - in trunk/BOOK: boot/common boot/mips bootable/common introduction/common

chris at linuxfromscratch.org chris at linuxfromscratch.org
Fri Jan 13 09:06:37 PST 2006


Author: chris
Date: 2006-01-13 10:06:35 -0700 (Fri, 13 Jan 2006)
New Revision: 1070

Modified:
   trunk/BOOK/boot/common/e2fsprogs.xml
   trunk/BOOK/boot/common/fstab.xml
   trunk/BOOK/boot/common/introduction.xml
   trunk/BOOK/boot/common/sysvinit.xml
   trunk/BOOK/boot/common/util-linux.xml
   trunk/BOOK/boot/mips/module-init-tools.xml
   trunk/BOOK/bootable/common/fstab.xml
   trunk/BOOK/introduction/common/changelog.xml
Log:
Changed several package installation instruction in Chapter 7, and removed the line about journalling filesystems from fstab (to be consistent with {B}LFS)

Modified: trunk/BOOK/boot/common/e2fsprogs.xml
===================================================================
--- trunk/BOOK/boot/common/e2fsprogs.xml	2006-01-13 16:42:44 UTC (rev 1069)
+++ trunk/BOOK/boot/common/e2fsprogs.xml	2006-01-13 17:06:35 UTC (rev 1070)
@@ -71,11 +71,7 @@
 
     <para os="ad">Create needed symlinks for a bootable system:</para>
 
-<screen os="ae"><userinput>install -d ${LFS}/sbin
-cd ${LFS}/sbin
-ln -sf ../tools/sbin/fsck.ext2 .
-ln -sf ../tools/sbin/fsck.ext3 .
-ln -sf ../tools/sbin/e2fsck .</userinput></screen>
+<screen os="ae"><userinput>ln -s /tools/sbin/{fsck.ext2,fsck.ext3,e2fsck} ${LFS}/sbin</userinput></screen>
 
   </sect2>
 

Modified: trunk/BOOK/boot/common/fstab.xml
===================================================================
--- trunk/BOOK/boot/common/fstab.xml	2006-01-13 16:42:44 UTC (rev 1069)
+++ trunk/BOOK/boot/common/fstab.xml	2006-01-13 17:06:35 UTC (rev 1070)
@@ -42,8 +42,4 @@
   href="../../bootable/common/fstab.xml"
   xpointer="xpointer(//*[@os='c'])"/>
 
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
-  href="../../bootable/common/fstab.xml"
-  xpointer="xpointer(//*[@os='d'])"/>
-
 </sect1>

Modified: trunk/BOOK/boot/common/introduction.xml
===================================================================
--- trunk/BOOK/boot/common/introduction.xml	2006-01-13 16:42:44 UTC (rev 1069)
+++ trunk/BOOK/boot/common/introduction.xml	2006-01-13 17:06:35 UTC (rev 1070)
@@ -14,4 +14,24 @@
   a minimal system that will be used to boot the target machine and to build
   the final system packages.</para>
 
+  <para>There are a few additional packages that will need to be
+installed to allow you to boot the minimal system. Most of these
+packages will be installed onto the root or in /usr on the LFS
+partition ($LFS/bin, $LFS/usr/lib, etc...), rather than /tools.
+However, since you are still installing these packages from the host
+system, these packages will need to be installed using the "DESTDIR"
+option with make.</para>
+
+<para>More detailed info about DESTDIR needed here...</para>
+
+<para>Also, since you will need to create directories and install
+packages in them in $LFS (and of course don't want to use root to do
+this, to avoid damage to the host system), outside of /tools and
+/cross-tools, you will need to temporarily change the ownership of
+$LFS to the <systemitem class="username">lfs</systemitem> user. Run
+the following command as <systemitem
+class="username">root</systemitem>:</para>
+
+<screen><userinput>chown lfs $LFS</userinput></screen>
+
 </sect1>

Modified: trunk/BOOK/boot/common/sysvinit.xml
===================================================================
--- trunk/BOOK/boot/common/sysvinit.xml	2006-01-13 16:42:44 UTC (rev 1069)
+++ trunk/BOOK/boot/common/sysvinit.xml	2006-01-13 17:06:35 UTC (rev 1070)
@@ -42,12 +42,7 @@
     href="../../final-system/common/sysvinit.xml"
     xpointer="xpointer(//*[@os='e'])"/>
 
-<screen os="ad"><userinput>install -d ${LFS}/bin
-install -d ${LFS}/usr/bin
-install -d ${LFS}/usr/include
-install -d ${LFS}/usr/share/man/man{1,5,8}
-install -d ${LFS}/etc
-make -C src install INSTALL="install" ROOT="${LFS}"</userinput></screen>
+<screen os="ad"><userinput>make -C src install INSTALL="install" ROOT="${LFS}"</userinput></screen>
 
   </sect2>
 

Modified: trunk/BOOK/boot/common/util-linux.xml
===================================================================
--- trunk/BOOK/boot/common/util-linux.xml	2006-01-13 16:42:44 UTC (rev 1069)
+++ trunk/BOOK/boot/common/util-linux.xml	2006-01-13 17:06:35 UTC (rev 1070)
@@ -117,11 +117,6 @@
 USE_TTY_GROUP=no CPUOPT="" ARCH="" \
 CPU="" DESTDIR=${LFS} install</userinput></screen>
 
-    <para os="bj">Now we will put a copy of mount in <filename
-    class="directory">/tools/bin</filename>:</para>
-
-<screen os="bk"><userinput>cp ${LFS}/bin/mount /tools/bin</userinput></screen>
-
   </sect2>
 
   <sect2 role="content">

Modified: trunk/BOOK/boot/mips/module-init-tools.xml
===================================================================
--- trunk/BOOK/boot/mips/module-init-tools.xml	2006-01-13 16:42:44 UTC (rev 1069)
+++ trunk/BOOK/boot/mips/module-init-tools.xml	2006-01-13 17:06:35 UTC (rev 1070)
@@ -48,6 +48,10 @@
 
     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     href="../../final-system/common/module-init-tools.xml"
+    xpointer="xpointer(//*[@os='h'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../../final-system/common/module-init-tools.xml"
     xpointer="xpointer(//*[@os='i'])"/>
 
     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"

Modified: trunk/BOOK/bootable/common/fstab.xml
===================================================================
--- trunk/BOOK/bootable/common/fstab.xml	2006-01-13 16:42:44 UTC (rev 1069)
+++ trunk/BOOK/bootable/common/fstab.xml	2006-01-13 17:06:35 UTC (rev 1070)
@@ -42,12 +42,7 @@
   class="filesystem">ext2</systemitem>. For details on the six
   fields in this file, see <command>man 5 fstab</command>.</para>
 
-  <para os="c">When using a journalling file system, the <parameter>1
-  1</parameter> at the end of the line should be replaced with
-  <parameter>0 0</parameter> because such a partition does not need to
-  be dumped or checked.</para>
-
-  <para os="d">The <filename class="directory">/dev/shm</filename> mount point
+  <para os="c">The <filename class="directory">/dev/shm</filename> mount point
   for <systemitem class="filesystem">tmpfs</systemitem> is included to
   allow enabling POSIX-shared memory. The kernel must have the required
   support built into it for this to work (more about this is in the next

Modified: trunk/BOOK/introduction/common/changelog.xml
===================================================================
--- trunk/BOOK/introduction/common/changelog.xml	2006-01-13 16:42:44 UTC (rev 1069)
+++ trunk/BOOK/introduction/common/changelog.xml	2006-01-13 17:06:35 UTC (rev 1070)
@@ -53,6 +53,10 @@
 	  <para>[ken] - Move creation of /etc/hosts within Perl instructions,
 	  for repeatability, from LFS.</para> 
 	</listitem>
+        <listitem>
+          <para>[Chris] - Moved bootloader setup to right after "Changing Ownership" in Chapter 7, and changed several package installation instructions in that chapter.</para>
+        </listitem>
+
       </itemizedlist>
     </listitem>
 	




More information about the cross-lfs mailing list