Changeset 3f06eb5


Ignore:
Timestamp:
03/02/2012 04:41:39 PM (12 years ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
7.1
Children:
8476b9e1
Parents:
496c887
Message:

LFS-7.1

git-svn-id: http://svn.linuxfromscratch.org/LFS/tags/7.1@9758 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

Files:
13 edited

Legend:

Unmodified
Added
Removed
  • bootscripts/lfs/init.d/mountfs

    r496c887 r3f06eb5  
    6565      umount -a -d -r -t notmpfs,nosysfs,nodevtmpfs >/dev/null
    6666      evaluate_retval
    67       exit 0
     67
     68      # Make all LVM volume groups unavailable, if appropriate
     69      if [ -x /sbin/vgchange ]; then /sbin/vgchange -an; fi
    6870      ;;
    6971
  • bootscripts/lfs/sbin/ifup

    r496c887 r3f06eb5  
    5959
    6060if [ ! -r "${file}" ]; then
    61    log_warning_msg "\n${file} is missing or cannot be accessed."
     61   log_failure_msg2 "${file} is missing or cannot be accessed."
    6262   exit 1
    6363fi
     
    6666
    6767if [ "$IFACE" = "" ]; then
    68    log_failure_msg "\n${file} does not define an interface [IFACE]."
     68   log_failure_msg2 "${file} does not define an interface [IFACE]."
    6969   exit 1
    7070fi
     
    7373# is not set to yes
    7474if [ "${IN_BOOT}" = "1" -a "${ONBOOT}" != "yes" ]; then
    75    log_info_msg2 "skipped\n"
     75   log_info_msg2 "skipped"
    7676   exit 0
    7777fi
     
    7979for S in ${SERVICE}; do
    8080  if [ ! -x "/lib/services/${S}" ]; then
    81     MSG="\nUnable to process ${file}.  Either "
     81    MSG="\n     Unable to process ${file}.  Either "
    8282    MSG="${MSG}the SERVICE '${S} was not present "
    8383    MSG="${MSG}or cannot be executed."
     
    103103
    104104   else
    105       log_warning_msg "\nInterface ${IFACE} doesn't exist."
    106       exit 0
     105      log_failure_msg2 "Interface ${IFACE} doesn't exist."
     106      exit 1
    107107   fi
    108108fi
     109
     110# Set MTU if requested. Check if MTU has a "good" value.
     111if test -n "${MTU}"; then
     112   if [[ ${MTU} =~ ^[0-9]+$ ]] && [[ $MTU -ge 68 ]] ; then
     113      ip link set dev ${IFACE} mtu $MTU
     114   else
     115      log_info_msg2 "Invalid MTU $MTU"
     116   fi
     117fi
    109118
    110119for S in ${SERVICE}; do
  • chapter01/changelog.xml

    r496c887 r3f06eb5  
    3737
    3838-->
     39
     40    <listitem>
     41      <para>2012-03-02</para>
     42      <itemizedlist>
     43        <listitem>
     44          <para>[bdubbs] - LFS-7.1 released.</para>
     45        </listitem>
     46      </itemizedlist>
     47    </listitem>
     48
     49    <listitem>
     50      <para>2012-02-24</para>
     51      <itemizedlist>
     52        <listitem>
     53          <para>[bdubbs] - Minor changes to ifup boot script.</para>
     54        </listitem>
     55      </itemizedlist>
     56    </listitem>
     57
     58    <listitem>
     59      <para>2012-02-24</para>
     60      <itemizedlist>
     61        <listitem>
     62          <para>[bdubbs] - Add a patch for glibc that fixes a problem
     63          (segfault) for dlopen() in some cases.</para>
     64        </listitem>
     65      </itemizedlist>
     66    </listitem>
     67
     68    <listitem>
     69      <para>2012-02-23</para>
     70      <itemizedlist>
     71        <listitem>
     72          <para>[bdubbs] - Add a note in section about partitioning using
     73          advanced techniques (e.g. RAID and LVM).</para>
     74        </listitem>
     75      </itemizedlist>
     76    </listitem>
     77
     78    <listitem>
     79      <para>2012-02-20</para>
     80      <itemizedlist>
     81        <listitem>
     82          <para>[bdubbs] - LFS-7.1-rc1 released.</para>
     83        </listitem>
     84      </itemizedlist>
     85    </listitem>
     86
     87    <listitem>
     88      <para>2012-02-19</para>
     89      <itemizedlist>
     90        <listitem>
     91          <para>[bdubbs] - Add sed to the m4 package to fix a false test
     92          error.  Fixes <ulink url="&lfs-ticket-root;3022">#3022</ulink>.</para>
     93        </listitem>
     94        <listitem>
     95          <para>[bdubbs] - Update mountfs script to support LVM volumes when
     96          stopping.</para>
     97        </listitem>
     98      </itemizedlist>
     99    </listitem>
    39100
    40101    <listitem>
  • chapter01/whatsnew.xml

    r496c887 r3f06eb5  
    221221
    222222    <listitem>
     223      <para>&glibc-sort-patch;</para>
     224    </listitem>
     225
     226    <listitem>
    223227      <para>Kmod-&kmod-version;</para>
    224228    </listitem>
  • chapter02/creatingpartition.xml

    r496c887 r3f06eb5  
    5757  refer to <filename>cfdisk(8)</filename> or <filename>fdisk(8)</filename> if
    5858  you do not yet know how to use the programs.</para>
     59
     60  <note><para>For experienced users, other partitioning schemes are possible.
     61  The new LFS system can be on a software <ulink
     62  url="&blfs-root;/view/svn/postlfs/raid.html">RAID</ulink> array or an <ulink
     63  url="&blfs-root;/view/svn/postlfs/aboutlvm.html">LVM</ulink> logical volume.
     64  However, some of these options require an <ulink
     65  url="&blfs-root;/view/svn/postlfs/initramfs.html">initramfs</ulink>, which is
     66  an advanced topic.  These partitioning methodologies are not recommended for
     67  first time LFS users.</para></note>
    5968
    6069  <para>Remember the designation of the new partition (e.g., <filename
  • chapter03/patches.xml

    r496c887 r3f06eb5  
    8484
    8585    <varlistentry>
     86      <term>Glibc Bug Sort Relocatable Objects Patch - <token>&glibc-sort-patch-size;</token>:</term>
     87      <listitem>
     88        <para>Download: <ulink url="&patches-root;&glibc-sort-patch;"/></para>
     89        <para>MD5 sum: <literal>&glibc-sort-patch-md5;</literal></para>
     90      </listitem>
     91    </varlistentry>
     92
     93    <varlistentry>
    8694      <term>Glibc GCC Build Fix Patch - <token>&glibc-gcc_fix-patch-size;</token>:</term>
    8795      <listitem>
  • chapter06/glibc.xml

    r496c887 r3f06eb5  
    103103    <para>Fix a couple of bugs in Glibc that can cause crashes and core dumps:</para>
    104104
    105 <screen><userinput remap="pre">patch -Np1 -i ../&glibc-fixes-patch;</userinput></screen>
     105<screen><userinput remap="pre">patch -Np1 -i ../&glibc-fixes-patch;
     106patch -Np1 -i ../&glibc-sort-patch;</userinput></screen>
    106107
    107108    <para>Fix a bug that prevents Glibc from building with GCC-&gcc-version;:</para>
  • chapter06/m4.xml

    r496c887 r3f06eb5  
    4949<screen><userinput remap="make">make</userinput></screen>
    5050
    51     <para>To test the results, issue:</para>
     51    <!--<para>To test the results, issue:</para>-->
     52    <para>To test the results, first fix a test program and then run the test programs:</para>
    5253
    53 <screen><userinput remap="test">make check</userinput></screen>
     54<screen><userinput remap="test">sed -i -e '41s/ENOENT/&amp; || errno == EINVAL/' tests/test-readlink.h
     55make check</userinput></screen>
    5456
    5557    <para>Install the package:</para>
  • general.ent

    r496c887 r3f06eb5  
    1 <!ENTITY version "SVN-20120215">
    2 <!ENTITY releasedate "Feb 15, 2012">
     1<!ENTITY version "7.1">
     2<!ENTITY releasedate "Mar 2, 2012">
    33<!ENTITY copyrightdate "1999-2012"><!-- jhalfs needs a literal dash, not &ndash; -->
    44<!ENTITY milestone "7.1">
    5 <!ENTITY generic-version "development"> <!-- Use "development", "testing", or "x.y[-pre{x}]" -->
     5<!ENTITY generic-version "7.1"> <!-- Use "development", "testing", or "x.y[-pre{x}]" -->
    66
    77<!ENTITY lfs-root "http://www.linuxfromscratch.org/">
  • packages.ent

    r496c887 r3f06eb5  
    306306<!ENTITY less-ch6-sbu "less than 0.1 SBU">
    307307
    308 <!ENTITY lfs-bootscripts-version "20120215">                 <!-- Scripts depend on this format -->
     308<!ENTITY lfs-bootscripts-version "20120229">                 <!-- Scripts depend on this format -->
    309309<!ENTITY lfs-bootscripts-size "BOOTSCRIPTS-SIZE KB">         <!-- Updated in Makefile -->
    310310<!ENTITY lfs-bootscripts-url "&downloads-root;lfs-bootscripts-&lfs-bootscripts-version;.tar.bz2">
     
    536536<!ENTITY util-linux-version "2.20.1">
    537537<!ENTITY util-linux-size "4,506 KB">
    538 <!ENTITY util-linux-url "ftp://ftp.infradead.org/pub/util-linux/v2.20/util-linux-&util-linux-version;.tar.bz2">
     538<!ENTITY util-linux-url "&kernel;linux/utils/util-linux/v2.20/util-linux-&util-linux-version;.tar.bz2">
    539539<!ENTITY util-linux-md5 "079b37517fd4e002a2e6e992e8b4e361">
    540540<!ENTITY util-linux-home "http://userweb.kernel.org/~kzak/util-linux/">
  • patches.ent

    r496c887 r3f06eb5  
    5151<!ENTITY glibc-cpuid-patch-md5 "4f110dc9c8d4754fbda841492ce796b4">
    5252<!ENTITY glibc-cpuid-patch-size "0.8 KB">
     53
     54<!ENTITY glibc-sort-patch "glibc-&glibc-version;-sort-1.patch">
     55<!ENTITY glibc-sort-patch-md5 "740e71017059a4290761db0cc9dd63f3">
     56<!ENTITY glibc-sort-patch-size "8.0 KB">
    5357
    5458
  • prologue/hostreqs.xml

    r496c887 r3f06eb5  
    147147  the ability to compile programs, run the following:</para>
    148148
    149 <!--<anchor xreflabel="Version Check Script" id="version-check"/>-->
     149<!-- ANY additional lines in the script cause a pdf rendering problem-->
    150150<screen role="nodump"><userinput>cat &gt; version-check.sh &lt;&lt; "EOF"
    151151<literal>#!/bin/bash
    152 export LC_ALL=C
    153 
    154152# Simple script to list version numbers of critical development tools
    155153
     154export LC_ALL=C
    156155bash --version | head -n1 | cut -d" " -f2-4
    157156echo "/bin/sh -&gt; `readlink -f /bin/sh`"
    158157echo -n "Binutils: "; ld --version | head -n1 | cut -d" " -f3-
    159158bison --version | head -n1
    160 
    161159if [ -e /usr/bin/yacc ];
    162160  then echo "/usr/bin/yacc -&gt; `readlink -f /usr/bin/yacc`";
     
    168166find --version | head -n1
    169167gawk --version | head -n1
    170 
    171168if [ -e /usr/bin/awk ];
    172169  then echo "/usr/bin/awk -&gt; `readlink -f /usr/bin/awk`";
     
    188185
    189186echo 'main(){}' &gt; dummy.c &amp;&amp; gcc -o dummy dummy.c
    190 if [ -x dummy ]; then echo "gcc compilation OK";
     187if [ -x dummy ]
     188  then echo "gcc compilation OK";
    191189  else echo "gcc compilation failed"; fi
    192 rm -f dummy.c dummy
    193 </literal>
     190rm -f dummy.c dummy</literal>
    194191EOF
    195192
  • prologue/why.xml

    r496c887 r3f06eb5  
    328328        the build procedure for several LFS packages.</para>
    329329      </listitem>
    330 
     330<!--
    331331      <listitem>
    332332        <para>PCRE</para>
     
    337337        by Grep.</para>
    338338      </listitem>
    339 
     339-->
    340340      <listitem>
    341341        <para>Perl</para>
Note: See TracChangeset for help on using the changeset viewer.