Author: bdubbs
Date: 2012-04-04 22:08:33 -0600 (Wed, 04 Apr 2012)
New Revision: 9805

Modified:
   trunk/BOOK/bootscripts/lfs/sbin/ifdown
   trunk/BOOK/chapter01/changelog.xml
   trunk/BOOK/chapter06/gcc.xml
   trunk/BOOK/general.ent
Log:
Change the location for the python gdb module
generated by gcc to the correct location.

Fix a logic error in the ifdown script.


Modified: trunk/BOOK/bootscripts/lfs/sbin/ifdown
===================================================================
--- trunk/BOOK/bootscripts/lfs/sbin/ifdown      2012-04-03 21:41:16 UTC (rev 
9804)
+++ trunk/BOOK/bootscripts/lfs/sbin/ifdown      2012-04-05 04:08:33 UTC (rev 
9805)
@@ -93,7 +93,8 @@
 
 if [ -n "${link_status}" ]; then
    if [ "$(echo "${link_status}" | grep UP)" != "" ]; then
-      if [ "$(ip addr show ${IFACE} | grep 'inet ')" != ""  ]; then
+      # Set the interface down only if all IP addresses have been removed.
+      if [ "$(ip addr show ${IFACE} | grep 'inet ')" == ""  ]; then
          log_info_msg "Bringing down the ${IFACE} interface..."
          ip link set ${IFACE} down
          evaluate_retval

Modified: trunk/BOOK/chapter01/changelog.xml
===================================================================
--- trunk/BOOK/chapter01/changelog.xml  2012-04-03 21:41:16 UTC (rev 9804)
+++ trunk/BOOK/chapter01/changelog.xml  2012-04-05 04:08:33 UTC (rev 9805)
@@ -37,6 +37,17 @@
 
 -->
     <listitem>
+      <para>2012-05-05</para>
+      <itemizedlist>
+         <listitem>
+           <para>[bdubbs] - Change the location for the python gdb module 
+           generated by gcc to the correct location. Fixes (again)
+           <ulink url="&lfs-ticket-root;3048">#3048</ulink>.</para>
+         </listitem>
+      </itemizedlist>
+    </listitem>
+
+    <listitem>
       <para>2012-04-03</para>
       <itemizedlist>
          <listitem>

Modified: trunk/BOOK/chapter06/gcc.xml
===================================================================
--- trunk/BOOK/chapter06/gcc.xml        2012-04-03 21:41:16 UTC (rev 9804)
+++ trunk/BOOK/chapter06/gcc.xml        2012-04-05 04:08:33 UTC (rev 9805)
@@ -292,8 +292,8 @@
     <para>Finally, move a misplced file:</para>
 
 <screen><userinput remap="install">case `uname -m` in
-  i?86) 
GDBDIR=/usr/share/gdb/auto-load/usr/lib/gcc/i686-pc-linux-gnu/&gcc-version;/    
 ;;
-  *)    
GDBDIR=/usr/share/gdb/auto-load/usr/lib64/gcc/x86_64-pc-linux-gnu/&gcc-version;/
 ;;
+  i?86) GDBDIR=/usr/share/gdb/auto-load/usr/lib/     ;;
+  *)    GDBDIR=/usr/share/gdb/auto-load/usr/lib64/ ;;
 esac
 
 mkdir -pv $GDBDIR

Modified: trunk/BOOK/general.ent
===================================================================
--- trunk/BOOK/general.ent      2012-04-03 21:41:16 UTC (rev 9804)
+++ trunk/BOOK/general.ent      2012-04-05 04:08:33 UTC (rev 9805)
@@ -1,5 +1,5 @@
-<!ENTITY version "SVN-20120403">
-<!ENTITY releasedate "Apr 03, 2012">
+<!ENTITY version "SVN-20120405">
+<!ENTITY releasedate "Apr 05, 2012">
 <!ENTITY copyrightdate "1999-2012"><!-- jhalfs needs a literal dash, not 
&ndash; -->
 <!ENTITY milestone "7.2">
 <!ENTITY generic-version "development"> <!-- Use "development", "testing", or 
"x.y[-pre{x}]" -->

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to