Change the location for the python gdb module

generated by gcc to the correct location.

Fix a logic error in the ifdown script.


git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9805 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
Bruce Dubbs 2012-04-05 04:08:33 +00:00
parent b0c8647eb3
commit 3710570619
4 changed files with 17 additions and 5 deletions

View File

@ -93,7 +93,8 @@ link_status=`ip link show ${IFACE} 2>/dev/null`
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

View File

@ -36,6 +36,17 @@
</listitem>
-->
<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>

View File

@ -292,8 +292,8 @@ SEARCH_DIR("/usr/lib");</computeroutput></screen>
<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

View File

@ -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}]" -->