[lfs-fr] r1471 - in trunk/lfs: . bootscripts bootscripts/lfs/init.d bootscripts/lfs/lib/services bootscripts/lfs/sbin bootscripts/lfs/sysconfig chapter01 chapter03 chapter06

jmengual at linuxfromscratch.org jmengual at linuxfromscratch.org
Jeu 1 Déc 16:06:14 PST 2011


Author: jmengual
Date: 2011-12-02 01:06:14 +0100 (Fri, 02 Dec 2011)
New Revision: 1471

Modified:
   trunk/lfs/bootscripts/ChangeLog
   trunk/lfs/bootscripts/lfs/init.d/cleanfs
   trunk/lfs/bootscripts/lfs/init.d/console
   trunk/lfs/bootscripts/lfs/init.d/mountfs
   trunk/lfs/bootscripts/lfs/init.d/mountvirtfs
   trunk/lfs/bootscripts/lfs/init.d/rc
   trunk/lfs/bootscripts/lfs/init.d/setclock
   trunk/lfs/bootscripts/lfs/init.d/udev
   trunk/lfs/bootscripts/lfs/init.d/udev_retry
   trunk/lfs/bootscripts/lfs/lib/services/init-functions
   trunk/lfs/bootscripts/lfs/sbin/ifup
   trunk/lfs/bootscripts/lfs/sysconfig/rc.site
   trunk/lfs/chapter01/changelog.xml
   trunk/lfs/chapter01/whatsnew.xml
   trunk/lfs/chapter03/patches.xml
   trunk/lfs/chapter06/coreutils.xml
   trunk/lfs/general.ent
   trunk/lfs/packages.ent
   trunk/lfs/patches.ent
Log:
Mise a jour de lfs.



Modified: trunk/lfs/bootscripts/ChangeLog
===================================================================
--- trunk/lfs/bootscripts/ChangeLog	2011-12-01 19:48:49 UTC (rev 1470)
+++ trunk/lfs/bootscripts/ChangeLog	2011-12-02 00:06:14 UTC (rev 1471)
@@ -1,3 +1,12 @@
+2011-11-28  DJ Lucas <dj at linuxfromscratch.org>
+
+   * lfs/init.d/mountfs: Add '-t nosysfs' to umount command
+   * lfs/init.d/mountvirtfs: remove unneeded spaces in output
+   * lfs/init.d/rc: Correct double interactive prompt and set prompt defaults
+   * lfs/init.d/setclock: Remove screen output from start case (udev)
+   * lfs/init.d/udev{,_retry}:  Restore output to screen and log
+   * lfs/sbin/ifup: Change "..." to ": " (not awaiting additonal output)
+
 2011-11-14  Bruce Dubbs <bdubbs at linuxfromscratch.org>
 
    * The following are from suggestions by DJ Lucas

Modified: trunk/lfs/bootscripts/lfs/init.d/cleanfs
===================================================================
--- trunk/lfs/bootscripts/lfs/init.d/cleanfs	2011-12-01 19:48:49 UTC (rev 1470)
+++ trunk/lfs/bootscripts/lfs/init.d/cleanfs	2011-12-02 00:06:14 UTC (rev 1471)
@@ -22,7 +22,7 @@
 # Default-Stop:
 # Short-Description:   Cleans temporary directories early in the boot process.
 # Description:         Cleans temporary directories /var/run, /var/lock, and
-#                      optionally) /tmp.  cleanfs also creates /var/run/utmp 
+#                      optionally, /tmp.  cleanfs also creates /var/run/utmp 
 #                      and any files defined in /etc/sysconfig/createfiles.
 # X-LFS-Provided-By:   LFS
 ### END INIT INFO

Modified: trunk/lfs/bootscripts/lfs/init.d/console
===================================================================
--- trunk/lfs/bootscripts/lfs/init.d/console	2011-12-01 19:48:49 UTC (rev 1470)
+++ trunk/lfs/bootscripts/lfs/init.d/console	2011-12-02 00:06:14 UTC (rev 1471)
@@ -37,17 +37,17 @@
    [ "$1" = "1" ] || [ "$1" = "yes" ] || [ "$1" = "true" ]
 }
 
-# See if we need to do anything
-if [ -z "${KEYMAP}"         ] && [ -z "${KEYMAP_CORRECTIONS}" ] &&
-   [ -z "${FONT}"           ] && [ -z "${LEGACY_CHARSET}"     ] &&     
-   ! is_true "${UNICODE}"; then 
-   exit 0
-fi
-
 failed=0
 
 case "${1}" in
    start)
+      # See if we need to do anything
+      if [ -z "${KEYMAP}"         ] && [ -z "${KEYMAP_CORRECTIONS}" ] &&
+         [ -z "${FONT}"           ] && [ -z "${LEGACY_CHARSET}"     ] &&     
+         ! is_true "${UNICODE}"; then 
+         exit 0
+      fi
+
       # There should be no bogus failures below this line!
       log_info_msg "Setting up Linux console..."
 
@@ -104,7 +104,7 @@
       ;;              
 
    *)                 
-      echo $"Usage:"  "${0} {start}"
+      echo "Usage:  ${0} {start}"
       exit 1          
       ;;              
 esac

Modified: trunk/lfs/bootscripts/lfs/init.d/mountfs
===================================================================
--- trunk/lfs/bootscripts/lfs/init.d/mountfs	2011-12-01 19:48:49 UTC (rev 1470)
+++ trunk/lfs/bootscripts/lfs/init.d/mountfs	2011-12-02 00:06:14 UTC (rev 1471)
@@ -61,7 +61,7 @@
    stop)
       # Don't unmount tmpfs like /run
       log_info_msg "Unmounting all other currently mounted file systems..."
-      umount -a -d -r -t notmpfs >/dev/null
+      umount -a -d -r -t notmpfs,nosysfs >/dev/null
       evaluate_retval
       exit 0
       ;;

Modified: trunk/lfs/bootscripts/lfs/init.d/mountvirtfs
===================================================================
--- trunk/lfs/bootscripts/lfs/init.d/mountvirtfs	2011-12-01 19:48:49 UTC (rev 1470)
+++ trunk/lfs/bootscripts/lfs/init.d/mountvirtfs	2011-12-02 00:06:14 UTC (rev 1471)
@@ -36,7 +36,7 @@
       mount -n /run || failed=1
       mkdir -p /run/{var,lock,shm}
 
-      log_info_msg "Mounting virtual file systems:     ${INFO}/run" 
+      log_info_msg "Mounting virtual file systems: ${INFO}/run" 
 
       if ! mountpoint /proc >/dev/null; then
          log_info_msg2 " ${INFO}/proc"

Modified: trunk/lfs/bootscripts/lfs/init.d/rc
===================================================================
--- trunk/lfs/bootscripts/lfs/init.d/rc	2011-12-01 19:48:49 UTC (rev 1470)
+++ trunk/lfs/bootscripts/lfs/init.d/rc	2011-12-02 00:06:14 UTC (rev 1471)
@@ -87,6 +87,7 @@
 DISTRO=${DISTRO:-"Linux From Scratch"}
 DISTRO_CONTACT=${DISTRO_CONTACT:-"lfs-dev at linuxfromscratch.org (Registration required)"}
 DISTRO_MINI=${DISTRO_MINI:-"LFS"}
+IPROMPT=${IPROMPT:-"no"}
 
 # These 3 signals will not cause our script to exit
 trap "" INT QUIT TSTP
@@ -111,12 +112,21 @@
 # Note: In ${LOGLEVEL:-7}, it is ':' 'dash' '7', not minus 7
 if [ "$runlevel" == "S" ]; then dmesg -n "${LOGLEVEL:-7}"; fi
 
-if [ "${IPROMPT}" == "yes" ]; then
-   # dcol and icol are spaces before the message to center the
-   # message on screen.
+if [ "${IPROMPT}" == "yes" -a "${runlevel}" == "S" ]; then
+   # The total length of the distro welcome string, without escape codes
+   wlen=${wlen:-$(echo "Welcome to ${DISTRO}" | wc -c )}
+   welcome_message=${welcome_message:-"Welcome to ${INFO}${DISTRO}${NORMAL}"}
 
+   # The total length of the interactive string, without escape codes
+   ilen=${ilen:-$(echo "Press 'I' to enter interactive startup" | wc -c )}
+   i_message=${i_message:-"Press '${FAILURE}I${NORMAL}' to enter interactive startup"}
+
+
+   # dcol and icol are spaces before the message to center the message
+   # on screen. itime is the amount of wait time for the user to press a key
    wcol=$(( ( ${COLUMNS} - ${wlen} ) / 2 ))
    icol=$(( ( ${COLUMNS} - ${ilen} ) / 2 ))
+   itime=${itime:-"3"}
 
    echo -e "\n\n"
    echo -e "\\033[${wcol}G${welcome_message}"

Modified: trunk/lfs/bootscripts/lfs/init.d/setclock
===================================================================
--- trunk/lfs/bootscripts/lfs/init.d/setclock	2011-12-01 19:48:49 UTC (rev 1470)
+++ trunk/lfs/bootscripts/lfs/init.d/setclock	2011-12-02 00:06:14 UTC (rev 1471)
@@ -44,10 +44,7 @@
 
 case ${1} in
    start)
-      log_info_msg2 "\n" # Run by udev, make sure start on new line
-      log_info_msg "Setting system clock..."
       hwclock --hctosys ${CLOCKPARAMS} >/dev/null
-      evaluate_retval
       ;;
 
    stop)

Modified: trunk/lfs/bootscripts/lfs/init.d/udev
===================================================================
--- trunk/lfs/bootscripts/lfs/init.d/udev	2011-12-01 19:48:49 UTC (rev 1470)
+++ trunk/lfs/bootscripts/lfs/init.d/udev	2011-12-02 00:06:14 UTC (rev 1471)
@@ -84,7 +84,7 @@
 
       # Now wait for udevd to process the uevents we triggered
       /sbin/udevadm settle
-      #log_success_msg2 
+      log_success_msg2 
       ;;
 
    *)

Modified: trunk/lfs/bootscripts/lfs/init.d/udev_retry
===================================================================
--- trunk/lfs/bootscripts/lfs/init.d/udev_retry	2011-12-01 19:48:49 UTC (rev 1470)
+++ trunk/lfs/bootscripts/lfs/init.d/udev_retry	2011-12-02 00:06:14 UTC (rev 1471)
@@ -56,7 +56,7 @@
 
       # Now wait for udevd to process the uevents we triggered
       /sbin/udevadm settle
-      #evaluate_retval
+      evaluate_retval
       ;;
 
    *)

Modified: trunk/lfs/bootscripts/lfs/lib/services/init-functions
===================================================================
--- trunk/lfs/bootscripts/lfs/lib/services/init-functions	2011-12-01 19:48:49 UTC (rev 1470)
+++ trunk/lfs/bootscripts/lfs/lib/services/init-functions	2011-12-02 00:06:14 UTC (rev 1471)
@@ -43,6 +43,7 @@
 SET_COL="\\033[${COL}G"      # at the $COL char
 SET_WCOL="\\033[${WCOL}G"    # at the $WCOL char
 CURS_UP="\\033[1A\\033[0G"   # Up one line, at the 0'th char
+CURS_ZERO="\\033[0G"
 
 ## Set color commands, used via echo
 # Please consult `man console_codes for more information
@@ -60,6 +61,12 @@
 INFO="\\033[1;36m"           # Information is light cyan
 BRACKET="\\033[1;34m"        # Brackets are blue
 
+# Use a colored prefix
+BMPREFIX="     "
+SUCCESS_PREFIX="${SUCCESS}  *  ${NORMAL}"
+FAILURE_PREFIX="${FAILURE}*****${NORMAL}"
+WARNING_PREFIX="${WARNING} *** ${NORMAL}"
+
 BOOTLOG=/run/var/bootlog
 KILLDELAY=3
 
@@ -171,7 +178,6 @@
     fi
 
     # Do the start!
-
     nice -n "${nice}" "${@}"
 }
 
@@ -470,31 +476,38 @@
 # Inputs: -p pidfile, use the specified pidfile instead of pidof               #
 #         pathname, path to the specified program                              #
 #                                                                              #
-# Note: Output to stdout.  Not logged.                                         #
-#                                                                              #
 # Return values:                                                               #
 #       0 - Status printed                                                     #
 #       1 - Input error. The daemon to check was not specified.                #
 ################################################################################
 statusproc()
 {
+   local pidfile
+   local pidlist
+
    if [ "${#}" = "0" ]; then
-      echo "Usage: statusproc {program}"
+      echo "Usage: [-p pidfle] statusproc {program}"
       exit 1
    fi
 
-    local pidfile
-    local pidlist
+   # Process arguments
+   while true; do
+       case "${1}" in
 
-    # Process arguments
-    while true; do
-      case "${1}" in
+           -p)
+               pidfile="${2}"
+               shift 2
+               ;;
 
-          -p)
-              pidfile="${2}"
-              shift 2
-              ;;
-      esac
+           *)
+               if [ -n "${2}" ]; then
+                   echo "Too many arguments"
+                   return 1
+               else
+                   break
+               fi
+               ;;
+       esac
    done
 
    if [ -z "${pidfile}" ]; then
@@ -516,7 +529,7 @@
          echo -e "${WARNING}${1} is not running but" \
             "/var/run/${base}.pid exists.${NORMAL}"
       else
-         if [ -z "${pidlist}" -a -n "${pidfile}" ]; then
+         if [ -n "${pidfile}" -a -e "${pidfile}" ]; then
             echo -e "${WARNING}${1} is not running" \
                "but ${pidfile} exists.${NORMAL}"
          else
@@ -553,20 +566,25 @@
 ################################################################################
 log_success_msg()
 {
-    echo -n -e "${@}"
-    echo -e "${SET_COL}${BRACKET}[${SUCCESS}  OK  ${BRACKET}]${NORMAL}"
+    echo -n -e "${BMPREFIX}${@}"
+    echo -e "${CURS_ZERO}${SUCCESS_PREFIX}${SET_COL}${BRACKET}[${SUCCESS}  OK  ${BRACKET}]${NORMAL}"
 
+    # Strip non-printable characters from log file
+    local logmessage=`echo "${@}" | sed 's/\\\033[^a-zA-Z]*.//g'`
+
     timespec
-    echo -e "${STAMP} ${@} OK" >> ${BOOTLOG}
+    echo -e "${STAMP} ${logmessage} OK" >> ${BOOTLOG}
+    
     return 0
 }
 
 log_success_msg2()
 {
-    echo -n -e "${@}"
-    echo -e "${SET_COL}${BRACKET}[${SUCCESS}  OK  ${BRACKET}]${NORMAL}"
+    echo -n -e "${BMPREFIX}${@}"
+    echo -e "${CURS_ZERO}${SUCCESS_PREFIX}${SET_COL}${BRACKET}[${SUCCESS}  OK  ${BRACKET}]${NORMAL}"
 
     echo " OK" >> ${BOOTLOG}
+    
     return 0
 }
 
@@ -583,20 +601,25 @@
 ################################################################################
 log_failure_msg()
 {
-    echo -n -e "${@}"
-    echo -e "${SET_COL}${BRACKET}[${FAILURE} FAIL ${BRACKET}]${NORMAL}"
+    echo -n -e "${BMPREFIX}${@}"
+    echo -e "${CURS_ZERO}${FAILURE_PREFIX}${SET_COL}${BRACKET}[${FAILURE} FAIL ${BRACKET}]${NORMAL}"
 
+    # Strip non-printable characters from log file
+
     timespec
-    echo -e "${STAMP} ${@} FAIL" >> ${BOOTLOG}
+    local logmessage=`echo "${@}" | sed 's/\\\033[^a-zA-Z]*.//g'`
+    echo -e "${STAMP} ${logmessage} FAIL" >> ${BOOTLOG}
+    
     return 0
 }
 
 log_failure_msg2()
 {
-    echo -n -e "${@}"
-    echo -e "${SET_COL}${BRACKET}[${FAILURE} FAIL ${BRACKET}]${NORMAL}"
+    echo -n -e "${BMPREFIX}${@}"
+    echo -e "${CURS_ZERO}${FAILURE_PREFIX}${SET_COL}${BRACKET}[${FAILURE} FAIL ${BRACKET}]${NORMAL}"
 
     echo "FAIL" >> ${BOOTLOG}
+    
     return 0
 }
 
@@ -611,11 +634,14 @@
 ################################################################################
 log_warning_msg()
 {
-    echo -n -e "${@}"
-    echo -e "${SET_COL}${BRACKET}[${WARNING} WARN ${BRACKET}]${NORMAL}"
+    echo -n -e "${BMPREFIX}${@}"
+    echo -e "${CURS_ZERO}${WARNING_PREFIX}${SET_COL}${BRACKET}[${WARNING} WARN ${BRACKET}]${NORMAL}"
 
+    # Strip non-printable characters from log file
+    local logmessage=`echo "${@}" | sed 's/\\\033[^a-zA-Z]*.//g'`
     timespec
-    echo -e "${STAMP} ${@} WARN" >> ${BOOTLOG}
+    echo -e "${STAMP} ${logmessage} WARN" >> ${BOOTLOG}
+    
     return 0
 }
 
@@ -630,10 +656,13 @@
 ################################################################################
 log_info_msg()
 {
-    echo -n -e "${@}"
+    echo -n -e "${BMPREFIX}${@}"
 
+    # Strip non-printable characters from log file
+    local logmessage=`echo "${@}" | sed 's/\\\033[^a-zA-Z]*.//g'`
     timespec
-    echo -n -e "${STAMP} ${@}" >> ${BOOTLOG}
+    echo -n -e "${STAMP} ${logmessage}" >> ${BOOTLOG}
+    
     return 0
 }
 
@@ -641,7 +670,10 @@
 {
     echo -n -e "${@}"
 
-    echo -n -e "${@}" >> ${BOOTLOG}
+    # Strip non-printable characters from log file
+    local logmessage=`echo "${@}" | sed 's/\\\033[^a-zA-Z]*.//g'`
+    echo -n -e "${logmessage}" >> ${BOOTLOG}
+    
     return 0
 }
 

Modified: trunk/lfs/bootscripts/lfs/sbin/ifup
===================================================================
--- trunk/lfs/bootscripts/lfs/sbin/ifup	2011-12-01 19:48:49 UTC (rev 1470)
+++ trunk/lfs/bootscripts/lfs/sbin/ifup	2011-12-02 00:06:14 UTC (rev 1471)
@@ -55,7 +55,7 @@
 
 . /lib/lsb/init-functions
 
-log_info_msg "Bringing up the ${1} interface... "
+log_info_msg "Bringing up the ${1} interface: "
 
 if [ ! -r "${file}" ]; then
    log_warning_msg "\n${file} is missing or cannot be accessed." 

Modified: trunk/lfs/bootscripts/lfs/sysconfig/rc.site
===================================================================
--- trunk/lfs/bootscripts/lfs/sysconfig/rc.site	2011-12-01 19:48:49 UTC (rev 1470)
+++ trunk/lfs/bootscripts/lfs/sysconfig/rc.site	2011-12-02 00:06:14 UTC (rev 1471)
@@ -34,15 +34,15 @@
 
 # Interactive startup
 #IPROMPT="yes" # Whether to display the interactive boot promp
-itime="3"    # The ammount of time (in seconds) to display the prompt
+#itime="3"    # The ammount of time (in seconds) to display the prompt
 
 # The total length of the distro welcome string, without escape codes
-wlen=$(echo "Welcome to ${DISTRO}" | wc -c )
-welcome_message="Welcome to ${INFO}${DISTRO}${NORMAL}"
+#wlen=$(echo "Welcome to ${DISTRO}" | wc -c )
+#welcome_message="Welcome to ${INFO}${DISTRO}${NORMAL}"
 
 # The total length of the interactive string, without escape codes
-ilen=$(echo "Press 'I' to enter interactive startup" | wc -c )
-i_message="Press '${FAILURE}I${NORMAL}' to enter interactive startup"
+#ilen=$(echo "Press 'I' to enter interactive startup" | wc -c )
+#i_message="Press '${FAILURE}I${NORMAL}' to enter interactive startup"
 
 # Set scripts to skip the file system check on reboot
 #FASTBOOT=yes

Modified: trunk/lfs/chapter01/changelog.xml
===================================================================
--- trunk/lfs/chapter01/changelog.xml	2011-12-01 19:48:49 UTC (rev 1470)
+++ trunk/lfs/chapter01/changelog.xml	2011-12-02 00:06:14 UTC (rev 1471)
@@ -38,6 +38,50 @@
 
 -->
     <listitem>
+      <para>01-12-2011</para>
+      <itemizedlist>
+        <listitem>
+          <para>[matthew] - Ajout des derniers correctifs d'amont de Bash. 
+          Corrige <ulink url="&lfs-ticket-root;2968">#2968</ulink>.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
+    <listitem>
+      <para>28-11-2011</para>
+      <itemizedlist>
+        <listitem>
+          <para>[matthew] - Passage à E2fsprogs-1.42. Corrige
+          <ulink url="&lfs-ticket-root;2973">#2973</ulink>.</para>
+        </listitem>
+        <listitem>
+          <para>[matthew] - Passage à Linux-3.1.4. Corrige
+          <ulink url="&lfs-ticket-root;2970">#2970</ulink>.</para>
+        </listitem>
+        <listitem>
+          <para>[matthew] - Passage à IPRoute2-3.1.0. Corrige
+          <ulink url="&lfs-ticket-root;2969">#2969</ulink>.</para>
+        </listitem>
+        <listitem>
+          <para>[dj] - Passage à lfs-bootscripts-20111128.</para>
+        </listitem>
+        <listitem>
+          <para>[ken] - Correction d'un bogue de sauvegarde de l'heure du jour
+          dans la suite de tests de coreutils.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
+    <listitem>
+      <para>26-11-2011</para>
+      <itemizedlist>
+        <listitem>
+          <para>[bdubbs] - Nettoyage du script console.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
+    <listitem>
       <para>25-11-2011</para>
       <itemizedlist>
         <listitem>

Modified: trunk/lfs/chapter01/whatsnew.xml
===================================================================
--- trunk/lfs/chapter01/whatsnew.xml	2011-12-01 19:48:49 UTC (rev 1470)
+++ trunk/lfs/chapter01/whatsnew.xml	2011-12-02 00:06:14 UTC (rev 1471)
@@ -13,13 +13,6 @@
   <para>Vous trouverez ci-dessous la liste des mises à jour de paquets
   opérées depuis la version précédente du livre.</para>
 
-  <note><para>Une modification assez importante a été effectuée dans cette
-  version du livre, consistant à ajouter un nouveau /run au premier niveau
-  des répertoires. On monte dans ce répertoire un tmpfs et il est utilisé par 
-  des programmes comme udev pour stocker des informations au moment de l'exécution.
-  Les répertoires /var/run et /var/lock sont également liés à ce répertoire.  
-  Les scripts de démarrage ont été mis à jour pour s'adapter à ce changement.</para></note>
-
   <!--
     Every package in the book is listed in the "Upgraded to:" section.
     Comment/uncomment as needed. DO NOT delete any of these lines unless that
@@ -63,9 +56,9 @@
     <!-- <listitem>
       <para>Diffutils &diffutils-version;</para>
     </listitem>-->
-    <!--<listitem>
+    <listitem>
       <para>E2fsprogs &e2fsprogs-version;</para>
-    </listitem>-->
+    </listitem>
     <!--<listitem>
       <para>Expect &expect-version;</para>
     </listitem>-->
@@ -114,9 +107,9 @@
     <!--<listitem>
       <para>Inetutils &inetutils-version;</para>
     </listitem>-->
-    <!-- <listitem>
+    <listitem>
       <para>IPRoute2 &iproute2-version;</para>
-    </listitem>-->
+    </listitem>
     <!--<listitem>
       <para>Kbd &kbd-version;</para>
     </listitem>-->
@@ -233,6 +226,10 @@
     <title>Ajoutés :</title>
 
     <listitem>
+      <para>&bash-fixes-patch;</para>
+    </listitem>
+
+    <listitem>
       <para>&perl-security-patch;</para>
     </listitem>
 
@@ -242,6 +239,10 @@
     <title>Supprimés :</title>
 
     <listitem>
+      <para>bash-4.2-fixes-3.patch</para>
+    </listitem>
+
+    <listitem>
       <para>gcc-4.6.1-locale-1.patch</para>
     </listitem>
 

Modified: trunk/lfs/chapter03/patches.xml
===================================================================
--- trunk/lfs/chapter03/patches.xml	2011-12-01 19:48:49 UTC (rev 1470)
+++ trunk/lfs/chapter03/patches.xml	2011-12-02 00:06:14 UTC (rev 1471)
@@ -36,6 +36,14 @@
     </varlistentry>
 
     <varlistentry>
+      <term>Coreutils correction suite de tests - <token>&coreutils-tests-patch-size;</token></term>
+      <listitem>
+        <para>Téléchargement : <ulink url="&patches-root;&coreutils-tests-patch;"/></para>
+        <para>Somme de contrôle MD5 : <literal>&coreutils-tests-patch-md5;</literal></para>
+      </listitem>
+    </varlistentry>
+
+    <varlistentry>
       <term>Coreutils Correctif pour l'internationalisation - <token>&coreutils-i18n-patch-size;</token>:</term>
       <listitem>
         <para>Téléchargement : <ulink url="&patches-root;&coreutils-i18n-patch;"/></para>

Modified: trunk/lfs/chapter06/coreutils.xml
===================================================================
--- trunk/lfs/chapter06/coreutils.xml	2011-12-01 19:48:49 UTC (rev 1470)
+++ trunk/lfs/chapter06/coreutils.xml	2011-12-02 00:06:14 UTC (rev 1471)
@@ -63,7 +63,11 @@
       Lorsque vous signalez aux mainteneurs de Coreutils de nouveaux bogues,
       merci de vérifier d'abord qu'ils sont reproduisibles sans ce correctif.</para>
     </note>
+ 
+    <para>Le correctif suivant corrige un bogue dans la suite de tests :</para>
 
+<screen><userinput remap="pre">patch -Np1 -i ../&coreutils-tests-patch;</userinput></screen>
+
     <para>Maintenant, préparez la compilation de Coreutils :</para>
 
 <screen><userinput remap="configure">./configure --prefix=/usr \

Modified: trunk/lfs/general.ent
===================================================================
--- trunk/lfs/general.ent	2011-12-01 19:48:49 UTC (rev 1470)
+++ trunk/lfs/general.ent	2011-12-02 00:06:14 UTC (rev 1471)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
 
-<!ENTITY version "SVN-20111125">
-<!ENTITY releasedate "25 novembre 2011">
+<!ENTITY version "SVN-20111201">
+<!ENTITY releasedate "1 décembre 2011">
 <!ENTITY copyrightdate "1999–2011">
 <!ENTITY milestone "7.1">
 <!ENTITY generic-version "development"> <!-- Use "development", "testing", or "x.y[-pre{x}]" -->

Modified: trunk/lfs/packages.ent
===================================================================
--- trunk/lfs/packages.ent	2011-12-01 19:48:49 UTC (rev 1470)
+++ trunk/lfs/packages.ent	2011-12-02 00:06:14 UTC (rev 1471)
@@ -106,10 +106,10 @@
 <!-- NOTE: When updating e2fsprogs, remember to check the list
      of acceptable features that can be shown by debugfs in
      chapter02/creatingfilesystem.xml -->
-<!ENTITY e2fsprogs-version "1.41.14">
-<!ENTITY e2fsprogs-size "4,406 Kio">
+<!ENTITY e2fsprogs-version "1.42">
+<!ENTITY e2fsprogs-size "5,576 Kio">
 <!ENTITY e2fsprogs-url "&sourceforge;e2fsprogs/e2fsprogs-&e2fsprogs-version;.tar.gz">
-<!ENTITY e2fsprogs-md5 "05f70470aea2ef7efbb0845b2b116720">
+<!ENTITY e2fsprogs-md5 "a3c4ffd7352310ab5e9412965d575610">
 <!ENTITY e2fsprogs-home "http://e2fsprogs.sourceforge.net/">
 <!--
 <!ENTITY e2fsprogs-ch5-du "38 Mio">
@@ -272,11 +272,11 @@
 <!ENTITY inetutils-ch6-du "17 Mio">
 <!ENTITY inetutils-ch6-sbu "0.4 SBU">
 
-<!ENTITY iproute2-version "2.6.39">
-<!ENTITY iproute2-size "465 Kio">
-<!ENTITY iproute2-url "http://devresources.linuxfoundation.org/dev/iproute2/download/iproute2-&iproute2-version;.tar.gz">
-<!ENTITY iproute2-md5 "8a3b6bc77c2ecf752284aa4a6fc630a6">
-<!ENTITY iproute2-home "http://www.linuxfoundation.org/collaborate/workgroups/networking/iproute2">
+<!ENTITY iproute2-version "3.1.0">
+<!ENTITY iproute2-size "358 Kio">
+<!ENTITY iproute2-url "&kernel;/linux/utils/net/iproute2/iproute2-&iproute2-version;.tar.xz">
+<!ENTITY iproute2-md5 "810cdc0ddc2409a7af7089588c6c9a68">
+<!ENTITY iproute2-home "&kernel;/linux/utils/net/iproute2/">
 <!ENTITY iproute2-ch6-du "6.6 Mio">
 <!ENTITY iproute2-ch6-sbu "0.1 SBU">
 
@@ -296,7 +296,7 @@
 <!ENTITY less-ch6-du "3.5 Mio">
 <!ENTITY less-ch6-sbu "moins de 0.1 SBU">
 
-<!ENTITY lfs-bootscripts-version "20111114">                 <!-- Scripts depend on this format -->
+<!ENTITY lfs-bootscripts-version "20111128">                 <!-- 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 -->
@@ -322,12 +322,12 @@
 
 <!ENTITY linux-major-version "3">
 <!ENTITY linux-minor-version "1">
-<!ENTITY linux-patch-version "2">
+<!ENTITY linux-patch-version "4">
 <!ENTITY linux-version "&linux-major-version;.&linux-minor-version;.&linux-patch-version;">
 <!--<!ENTITY linux-version "&linux-major-version;.&linux-minor-version;">-->
-<!ENTITY linux-size "75,424 Kio">
-<!ENTITY linux-url "&kernel;linux/kernel/v&linux-major-version;.x/linux-&linux-version;.tar.bz2">
-<!ENTITY linux-md5 "0c380e8891a9a53aed99335455b32e04">
+<!ENTITY linux-size "62,705 Kio">
+<!ENTITY linux-url "&kernel;linux/kernel/v&linux-major-version;.x/linux-&linux-version;.tar.xz">
+<!ENTITY linux-md5 "e48e246675a3e790062d4fecf36cd6e3">
 <!ENTITY linux-home "http://www.kernel.org/">
 <!ENTITY linux-ch8-du "540 - 500 Mio">
 <!ENTITY linux-ch8-sbu "1.0 - 5.0 SBU">
@@ -367,7 +367,7 @@
 
 <!ENTITY man-pages-version "3.35">
 <!ENTITY man-pages-size "1,650 Kio">
-<!ENTITY man-pages-url "http://man7.org/linux/man-pages/download/man-pages-&man-pages-version;.tar.gz">
+<!ENTITY man-pages-url "http://man7.org/linux/download/man-pages/man-pages-&man-pages-version;.tar.gz">
 <!ENTITY man-pages-md5 "e41432ee35a49036bbaf8d4598506e9c">
 <!ENTITY man-pages-home "http://man7.org/linux/man-pages/index.html">
 <!ENTITY man-pages-ch6-du "21 Mio">

Modified: trunk/lfs/patches.ent
===================================================================
--- trunk/lfs/patches.ent	2011-12-01 19:48:49 UTC (rev 1470)
+++ trunk/lfs/patches.ent	2011-12-02 00:06:14 UTC (rev 1471)
@@ -2,10 +2,10 @@
 
 <!-- Start of Common Patches -->
 
-<!ENTITY bash-fixes-patch "bash-&bash-version;-fixes-3.patch">
-<!ENTITY bash-fixes-patch-md5 "16ef261d87673ffaa6e838423d1cc4d1">
-<!ENTITY bash-fixes-patch-size "14 Kio">
-
+<!ENTITY bash-fixes-patch "bash-&bash-version;-fixes-4.patch">
+<!ENTITY bash-fixes-patch-md5 "244e3ff74d53792f1db32dea75dc8627">
+<!ENTITY bash-fixes-patch-size "22 Kio">
+ 
 <!ENTITY bzip2-docs-patch "bzip2-&bzip2-version;-install_docs-1.patch">
 <!ENTITY bzip2-docs-patch-md5 "6a5ac7e89b791aae556de0f745916f7f">
 <!ENTITY bzip2-docs-patch-size "1.6 Kio">
@@ -18,6 +18,10 @@
 <!ENTITY coreutils-uname-patch-md5 "500481b75892e5c07e19e9953a690e54">
 <!ENTITY coreutils-uname-patch-size "1.6 Kio">
 
+<!ENTITY coreutils-tests-patch "coreutils-&coreutils-version;-test_fix-1.patch">
+<!ENTITY coreutils-tests-patch-md5 "5979e7898b58cfacf00fbfdc4c0c6c65">
+<!ENTITY coreutils-tests-patch-size "2.7 Kio">
+
 <!ENTITY diffutils-i18n-patch "diffutils-&diffutils-version;-i18n-1.patch">
 <!ENTITY diffutils-i18n-patch-md5 "c8d481223db274a33b121fb8c25af9f7">
 <!ENTITY diffutils-i18n-patch-size "18 Kio">




More information about the lfs-traducfr mailing list