[Clfs-commits] [Cross-LFS]Cross-LFS Book branch, master, updated. clfs-2.0.0-279-gebfb62d

git git at cross-lfs.org
Thu Aug 15 13:43:52 PDT 2013


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, master has been updated
       via  ebfb62df9551250c56bc4b46a708e591aab47b3d (commit)
      from  ce56d9deedfa6cceff520a1ef2e5a32dd60a8fd0 (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 ebfb62df9551250c56bc4b46a708e591aab47b3d
Author: William Harrington <kb0iic at berzerkula.org>
Date:   Thu Aug 15 15:42:56 2013 -0500

    When the host has a link of /dev/shm to /run/shm fix some issues that can occur.

diff --git a/BOOK/chroot/common/kernfs.xml b/BOOK/chroot/common/kernfs.xml
index fbce4aa..2ada3f2 100644
--- a/BOOK/chroot/common/kernfs.xml
+++ b/BOOK/chroot/common/kernfs.xml
@@ -53,7 +53,14 @@ mknod -m 666 ${CLFS}/dev/null c 1 3</userinput></screen>
   environment. To keep the host up to date, perform a <quote>fake mount</quote>
   for each of these now:</para>
 
-<screen><userinput>mount -f -vt tmpfs tmpfs ${CLFS}/dev/shm
+<screen><userinput>if [ -h ${CLFS}/dev/shm ]; then
+  link=$(readlink ${CLFS}/dev/shm)
+  mkdir -p ${CLFS}/$link
+  mount -f -vt tmpfs shm ${CLFS}/$link
+  unset link
+else
+  mount -f -vt tmpfs shm ${CLFS}/dev/shm
+fi
 mount -f -vt devpts -o gid=&gid-tty;,mode=620 devpts ${CLFS}/dev/pts</userinput></screen>
 
 </sect1>
diff --git a/BOOK/introduction/common/changelog.xml b/BOOK/introduction/common/changelog.xml
index 19615d3..323c74b 100644
--- a/BOOK/introduction/common/changelog.xml
+++ b/BOOK/introduction/common/changelog.xml
@@ -36,6 +36,15 @@
     </listitem>
 -->
     <listitem>
+      <para>15 August 2013</para>
+      <itemizedlist>
+        <listitem>
+          <para>[William Harrington] - Fix shm mount during chroot virtual kernel filesystems.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
+    <listitem>
       <para>14 August 2013</para>
       <itemizedlist>
         <listitem>

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

Summary of changes:
 BOOK/chroot/common/kernfs.xml          |    9 ++++++++-
 BOOK/introduction/common/changelog.xml |    9 +++++++++
 2 files changed, 17 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Cross-LFS Book



More information about the Clfs-commits mailing list