[Clfs-commits] [Cross-LFS]Cross-LFS Book branch, systemd, updated. clfs-2.0.0-818-g50a9abe

git git at cross-lfs.org
Sat Jan 25 19:18:40 PST 2014


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Cross-LFS Book".

The branch, systemd has been updated
       via  50a9abe1e20959e454869f3943bcaa82238a692d (commit)
       via  0060a5124397a136c11c44570ba6db9bc6d794a5 (commit)
       via  8c2ac4de54ed80538afcbceaad86d782841ab49a (commit)
      from  afb2e32c3aa5f1f6565b2db10def14a887b79b1e (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 50a9abe1e20959e454869f3943bcaa82238a692d
Author: William Harrington <kb0iic at berzerkula.org>
Date:   Sat Jan 25 21:20:00 2014 -0600

    Add master changelog entry for linking /proc/self/mounts to /etc/mtab for chroot and /etc/mtab for boot section.

diff --git a/BOOK/introduction/common/changelog.xml b/BOOK/introduction/common/changelog.xml
index f6e7a80..5583d4f 100644
--- a/BOOK/introduction/common/changelog.xml
+++ b/BOOK/introduction/common/changelog.xml
@@ -35,6 +35,14 @@
       </itemizedlist>
     </listitem>
 -->
+    <listitem>
+      <para>25 January 2014</para>
+      <itemizedlist>
+        <listitem>
+          <para>[William Harrington] - Create a link from /proc/self/mounts to /etc/mtab in boot and chroot createfiles section.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
 
     <listitem>
       <para>23 January 2014</para>

commit 0060a5124397a136c11c44570ba6db9bc6d794a5
Author: William Harrington <kb0iic at berzerkula.org>
Date:   Sat Jan 25 21:19:32 2014 -0600

    Add description and command to link /proc/self/mounts to /etc/mtab for boot section and /etc/mtab for chroot section of createfiles.

diff --git a/BOOK/boot/64/createfiles.xml b/BOOK/boot/64/createfiles.xml
index 96eb9a3..f62e030 100644
--- a/BOOK/boot/64/createfiles.xml
+++ b/BOOK/boot/64/createfiles.xml
@@ -32,4 +32,12 @@ ln -sv ../run ${CLFS}/var/run</userinput></screen>
 <screen><userinput>mkdir -pv ${CLFS}/usr/lib64
 ln -sv /tools/lib/libstdc++.so{.6,} ${CLFS}/usr/lib64</userinput></screen>
 
+  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
+  href="../common/createfiles.xml"
+  xpointer="xpointer(//*[@os='c'])"/>
+
+  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
+  href="../common/createfiles.xml"
+  xpointer="xpointer(//*[@os='d'])"/>
+
 </sect1>
diff --git a/BOOK/boot/common/createfiles.xml b/BOOK/boot/common/createfiles.xml
index 708c7d5..192ea2f 100644
--- a/BOOK/boot/common/createfiles.xml
+++ b/BOOK/boot/common/createfiles.xml
@@ -24,4 +24,13 @@ sed -e 's/tools/usr/' /tools/lib/libstdc++.la > ${CLFS}/usr/lib/libstdc++.la
 ln -sv bash ${CLFS}/bin/sh
 ln -sv /run ${CLFS}/var/run</userinput></screen>
 
+  <para os="c">Historically, Linux maintains a list of the mounted file systems
+  in the file <filename>/etc/mtab</filename>. Modern kernels maintain this list
+  internally and exposes it to the user via the
+  <filename class="directory">/proc</filename> filesystem. To satisfy utilities
+  that expect the presence of <filename>/etc/mtab</filename>, create the
+  following symbolic link:</para>
+
+<screen os="d"><userinput>ln -sv /proc/self/mounts ${CLFS}/etc/mtab</userinput></screen>
+
 </sect1>
diff --git a/BOOK/boot/mips64/createfiles.xml b/BOOK/boot/mips64/createfiles.xml
index 4bb5bec..1228ed2 100644
--- a/BOOK/boot/mips64/createfiles.xml
+++ b/BOOK/boot/mips64/createfiles.xml
@@ -27,4 +27,12 @@ sed -e 's/tools/usr/' /tools/lib/libstdc++.la > ${CLFS}/usr/lib/libstdc++.la
 ln -sv bash ${CLFS}/bin/sh
 ln -sv ../run ${CLFS}/var/run</userinput></screen>
 
+  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
+  href="../common/createfiles.xml"
+  xpointer="xpointer(//*[@os='c'])"/>
+
+  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
+  href="../common/createfiles.xml"
+  xpointer="xpointer(//*[@os='d'])"/>
+
 </sect1>
diff --git a/BOOK/boot/multilib/createfiles.xml b/BOOK/boot/multilib/createfiles.xml
index 752e829..eb7dc15 100644
--- a/BOOK/boot/multilib/createfiles.xml
+++ b/BOOK/boot/multilib/createfiles.xml
@@ -25,4 +25,12 @@ sed -e 's/tools/usr/' /tools/lib/libstdc++.la > ${CLFS}/usr/lib/libstdc++.la
 ln -sv bash ${CLFS}/bin/sh
 ln -sv ../run ${CLFS}/var/run</userinput></screen>
 
+  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
+  href="../common/createfiles.xml"
+  xpointer="xpointer(//*[@os='c'])"/>
+
+  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
+  href="../common/createfiles.xml"
+  xpointer="xpointer(//*[@os='d'])"/>
+
 </sect1>
diff --git a/BOOK/chroot/64/createfiles.xml b/BOOK/chroot/64/createfiles.xml
index 68115fb..8f72ac3 100644
--- a/BOOK/chroot/64/createfiles.xml
+++ b/BOOK/chroot/64/createfiles.xml
@@ -31,4 +31,12 @@ ln -sv /run /var/run</userinput></screen>
 <screen><userinput>mkdir -pv /usr/lib64
 ln -sv /tools/lib/libstdc++.so{.6,} /usr/lib64</userinput></screen>
 
+    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
+    href="../../boot/common/createfiles.xml"
+    xpointer="xpointer(//*[@os='c'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
+    href="../common/createfiles.xml"
+    xpointer="xpointer(//*[@os='d'])"/>
+
 </sect1>
diff --git a/BOOK/chroot/common/createfiles.xml b/BOOK/chroot/common/createfiles.xml
index a9fedbb..6dc5d3c 100644
--- a/BOOK/chroot/common/createfiles.xml
+++ b/BOOK/chroot/common/createfiles.xml
@@ -10,9 +10,9 @@
 
   <title>Creating Essential Symlinks</title>
 
-  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
-  href="../../boot/common/createfiles.xml"
-  xpointer="xpointer(//*[@os='a'])"/>
+    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
+    href="../../boot/common/createfiles.xml"
+    xpointer="xpointer(//*[@os='a'])"/>
 
 <screen><userinput>ln -sv /tools/bin/{bash,cat,echo,grep,pwd,stty} /bin
 ln -sv /tools/bin/file /usr/bin
@@ -22,4 +22,10 @@ sed -e 's/tools/usr/' /tools/lib/libstdc++.la > /usr/lib/libstdc++.la
 ln -sv bash /bin/sh
 ln -sv /run /var/run</userinput></screen>
 
+    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
+    href="../../boot/common/createfiles.xml"
+    xpointer="xpointer(//*[@os='c'])"/>
+
+<screen os="d"><userinput>ln -sv /proc/self/mounts /etc/mtab</userinput></screen>
+
 </sect1>
diff --git a/BOOK/chroot/mips64/createfiles.xml b/BOOK/chroot/mips64/createfiles.xml
index d461975..382149e 100644
--- a/BOOK/chroot/mips64/createfiles.xml
+++ b/BOOK/chroot/mips64/createfiles.xml
@@ -26,4 +26,12 @@ sed -e 's/tools/usr/' /tools/lib/libstdc++.la > /usr/lib/libstdc++.la
 ln -sv bash /bin/sh
 ln -sv /run /var/run</userinput></screen>
 
+    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
+    href="../../boot/common/createfiles.xml"
+    xpointer="xpointer(//*[@os='c'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
+    href="../common/createfiles.xml"
+    xpointer="xpointer(//*[@os='d'])"/>
+
 </sect1>
diff --git a/BOOK/chroot/multilib/createfiles.xml b/BOOK/chroot/multilib/createfiles.xml
index f8ad6cb..f2547af 100644
--- a/BOOK/chroot/multilib/createfiles.xml
+++ b/BOOK/chroot/multilib/createfiles.xml
@@ -23,4 +23,12 @@ ln -sv /tools/lib64/libstd* /usr/lib64
 ln -sv bash /bin/sh
 ln -sv /run /var/run</userinput></screen>
 
+    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
+    href="../../boot/common/createfiles.xml"
+    xpointer="xpointer(//*[@os='c'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
+    href="../common/createfiles.xml"
+    xpointer="xpointer(//*[@os='d'])"/>
+
 </sect1>

commit 8c2ac4de54ed80538afcbceaad86d782841ab49a
Author: William Harrington <kb0iic at berzerkula.org>
Date:   Sat Jan 25 21:18:16 2014 -0600

    Update date.

diff --git a/BOOK/general.ent b/BOOK/general.ent
index 8870fe0..0aff532 100644
--- a/BOOK/general.ent
+++ b/BOOK/general.ent
@@ -2,7 +2,7 @@
 
 <!ENTITY month "01"> <!-- Use two digits -->
 <!ENTITY month_name "January">
-<!ENTITY day "24"> <!-- Use two digits -->
+<!ENTITY day "25"> <!-- Use two digits -->
 <!ENTITY year "2014"> <!-- Use four digits -->
 
 <!ENTITY releasedate "&month_name; &day;, &year;">

-----------------------------------------------------------------------

Summary of changes:
 BOOK/boot/64/createfiles.xml           |    8 ++++++++
 BOOK/boot/common/createfiles.xml       |    9 +++++++++
 BOOK/boot/mips64/createfiles.xml       |    8 ++++++++
 BOOK/boot/multilib/createfiles.xml     |    8 ++++++++
 BOOK/chroot/64/createfiles.xml         |    8 ++++++++
 BOOK/chroot/common/createfiles.xml     |   12 +++++++++---
 BOOK/chroot/mips64/createfiles.xml     |    8 ++++++++
 BOOK/chroot/multilib/createfiles.xml   |    8 ++++++++
 BOOK/general.ent                       |    2 +-
 BOOK/introduction/common/changelog.xml |    8 ++++++++
 10 files changed, 75 insertions(+), 4 deletions(-)


hooks/post-receive
-- 
Cross-LFS Book



More information about the Clfs-commits mailing list