Make symbolic links in inital part of Chapter 6 consistent

for all versions of the book.  Allows removing environment 
variables no longer needed with e2fsprogs.



git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11432 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
Bruce Dubbs 2018-07-06 19:02:39 +00:00
parent fd824cf440
commit 80541620cf
4 changed files with 31 additions and 11 deletions

View File

@ -43,6 +43,18 @@
appropriate for the entry or if needed the entire day's listitem. appropriate for the entry or if needed the entire day's listitem.
--> -->
<listitem>
<para>2018-07-03</para>
<itemizedlist>
<listitem>
<para>[bdubbs] - Make symbolic links in inital part of
Chapter 6 consistent for all versions of the book. Allows
removing environment variables no longer needed with e2fsprogs.
</para>
</listitem>
</itemizedlist>
</listitem>
<listitem> <listitem>
<para>2018-07-03</para> <para>2018-07-03</para>
<itemizedlist> <itemizedlist>

View File

@ -39,15 +39,20 @@
will be replaced by real files throughout the course of this chapter after the will be replaced by real files throughout the course of this chapter after the
software has been installed:</para> software has been installed:</para>
<!--
<screen revision="sysv"><userinput>ln -sv /tools/bin/{bash,cat,dd,echo,ln,pwd,rm,stty} /bin <screen revision="sysv"><userinput>ln -sv /tools/bin/{bash,cat,dd,echo,ln,pwd,rm,stty} /bin
ln -sv /tools/bin/{install,perl} /usr/bin ln -sv /tools/bin/{install,perl} /usr/bin
ln -sv /tools/lib/libgcc_s.so{,.1} /usr/lib ln -sv /tools/lib/libgcc_s.so{,.1} /usr/lib
ln -sv /tools/lib/libstdc++.{a,so{,.6}} /usr/lib ln -sv /tools/lib/libstdc++.{a,so{,.6}} /usr/lib
ln -sv bash /bin/sh</userinput></screen> ln -sv bash /bin/sh
</userinput></screen>
-->
<!--sed 's/tools/usr/' /tools/lib/libstdc++.la > /usr/lib/libstdc++.la --> <!--sed 's/tools/usr/' /tools/lib/libstdc++.la > /usr/lib/libstdc++.la -->
<screen revision="systemd"><userinput>ln -sv /tools/bin/{bash,cat,dd,echo,ln,pwd,rm,stty} /bin <!--<screen revision="systemd"><userinput>ln -sv /tools/bin/{bash,cat,dd,echo,ln,pwd,rm,stty} /bin-->
<screen><userinput>ln -sv /tools/bin/{bash,cat,dd,echo,ln,pwd,rm,stty} /bin
ln -sv /tools/bin/{env,install,perl} /usr/bin ln -sv /tools/bin/{env,install,perl} /usr/bin
ln -sv /tools/lib/libgcc_s.so{,.1} /usr/lib ln -sv /tools/lib/libgcc_s.so{,.1} /usr/lib
ln -sv /tools/lib/libstdc++.{a,so{,.6}} /usr/lib ln -sv /tools/lib/libstdc++.{a,so{,.6}} /usr/lib
@ -176,10 +181,11 @@ ln -sv bash /bin/sh</userinput></screen>
</listitem> </listitem>
</varlistentry> </varlistentry>
--> -->
<varlistentry revision="systemd"> <!--<varlistentry revision="systemd">-->
<varlistentry>
<term><parameter><filename>/usr/lib/lib{blkid,lzma,mount,uuid}.{a,la,so*}</filename></parameter></term> <term><parameter><filename>/usr/lib/lib{blkid,lzma,mount,uuid}.{a,la,so*}</filename></parameter></term>
<listitem> <listitem>
<para>These links prevent systemd utilities from acquiring an <para>These links prevent <!--systemd--> utilities from acquiring an
unnecessary reference to the unnecessary reference to the
<filename class="directory">/tools</filename> directory.</para> <filename class="directory">/tools</filename> directory.</para>
</listitem> </listitem>

View File

@ -52,10 +52,12 @@ cd build</userinput></screen>
<para>Prepare E2fsprogs for compilation:</para> <para>Prepare E2fsprogs for compilation:</para>
<screen><userinput remap="configure">LIBS=-L/tools/lib \ <!--<screen><userinput remap="configure">LIBS=-L/tools/lib \
CFLAGS=-I/tools/include \
CFLAGS=-I/tools/include \ CFLAGS=-I/tools/include \
PKG_CONFIG_PATH=/tools/lib/pkgconfig \ PKG_CONFIG_PATH=/tools/lib/pkgconfig \
../configure --prefix=/usr \ ../configure - -prefix=/usr \-->
<screen><userinput remap="configure">../configure --prefix=/usr \
--bindir=/bin \ --bindir=/bin \
--with-root-prefix="" \ --with-root-prefix="" \
--enable-elf-shlibs \ --enable-elf-shlibs \
@ -66,7 +68,7 @@ PKG_CONFIG_PATH=/tools/lib/pkgconfig \
<variablelist> <variablelist>
<title>The meaning of the environment variable and configure options:</title> <title>The meaning of the environment variable and configure options:</title>
<!--
<varlistentry> <varlistentry>
<term><parameter>PKG_CONFIG_PATH, LIBS, CFLAGS</parameter></term> <term><parameter>PKG_CONFIG_PATH, LIBS, CFLAGS</parameter></term>
<listitem> <listitem>
@ -74,7 +76,7 @@ PKG_CONFIG_PATH=/tools/lib/pkgconfig \
<xref linkend="ch-tools-util-linux"/> package built earlier.</para> <xref linkend="ch-tools-util-linux"/> package built earlier.</para>
</listitem> </listitem>
</varlistentry> </varlistentry>
-->
<varlistentry> <varlistentry>
<term><parameter>--with-root-prefix=""</parameter> and <term><parameter>--with-root-prefix=""</parameter> and
<parameter>--bindir=/bin</parameter></term> <parameter>--bindir=/bin</parameter></term>

View File

@ -1,13 +1,13 @@
<!ENTITY version "SVN-20180703"> <!ENTITY version "SVN-20180706">
<!ENTITY short-version "svn"> <!-- Used below in &blfs-book; <!ENTITY short-version "svn"> <!-- Used below in &blfs-book;
Change to x.y for release but not -rc releases --> Change to x.y for release but not -rc releases -->
<!ENTITY generic-version "development"> <!-- Use "development" or "x.y[-pre{x}]" --> <!ENTITY generic-version "development"> <!-- Use "development" or "x.y[-pre{x}]" -->
<!ENTITY versiond "20180703-systemd"> <!ENTITY versiond "20180706-systemd">
<!ENTITY short-versiond "systemd"> <!ENTITY short-versiond "systemd">
<!ENTITY generic-versiond "systemd"> <!ENTITY generic-versiond "systemd">
<!ENTITY releasedate "July 3, 2018"> <!ENTITY releasedate "July 6, 2018">
<!ENTITY copyrightdate "1999-2018"><!-- jhalfs needs a literal dash, not &ndash; --> <!ENTITY copyrightdate "1999-2018"><!-- jhalfs needs a literal dash, not &ndash; -->
<!ENTITY milestone "8.3"> <!ENTITY milestone "8.3">