mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-01-31 03:11:57 +00:00
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. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9860 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
7027db5944
commit
40690e1f21
@ -34,7 +34,7 @@ case "${1}" in
|
||||
# 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"
|
||||
|
@ -13,7 +13,7 @@
|
||||
########################################################################
|
||||
|
||||
### BEGIN INIT INFO
|
||||
# Provides: $time
|
||||
# Provides:
|
||||
# Required-Start:
|
||||
# Should-Start: modules
|
||||
# Required-Stop:
|
||||
|
@ -13,7 +13,7 @@
|
||||
########################################################################
|
||||
|
||||
### BEGIN INIT INFO
|
||||
# Provides: udev
|
||||
# Provides: udev $time
|
||||
# Required-Start:
|
||||
# Should-Start: modules
|
||||
# Required-Stop:
|
||||
|
@ -36,6 +36,26 @@
|
||||
</listitem>
|
||||
|
||||
-->
|
||||
<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>
|
||||
|
@ -69,10 +69,22 @@ mknod -m 666 $LFS/dev/null c 1 3</userinput></screen>
|
||||
<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>
|
||||
|
@ -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}]" -->
|
||||
|
@ -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 -->
|
||||
|
Loading…
Reference in New Issue
Block a user