Author: bdubbs
Date: 2012-05-20 19:47:41 -0600 (Sun, 20 May 2012)
New Revision: 9860
Modified:
trunk/BOOK/bootscripts/lfs/init.d/mountvirtfs
trunk/BOOK/bootscripts/lfs/init.d/setclock
trunk/BOOK/bootscripts/lfs/init.d/udev
trunk/BOOK/chapter01/changelog.xml
trunk/BOOK/chapter06/kernfs.xml
trunk/BOOK/general.ent
trunk/BOOK/packages.ent
Log:
Remove a bashism from the mountkernfs boot script.
Move the $time init capability from setclock to udev.
Remove and recreate $LFS/dev/shm in Section 6.2 if it is
a symbolic link.
Modified: trunk/BOOK/bootscripts/lfs/init.d/mountvirtfs
===================================================================
--- trunk/BOOK/bootscripts/lfs/init.d/mountvirtfs 2012-05-18 21:14:54 UTC
(rev 9859)
+++ trunk/BOOK/bootscripts/lfs/init.d/mountvirtfs 2012-05-21 01:47:41 UTC
(rev 9860)
@@ -34,7 +34,7 @@
# Make sure /run/var is available before logging any messages
mkdir -p /run
mount -n /run || failed=1
- mkdir -p /run/{var,lock,shm}
+ mkdir -p /run/var /run/lock /run/shm
chmod 1777 /run/shm
log_info_msg "Mounting virtual file systems: ${INFO}/run"
Modified: trunk/BOOK/bootscripts/lfs/init.d/setclock
===================================================================
--- trunk/BOOK/bootscripts/lfs/init.d/setclock 2012-05-18 21:14:54 UTC (rev
9859)
+++ trunk/BOOK/bootscripts/lfs/init.d/setclock 2012-05-21 01:47:41 UTC (rev
9860)
@@ -13,7 +13,7 @@
########################################################################
### BEGIN INIT INFO
-# Provides: $time
+# Provides:
# Required-Start:
# Should-Start: modules
# Required-Stop:
Modified: trunk/BOOK/bootscripts/lfs/init.d/udev
===================================================================
--- trunk/BOOK/bootscripts/lfs/init.d/udev 2012-05-18 21:14:54 UTC (rev
9859)
+++ trunk/BOOK/bootscripts/lfs/init.d/udev 2012-05-21 01:47:41 UTC (rev
9860)
@@ -13,7 +13,7 @@
########################################################################
### BEGIN INIT INFO
-# Provides: udev
+# Provides: udev $time
# Required-Start:
# Should-Start: modules
# Required-Stop:
Modified: trunk/BOOK/chapter01/changelog.xml
===================================================================
--- trunk/BOOK/chapter01/changelog.xml 2012-05-18 21:14:54 UTC (rev 9859)
+++ trunk/BOOK/chapter01/changelog.xml 2012-05-21 01:47:41 UTC (rev 9860)
@@ -37,6 +37,26 @@
-->
<listitem>
+ <para>2012-05-20</para>
+ <itemizedlist>
+ <listitem>
+ <para>[bdubbs] - Remove a bashism from the mountkernfs boot script.
+ </para>
+ </listitem>
+ <listitem>
+ <para>[bdubbs] - Move the $time init capability from setclock
+ to udev. Fixes
+ <ulink url="&lfs-ticket-root;3085">#3085</ulink>.</para>
+ </listitem>
+ <listitem>
+ <para>[bdubbs] - Remove and recreate $LFS/dev/shm in Section 6.2
+ if it is a symbolic link. Fixes
+ <ulink url="&lfs-ticket-root;3085">#3085</ulink>.</para>
+ </listitem>
+ </itemizedlist>
+ </listitem>
+
+ <listitem>
<para>2012-05-18</para>
<itemizedlist>
<listitem>
Modified: trunk/BOOK/chapter06/kernfs.xml
===================================================================
--- trunk/BOOK/chapter06/kernfs.xml 2012-05-18 21:14:54 UTC (rev 9859)
+++ trunk/BOOK/chapter06/kernfs.xml 2012-05-21 01:47:41 UTC (rev 9860)
@@ -69,10 +69,22 @@
<para>Now mount the remaining virtual kernel filesystems:</para>
<screen><userinput>mount -vt devpts devpts $LFS/dev/pts
-mount -vt tmpfs shm $LFS/dev/shm
mount -vt proc proc $LFS/proc
mount -vt sysfs sysfs $LFS/sys</userinput></screen>
+ <para>In some host systems, <filename>/dev/shm</filename> is a
+ symbolic link to <filename class="directory">/run/shm</filename>.
+ Inside a chroot envirnment, this symbolic link needs to be
+ changed to a normal directory before mounting as a temporary
+ file system:</para>
+
+<screen><userinput>if [ -h /dev/shm ]; then
+ rm -f $LFS/dev/shm
+ mkdir $LFS/dev/shm
+fi
+
+mount -vt tmpfs shm $LFS/dev/shm</userinput></screen>
+
</sect2>
</sect1>
Modified: trunk/BOOK/general.ent
===================================================================
--- trunk/BOOK/general.ent 2012-05-18 21:14:54 UTC (rev 9859)
+++ trunk/BOOK/general.ent 2012-05-21 01:47:41 UTC (rev 9860)
@@ -1,5 +1,5 @@
-<!ENTITY version "SVN-20120518">
-<!ENTITY releasedate "May 18, 2012">
+<!ENTITY version "SVN-20120520">
+<!ENTITY releasedate "May 20, 2012">
<!ENTITY copyrightdate "1999-2012"><!-- jhalfs needs a literal dash, not
– -->
<!ENTITY milestone "7.2">
<!ENTITY generic-version "development"> <!-- Use "development", "testing", or
"x.y[-pre{x}]" -->
Modified: trunk/BOOK/packages.ent
===================================================================
--- trunk/BOOK/packages.ent 2012-05-18 21:14:54 UTC (rev 9859)
+++ trunk/BOOK/packages.ent 2012-05-21 01:47:41 UTC (rev 9860)
@@ -302,7 +302,7 @@
<!ENTITY less-ch6-du "3.5 MB">
<!ENTITY less-ch6-sbu "less than 0.1 SBU">
-<!ENTITY lfs-bootscripts-version "20120505"> <!-- Scripts
depend on this format -->
+<!ENTITY lfs-bootscripts-version "20120520"> <!-- Scripts
depend on this format -->
<!ENTITY lfs-bootscripts-size "BOOTSCRIPTS-SIZE KB"> <!-- Updated in
Makefile -->
<!ENTITY lfs-bootscripts-url
"&downloads-root;lfs-bootscripts-&lfs-bootscripts-version;.tar.bz2">
<!ENTITY lfs-bootscripts-md5 "BOOTSCRIPTS-MD5SUM"> <!-- Updated in
Makefile -->
--
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page