Changeset 3f06eb5
- Timestamp:
- 03/02/2012 04:41:39 PM (12 years ago)
- Branches:
- 7.1
- Children:
- 8476b9e1
- Parents:
- 496c887
- Files:
-
- 13 edited
Legend:
- Unmodified
- Added
- Removed
-
bootscripts/lfs/init.d/mountfs
r496c887 r3f06eb5 65 65 umount -a -d -r -t notmpfs,nosysfs,nodevtmpfs >/dev/null 66 66 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 68 70 ;; 69 71 -
bootscripts/lfs/sbin/ifup
r496c887 r3f06eb5 59 59 60 60 if [ ! -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." 62 62 exit 1 63 63 fi … … 66 66 67 67 if [ "$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]." 69 69 exit 1 70 70 fi … … 73 73 # is not set to yes 74 74 if [ "${IN_BOOT}" = "1" -a "${ONBOOT}" != "yes" ]; then 75 log_info_msg2 "skipped \n"75 log_info_msg2 "skipped" 76 76 exit 0 77 77 fi … … 79 79 for S in ${SERVICE}; do 80 80 if [ ! -x "/lib/services/${S}" ]; then 81 MSG="\n Unable to process ${file}. Either "81 MSG="\n Unable to process ${file}. Either " 82 82 MSG="${MSG}the SERVICE '${S} was not present " 83 83 MSG="${MSG}or cannot be executed." … … 103 103 104 104 else 105 log_ warning_msg "\nInterface ${IFACE} doesn't exist."106 exit 0105 log_failure_msg2 "Interface ${IFACE} doesn't exist." 106 exit 1 107 107 fi 108 108 fi 109 110 # Set MTU if requested. Check if MTU has a "good" value. 111 if 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 117 fi 109 118 110 119 for S in ${SERVICE}; do -
chapter01/changelog.xml
r496c887 r3f06eb5 37 37 38 38 --> 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> 39 100 40 101 <listitem> -
chapter01/whatsnew.xml
r496c887 r3f06eb5 221 221 222 222 <listitem> 223 <para>&glibc-sort-patch;</para> 224 </listitem> 225 226 <listitem> 223 227 <para>Kmod-&kmod-version;</para> 224 228 </listitem> -
chapter02/creatingpartition.xml
r496c887 r3f06eb5 57 57 refer to <filename>cfdisk(8)</filename> or <filename>fdisk(8)</filename> if 58 58 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> 59 68 60 69 <para>Remember the designation of the new partition (e.g., <filename -
chapter03/patches.xml
r496c887 r3f06eb5 84 84 85 85 <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> 86 94 <term>Glibc GCC Build Fix Patch - <token>&glibc-gcc_fix-patch-size;</token>:</term> 87 95 <listitem> -
chapter06/glibc.xml
r496c887 r3f06eb5 103 103 <para>Fix a couple of bugs in Glibc that can cause crashes and core dumps:</para> 104 104 105 <screen><userinput remap="pre">patch -Np1 -i ../&glibc-fixes-patch;</userinput></screen> 105 <screen><userinput remap="pre">patch -Np1 -i ../&glibc-fixes-patch; 106 patch -Np1 -i ../&glibc-sort-patch;</userinput></screen> 106 107 107 108 <para>Fix a bug that prevents Glibc from building with GCC-&gcc-version;:</para> -
chapter06/m4.xml
r496c887 r3f06eb5 49 49 <screen><userinput remap="make">make</userinput></screen> 50 50 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> 52 53 53 <screen><userinput remap="test">make check</userinput></screen> 54 <screen><userinput remap="test">sed -i -e '41s/ENOENT/& || errno == EINVAL/' tests/test-readlink.h 55 make check</userinput></screen> 54 56 55 57 <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"> 3 3 <!ENTITY copyrightdate "1999-2012"><!-- jhalfs needs a literal dash, not – --> 4 4 <!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}]" --> 6 6 7 7 <!ENTITY lfs-root "http://www.linuxfromscratch.org/"> -
packages.ent
r496c887 r3f06eb5 306 306 <!ENTITY less-ch6-sbu "less than 0.1 SBU"> 307 307 308 <!ENTITY lfs-bootscripts-version "201202 15"> <!-- Scripts depend on this format -->308 <!ENTITY lfs-bootscripts-version "20120229"> <!-- Scripts depend on this format --> 309 309 <!ENTITY lfs-bootscripts-size "BOOTSCRIPTS-SIZE KB"> <!-- Updated in Makefile --> 310 310 <!ENTITY lfs-bootscripts-url "&downloads-root;lfs-bootscripts-&lfs-bootscripts-version;.tar.bz2"> … … 536 536 <!ENTITY util-linux-version "2.20.1"> 537 537 <!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"> 539 539 <!ENTITY util-linux-md5 "079b37517fd4e002a2e6e992e8b4e361"> 540 540 <!ENTITY util-linux-home "http://userweb.kernel.org/~kzak/util-linux/"> -
patches.ent
r496c887 r3f06eb5 51 51 <!ENTITY glibc-cpuid-patch-md5 "4f110dc9c8d4754fbda841492ce796b4"> 52 52 <!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"> 53 57 54 58 -
prologue/hostreqs.xml
r496c887 r3f06eb5 147 147 the ability to compile programs, run the following:</para> 148 148 149 <!-- <anchor xreflabel="Version Check Script" id="version-check"/>-->149 <!-- ANY additional lines in the script cause a pdf rendering problem--> 150 150 <screen role="nodump"><userinput>cat > version-check.sh << "EOF" 151 151 <literal>#!/bin/bash 152 export LC_ALL=C153 154 152 # Simple script to list version numbers of critical development tools 155 153 154 export LC_ALL=C 156 155 bash --version | head -n1 | cut -d" " -f2-4 157 156 echo "/bin/sh -> `readlink -f /bin/sh`" 158 157 echo -n "Binutils: "; ld --version | head -n1 | cut -d" " -f3- 159 158 bison --version | head -n1 160 161 159 if [ -e /usr/bin/yacc ]; 162 160 then echo "/usr/bin/yacc -> `readlink -f /usr/bin/yacc`"; … … 168 166 find --version | head -n1 169 167 gawk --version | head -n1 170 171 168 if [ -e /usr/bin/awk ]; 172 169 then echo "/usr/bin/awk -> `readlink -f /usr/bin/awk`"; … … 188 185 189 186 echo 'main(){}' > dummy.c && gcc -o dummy dummy.c 190 if [ -x dummy ]; then echo "gcc compilation OK"; 187 if [ -x dummy ] 188 then echo "gcc compilation OK"; 191 189 else echo "gcc compilation failed"; fi 192 rm -f dummy.c dummy 193 </literal> 190 rm -f dummy.c dummy</literal> 194 191 EOF 195 192 -
prologue/why.xml
r496c887 r3f06eb5 328 328 the build procedure for several LFS packages.</para> 329 329 </listitem> 330 330 <!-- 331 331 <listitem> 332 332 <para>PCRE</para> … … 337 337 by Grep.</para> 338 338 </listitem> 339 339 --> 340 340 <listitem> 341 341 <para>Perl</para>
Note:
See TracChangeset
for help on using the changeset viewer.