aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/createfiles.xml
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2018-09-20 17:02:36 +0000
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2018-09-20 17:02:36 +0000
commit6c672426f85596f90903645f78d510d52f2846a5 (patch)
tree5ac575573b45c393a3f7fa97682a3821f0e7a4e6 /chapter06/createfiles.xml
parent9a7684765c7ae30bfdfc5a9c5ad4feb2ecc92517 (diff)
Clean up of unneeded symbolic links.
Reordered packages so version specific packages are built as late as possible in Chapter 6. Now building util-linux in Chapter 5 is unneeded and has been removed. Update to eudev-3.2.6. Update to elfutils-0.174 (libelf). Update to psmisc-23.2. Update to openssl-1.1.1. Update to linux-4.18.9. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11472 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/createfiles.xml')
-rw-r--r--chapter06/createfiles.xml51
1 files changed, 23 insertions, 28 deletions
diff --git a/chapter06/createfiles.xml b/chapter06/createfiles.xml
index cd90477df..0f7b7e0ac 100644
--- a/chapter06/createfiles.xml
+++ b/chapter06/createfiles.xml
@@ -39,40 +39,27 @@
will be replaced by real files throughout the course of this chapter after the
software has been installed:</para>
-<!--
-<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/lib/libgcc_s.so{,.1} /usr/lib
-ln -sv /tools/lib/libstdc++.{a,so{,.6}} /usr/lib
-ln -sv bash /bin/sh
+<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/lib/libgcc_s.so{,.1} /usr/lib
+ln -sv /tools/lib/libstdc++.{a,so{,.6}} /usr/lib
+install -vdm755 /usr/lib/pkgconfig
-</userinput></screen>
--->
-<!--sed 's/tools/usr/' /tools/lib/libstdc++.la > /usr/lib/libstdc++.la -->
+ln -sv bash /bin/sh</userinput></screen>
-<!--<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/lib/libgcc_s.so{,.1} /usr/lib
-ln -sv /tools/lib/libstdc++.{a,so{,.6}} /usr/lib
-for lib in blkid lzma mount uuid
+<!--for lib in blkid lzma mount uuid
do
ln -sv /tools/lib/lib$lib.so* /usr/lib
-done
-ln -svf /tools/include/blkid /usr/include
+done-->
+<!--ln -svf /tools/include/blkid /usr/include
ln -svf /tools/include/libmount /usr/include
-ln -svf /tools/include/uuid /usr/include
-install -vdm755 /usr/lib/pkgconfig
-for pc in blkid mount uuid
+ln -svf /tools/include/uuid /usr/include-->
+<!--for pc in blkid mount uuid
do
sed 's@tools@usr@g' /tools/lib/pkgconfig/${pc}.pc \
> /usr/lib/pkgconfig/${pc}.pc
-done
-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/lib${lib}.la > /usr/lib/lib${lib}.la-->
+done-->
<variablelist>
<title>The purpose of each link:</title>
@@ -108,6 +95,14 @@ ln -sv bash /bin/sh</userinput></screen>
</varlistentry>
<varlistentry>
+ <term><parameter><filename>/usr/bin/env</filename></parameter></term>
+ <listitem>
+ <para>This pathname is hard-coded into some packages build procedures.
+ <!-- systemd This may not be needed if we move sysd to the end--></para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
<term><parameter><filename>/usr/bin/install</filename></parameter></term>
<listitem>
<para>The path to <filename>install</filename> will be hard-coded into
@@ -182,14 +177,14 @@ ln -sv bash /bin/sh</userinput></screen>
</varlistentry>
-->
<!--<varlistentry revision="systemd">-->
- <varlistentry>
+<!-- <varlistentry>
<term><parameter><filename>/usr/lib/lib{blkid,lzma,mount,uuid}.{a,la,so*}</filename></parameter></term>
<listitem>
- <para>These links prevent <!--systemd--> utilities from acquiring an
+ <para>These links prevent utilities from acquiring an
unnecessary reference to the
<filename class="directory">/tools</filename> directory.</para>
</listitem>
- </varlistentry>
+ </varlistentry>-->
<varlistentry>
<term><parameter><filename>/bin/sh</filename></parameter></term>