r5350 - in branches/cross-lfs/BOOK: reboot reboot/multilib temp-system

jhuntwork at linuxfromscratch.org jhuntwork at linuxfromscratch.org
Fri May 13 12:18:10 PDT 2005


Author: jhuntwork
Date: 2005-05-13 13:18:08 -0600 (Fri, 13 May 2005)
New Revision: 5350

Added:
   branches/cross-lfs/BOOK/reboot/multilib/
   branches/cross-lfs/BOOK/reboot/multilib/e2fsprogs.xml
Modified:
   branches/cross-lfs/BOOK/reboot/sparc64-chapter.xml
   branches/cross-lfs/BOOK/temp-system/sparc64-chapter.xml
Log:
Fixed typo and added e2fsprogs to multilib in reboot section

Copied: branches/cross-lfs/BOOK/reboot/multilib/e2fsprogs.xml (from rev 5349, branches/cross-lfs/BOOK/reboot/common/e2fsprogs.xml)
===================================================================
--- branches/cross-lfs/BOOK/reboot/common/e2fsprogs.xml	2005-05-13 19:08:47 UTC (rev 5349)
+++ branches/cross-lfs/BOOK/reboot/multilib/e2fsprogs.xml	2005-05-13 19:18:08 UTC (rev 5350)
@@ -0,0 +1,107 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
+  <!ENTITY % general-entities SYSTEM "../../general.ent">
+  <!ENTITY % patches-entities SYSTEM "../../patches.ent">
+  %general-entities;
+  %patches-entities;
+]>
+
+<sect1 id="ch-reboot-e2fsprogs" role="wrap">
+<title>E2fsprogs-&e2fsprogs-version;</title>
+<?dbhtml filename="e2fsprogs.html"?>
+
+<indexterm zone="ch-reboot-e2fsprogs"><primary sortas="a-E2fsprogs">E2fsprogs</primary>
+<secondary>reboot</secondary></indexterm>
+
+<sect2 role="package"><title/>
+<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../../final-system/common/e2fsprogs.xml" xpointer="xpointer(/sect1/sect2[1]/para[1])"/>
+
+<segmentedlist>
+<segtitle>&buildtime;</segtitle>
+<segtitle>&diskspace;</segtitle>
+<seglistitem><seg>0.2 SBU</seg><seg>5.2 MB</seg></seglistitem>
+</segmentedlist>
+
+<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../../final-system/common/e2fsprogs.xml" xpointer="xpointer(/sect1/sect2[1]/segmentedlist[2])"/>
+
+</sect2>
+
+<sect2 role="installation">
+<title>Installation of E2fsprogs</title>
+
+<para>Make sure the libraries get installed to /tools/lib64:</para>
+
+<screen><userinput>sed -i "/libdir=.*\/lib/s@/lib@/lib64 at g" configure</userinput></screen>
+
+<para>It is recommended that E2fsprogs be built in a subdirectory of the source tree:
+</para>
+
+<screen><userinput>mkdir build
+cd build</userinput></screen>
+
+<para>Prepare E2fsprogs for compilation:</para>
+
+<screen><userinput>CC="${CC} ${BUILD64}" ../configure --prefix=/tools \
+--enable-elf-shlibs --disable-evms \
+--host=${LFS_TARGET}</userinput></screen>
+
+<para>The meaning of the configure options:</para>
+
+<variablelist>
+<varlistentry>
+<term><parameter>--with-root-prefix=""</parameter></term>
+<listitem><para>Certain programs (such as the
+<command>e2fsck</command> program) are considered essential programs.
+When, for example, <filename class="directory">/usr</filename> is not
+mounted, these essential programs need to be available. They belong in
+directories like <filename class="directory">/lib</filename> and
+<filename class="directory">/sbin</filename>. If this option is not
+passed to E2fsprogs' configure, the programs are installed into the
+<filename class="directory">/usr</filename> directory, which is not
+where they should be.</para></listitem>
+</varlistentry>
+
+<varlistentry>
+<term><parameter>--enable-elf-shlibs</parameter></term>
+<listitem><para>This creates the shared libraries which some programs
+in this package use.</para></listitem>
+</varlistentry>
+
+<varlistentry>
+<term><parameter>--disable-evms</parameter></term>
+<listitem><para>This disables the building of the Enterprise Volume
+Management System (EVMS) plugin. This plugin is not up-to-date with
+the latest EVMS internal interfaces and EVMS is not installed as part
+of a base LFS system, so the plugin is not required. See the EVMS
+website at <ulink url="http://evms.sourceforge.net/"/> for more
+information regarding EVMS.</para></listitem>
+</varlistentry>
+</variablelist>
+
+<para>Compile the package:</para>
+
+<screen><userinput>make CC="${CC} ${BUILD64}" LDFLAGS="-s"</userinput></screen>
+
+<para>Install most of the package:</para>
+
+<screen><userinput>make install</userinput></screen>
+
+<para>Install the shared libraries:</para>
+
+<screen><userinput>make install-libs</userinput></screen>
+
+<para>Create needed symlinks for a bootable system:</para>
+
+<screen><userinput>cd ${LFS}/sbin
+ln -sf ../tools/sbin/fsck.ext2 .
+ln -sf ../tools/sbin/fsck.ext3 .
+ln -sf ../tools/sbin/e2fsck .</userinput></screen>
+</sect2>
+
+<sect2 role="content"><title/>
+<para>Details on this package are located in <xref
+linkend="contents-e2fsprogs" role="."/></para>
+</sect2>
+
+</sect1>
+

Modified: branches/cross-lfs/BOOK/reboot/sparc64-chapter.xml
===================================================================
--- branches/cross-lfs/BOOK/reboot/sparc64-chapter.xml	2005-05-13 19:08:47 UTC (rev 5349)
+++ branches/cross-lfs/BOOK/reboot/sparc64-chapter.xml	2005-05-13 19:18:08 UTC (rev 5350)
@@ -8,7 +8,7 @@
 <title>If You Are Going to Reboot</title>
 <?dbhtml filename="chapter.html"?>
 
-<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/e2fsprogs.xml"/>
+<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/e2fsprogs.xml"/>
 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/sysvinit.xml"/>
 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/module-init-tools.xml"/>
 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/inetutils.xml"/>

Modified: branches/cross-lfs/BOOK/temp-system/sparc64-chapter.xml
===================================================================
--- branches/cross-lfs/BOOK/temp-system/sparc64-chapter.xml	2005-05-13 19:08:47 UTC (rev 5349)
+++ branches/cross-lfs/BOOK/temp-system/sparc64-chapter.xml	2005-05-13 19:18:08 UTC (rev 5350)
@@ -33,7 +33,7 @@
 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/ncurses-64bit.xml"/>
 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/patch.xml"/>
 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/tar.xml"/>
-<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="bash/bash.xml"/>
+<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/bash.xml"/>
 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/choose.xml"/>
 
 </chapter>




More information about the lfs-book mailing list