[lfs-fr] r1109 - in trunk/lfs: . bootscripts bootscripts/lfs/init.d chapter01 chapter06

jmengual at linuxfromscratch.org jmengual at linuxfromscratch.org
Dim 24 Jan 13:20:09 PST 2010


Author: jmengual
Date: 2010-01-24 22:20:08 +0100 (Sun, 24 Jan 2010)
New Revision: 1109

Modified:
   trunk/lfs/bootscripts/ChangeLog
   trunk/lfs/bootscripts/lfs/init.d/udev
   trunk/lfs/chapter01/changelog.xml
   trunk/lfs/chapter06/udev.xml
   trunk/lfs/packages.ent
Log:
Mise a jour


Modified: trunk/lfs/bootscripts/ChangeLog
===================================================================
--- trunk/lfs/bootscripts/ChangeLog	2010-01-24 14:20:34 UTC (rev 1108)
+++ trunk/lfs/bootscripts/ChangeLog	2010-01-24 21:20:08 UTC (rev 1109)
@@ -1,3 +1,7 @@
+2010-01-24  Matthew Burgess <matthew at linuxfromscratch.org>
+   * lfs/init.d/udev: Check to see if /dev is already mounted, as it may be if
+     under an initramfs environment.  See ticket #2550.
+
 2009-08-14  Bryan Kadzban <bryan at linuxfromscratch.org>
    * lfs/init.d/udev_retry: Use "udevadm trigger --type=failed", which
      apparently replaced "--retry-failed" some time ago.  "--retry-failed" is

Modified: trunk/lfs/bootscripts/lfs/init.d/udev
===================================================================
--- trunk/lfs/bootscripts/lfs/init.d/udev	2010-01-24 14:20:34 UTC (rev 1108)
+++ trunk/lfs/bootscripts/lfs/init.d/udev	2010-01-24 21:20:08 UTC (rev 1109)
@@ -34,7 +34,9 @@
 		# made or removed during this boot don't affect the next one.
 		# The reason we don't write to mtab is because we don't ever
 		# want /dev to be unavailable (such as by `umount -a').
-		mount -n -t tmpfs tmpfs /dev -o mode=755
+		if ! mountpoint /dev > /dev/null; then
+			mount -n -t tmpfs tmpfs /dev -o mode=755
+		fi
 		if [ ${?} != 0 ]; then
 			echo_failure
 			boot_mesg -n "FAILURE:\n\nCannot mount a tmpfs" ${FAILURE}

Modified: trunk/lfs/chapter01/changelog.xml
===================================================================
--- trunk/lfs/chapter01/changelog.xml	2010-01-24 14:20:34 UTC (rev 1108)
+++ trunk/lfs/chapter01/changelog.xml	2010-01-24 21:20:08 UTC (rev 1109)
@@ -39,7 +39,18 @@
      <listitem>
       <para>24-01-2010</para>
       <itemizedlist>
+         <listitem>
+          <para>[matthew] Passage à lfs-bootscripts-20100124, qui vérifie que
+          /dev n'est pas déjà monté. Corrige
+          <ulink url="&lfs-ticket-root;2550">#2550</ulink>.</para>
+        </listitem>
+
         <listitem>
+          <para>[matthew] Ne crée pas /lib/udev/devices/kmsg car Udev >= 142
+          le crée automatiquement. Corrige
+          <ulink url="&lfs-ticket-root;2552">#2552</ulink>.</para>
+        </listitem>
+        <listitem>
           <para>[matthew] Passage à File-5.04. Corrige
           <ulink url="&lfs-ticket-root;2555">#2555</ulink>.</para>
         </listitem>

Modified: trunk/lfs/chapter06/udev.xml
===================================================================
--- trunk/lfs/chapter06/udev.xml	2010-01-24 14:20:34 UTC (rev 1108)
+++ trunk/lfs/chapter06/udev.xml	2010-01-24 21:20:08 UTC (rev 1109)
@@ -53,7 +53,6 @@
 
 <screen><userinput remap="install">install -dv /lib/{firmware,udev/devices/{pts,shm}}
 mknod -m0666 /lib/udev/devices/null c 1 3
-mknod -m0600 /lib/udev/devices/kmsg c 1 11
 ln -sv /proc/self/fd /lib/udev/devices/fd
 ln -sv /proc/self/fd/0 /lib/udev/devices/stdin
 ln -sv /proc/self/fd/1 /lib/udev/devices/stdout

Modified: trunk/lfs/packages.ent
===================================================================
--- trunk/lfs/packages.ent	2010-01-24 14:20:34 UTC (rev 1108)
+++ trunk/lfs/packages.ent	2010-01-24 21:20:08 UTC (rev 1109)
@@ -285,7 +285,7 @@
 <!ENTITY less-ch6-du "2.9 Mio">
 <!ENTITY less-ch6-sbu "moins de 0.1 SBU">
 
-<!ENTITY lfs-bootscripts-version "20090817">                 <!-- Scripts depend on this format -->
+<!ENTITY lfs-bootscripts-version "20100124">                 <!-- Scripts depend on this format -->
 <!ENTITY lfs-bootscripts-size "BOOTSCRIPTS-SIZE Kio">         <!-- 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 -->




More information about the lfs-traducfr mailing list