Pārlūkot izejas kodu

Update to bc-3.2.6.
Update to glibc-2.33.
Minor change to mountfs boot script.



git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@12109 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

Bruce Dubbs 3 gadi atpakaļ
vecāks
revīzija
305ab2a4fa

+ 3 - 0
bootscripts/ChangeLog

@@ -1,3 +1,6 @@
+2021-02-01 Bruce Dubbs <bdubbs@linuxfromscratch.org>
+   * Tweak mountfs to properly exit when an error is found.
+
 2021-01-13 Xi Ruoyao <xry111@mengyan1223.wang>
 2021-01-13 Xi Ruoyao <xry111@mengyan1223.wang>
    * Use /run instead of deprecated /var/run
    * Use /run instead of deprecated /var/run
 
 

+ 2 - 1
bootscripts/lfs/init.d/mountfs

@@ -46,7 +46,8 @@ case "${1}" in
       # their option list.  _netdev denotes a network filesystem.
       # their option list.  _netdev denotes a network filesystem.
 
 
       log_info_msg "Mounting remaining file systems..."
       log_info_msg "Mounting remaining file systems..."
-      mount --all --test-opts no_netdev >/dev/null
+      failed=0
+      mount --all --test-opts no_netdev >/dev/null || failed=1
       evaluate_retval
       evaluate_retval
       exit $failed
       exit $failed
       ;;
       ;;

+ 18 - 0
chapter01/changelog.xml

@@ -42,6 +42,24 @@
     <listitem revision="sysv"> or <listitem revision="systemd"> as
     <listitem revision="sysv"> or <listitem revision="systemd"> as
     appropriate for the entry or if needed the entire day's listitem.
     appropriate for the entry or if needed the entire day's listitem.
     -->
     -->
+    <listitem>
+      <itemizedlist>
+      <para>2021-02-02</para>
+        <listitem>
+          <para>[bdubbs] - Update to bc-3.2.6. Fixes
+          <ulink url="&lfs-ticket-root;4800">#4800</ulink>.</para>
+        </listitem>
+        <listitem>
+          <para>[bdubbs] - Update to glibc-2.33. Fixes
+          <ulink url="&lfs-ticket-root;4799">#4799</ulink>.</para>
+        </listitem>
+        <listitem>
+          <para>[bdubbs] - Minor change to mountfs boot script. Fixes
+          <ulink url="&lfs-ticket-root;4798">#4798</ulink>.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
     <listitem>
     <listitem>
       <itemizedlist>
       <itemizedlist>
       <para>2021-02-01</para>
       <para>2021-02-01</para>

+ 2 - 2
chapter01/whatsnew.xml

@@ -105,9 +105,9 @@
     <!--<listitem>
     <!--<listitem>
       <para>Gettext-&gettext-version;</para>
       <para>Gettext-&gettext-version;</para>
     </listitem>-->
     </listitem>-->
-    <!--<listitem>
+    <listitem>
       <para>Glibc-&glibc-version;</para>
       <para>Glibc-&glibc-version;</para>
-    </listitem>-->
+    </listitem>
     <listitem>
     <listitem>
       <para>GMP-&gmp-version;</para>
       <para>GMP-&gmp-version;</para>
     </listitem>
     </listitem>

+ 1 - 1
chapter06/file.xml

@@ -45,7 +45,7 @@
 
 
     <para>Prepare File for compilation:</para>
     <para>Prepare File for compilation:</para>
 
 
-<screen><userinput remap="configure">./configure --prefix=/usr --host=$LFS_TGT</userinput></screen>
+<screen><userinput remap="configure">./configure --prefix=/usr --host=$LFS_TGT --build=$(./config.guess)</userinput></screen>
 
 
 <!-- devs: if using - -build here, the build system wants to compile
 <!-- devs: if using - -build here, the build system wants to compile
      the signature file with "file" on the build system, but stops if it is not
      the signature file with "file" on the build system, but stops if it is not

+ 0 - 4
chapter08/bc.xml

@@ -41,10 +41,6 @@
   <sect2 role="installation">
   <sect2 role="installation">
     <title>Installation of Bc</title>
     <title>Installation of Bc</title>
 
 
-    <para>First, fix an error in the configure script::</para>
-
-<screen><userinput remap="pre">sed -i '612d' configure.sh</userinput></screen>
-
     <para>Prepare Bc for compilation:</para>
     <para>Prepare Bc for compilation:</para>
 
 
 <screen><userinput remap="configure">PREFIX=/usr CC=gcc ./configure.sh -G -O3</userinput></screen>
 <screen><userinput remap="configure">PREFIX=/usr CC=gcc ./configure.sh -G -O3</userinput></screen>

+ 2 - 8
chapter08/glibc.xml

@@ -152,18 +152,12 @@ esac</userinput></screen>
         <para><emphasis>misc/tst-ttyname</emphasis> 
         <para><emphasis>misc/tst-ttyname</emphasis> 
         is known to fail in the LFS chroot environment.</para>
         is known to fail in the LFS chroot environment.</para>
       </listitem>
       </listitem>
-<!--
-      <listitem>
-        <para><emphasis>inet/tst-idna_name_classify</emphasis> 
-        is known to fail in the LFS chroot environment.</para>
-      </listitem>
 
 
       <listitem>
       <listitem>
-        <para><emphasis>posix/tst-getaddrinfo4</emphasis> and
-        <emphasis>posix/tst-getaddrinfo5</emphasis>
+        <para><emphasis>elf/tst-cpu-features-cpuinfo</emphasis>
         may fail on some architectures.</para>
         may fail on some architectures.</para>
       </listitem>
       </listitem>
--->
+
       <listitem>
       <listitem>
         <para>The <emphasis>nss/tst-nss-files-hosts-multi</emphasis>
         <para>The <emphasis>nss/tst-nss-files-hosts-multi</emphasis>
         test may fail for reasons that have not been determined.</para>
         test may fail for reasons that have not been determined.</para>

+ 3 - 3
general.ent

@@ -1,13 +1,13 @@
-<!ENTITY version         "SVN-20210201">
+<!ENTITY version         "SVN-20210202">
 <!ENTITY short-version   "svn">  <!-- Used below in &blfs-book; 
 <!ENTITY short-version   "svn">  <!-- Used below in &blfs-book; 
                                       Change to x.y for release but not -rc releases -->
                                       Change to x.y for release but not -rc releases -->
 <!ENTITY generic-version "development"> <!-- Use "development"  or "x.y[-pre{x}]" -->
 <!ENTITY generic-version "development"> <!-- Use "development"  or "x.y[-pre{x}]" -->
 
 
-<!ENTITY versiond        "20210201-systemd">
+<!ENTITY versiond        "20210102-systemd">
 <!ENTITY short-versiond  "systemd">
 <!ENTITY short-versiond  "systemd">
 <!ENTITY generic-versiond "systemd"> 
 <!ENTITY generic-versiond "systemd"> 
 
 
-<!ENTITY releasedate     "February 1st, 2021">
+<!ENTITY releasedate     "February 2nd, 2021">
 
 
 <!ENTITY copyrightdate   "1999-2021"><!-- jhalfs needs a literal dash, not &ndash; -->
 <!ENTITY copyrightdate   "1999-2021"><!-- jhalfs needs a literal dash, not &ndash; -->
 
 

+ 7 - 7
packages.ent

@@ -57,10 +57,10 @@
 <!ENTITY bash-fin-du "48 MB">
 <!ENTITY bash-fin-du "48 MB">
 <!ENTITY bash-fin-sbu "2.4 SBU">
 <!ENTITY bash-fin-sbu "2.4 SBU">
 
 
-<!ENTITY bc-version "3.2.5">
-<!ENTITY bc-size "229 KB">
+<!ENTITY bc-version "3.2.6">
+<!ENTITY bc-size "230 KB">
 <!ENTITY bc-url "https://github.com/gavinhoward/bc/releases/download/&bc-version;/bc-&bc-version;.tar.xz">
 <!ENTITY bc-url "https://github.com/gavinhoward/bc/releases/download/&bc-version;/bc-&bc-version;.tar.xz">
-<!ENTITY bc-md5 "44cd2eb1ad793b6d95ea5fc7b9293cd4">
+<!ENTITY bc-md5 "f2c3da63d24c8c541413866b13ec1e3b">
 <!ENTITY bc-home "https://git.yzena.com/gavin/bc">
 <!ENTITY bc-home "https://git.yzena.com/gavin/bc">
 <!ENTITY bc-fin-du "6.5 MB">
 <!ENTITY bc-fin-du "6.5 MB">
 <!ENTITY bc-fin-sbu "less than 0.1 SBU">
 <!ENTITY bc-fin-sbu "less than 0.1 SBU">
@@ -256,10 +256,10 @@
 <!ENTITY gettext-fin-du "240 MB">
 <!ENTITY gettext-fin-du "240 MB">
 <!ENTITY gettext-fin-sbu "3.2 SBU">
 <!ENTITY gettext-fin-sbu "3.2 SBU">
 
 
-<!ENTITY glibc-version "2.32">
-<!ENTITY glibc-size "16,353 KB">
+<!ENTITY glibc-version "2.33">
+<!ENTITY glibc-size "16,663 KB">
 <!ENTITY glibc-url "&gnu;glibc/glibc-&glibc-version;.tar.xz">
 <!ENTITY glibc-url "&gnu;glibc/glibc-&glibc-version;.tar.xz">
-<!ENTITY glibc-md5 "720c7992861c57cf97d66a2f36d8d1fa">
+<!ENTITY glibc-md5 "390bbd889c7e8e8a7041564cb6b27cca">
 <!ENTITY glibc-home "&gnu-software;libc/">
 <!ENTITY glibc-home "&gnu-software;libc/">
 <!ENTITY glibc-tmp-du "762 MB">
 <!ENTITY glibc-tmp-du "762 MB">
 <!ENTITY glibc-tmp-sbu "4.6 SBU">
 <!ENTITY glibc-tmp-sbu "4.6 SBU">
@@ -375,7 +375,7 @@
 <!ENTITY less-fin-du "4.1 MB">
 <!ENTITY less-fin-du "4.1 MB">
 <!ENTITY less-fin-sbu "less than 0.1 SBU">
 <!ENTITY less-fin-sbu "less than 0.1 SBU">
 
 
-<!ENTITY lfs-bootscripts-version "20210113">      <!-- Scripts depend on this format -->
+<!ENTITY lfs-bootscripts-version "20210201">      <!-- Scripts depend on this format -->
 <!ENTITY lfs-bootscripts-size "BOOTSCRIPTS-SIZE KB">        
 <!ENTITY lfs-bootscripts-size "BOOTSCRIPTS-SIZE KB">        
 <!ENTITY lfs-bootscripts-url "&downloads-root;lfs-bootscripts-&lfs-bootscripts-version;.tar.xz">
 <!ENTITY lfs-bootscripts-url "&downloads-root;lfs-bootscripts-&lfs-bootscripts-version;.tar.xz">
 <!ENTITY lfs-bootscripts-md5 "BOOTSCRIPTS-MD5SUM">  
 <!ENTITY lfs-bootscripts-md5 "BOOTSCRIPTS-MD5SUM">