Просмотр исходного кода

Updae currency script for elfutils

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11420 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Bruce Dubbs 7 лет назад
Родитель
Сommit
36d2dccc79
3 измененных файлов с 9 добавлено и 2 удалено
  1. 1 1
      chapter07/udev.xml
  2. 4 1
      chapter07/usage.xml
  3. 4 0
      lfs-latest.php

+ 1 - 1
chapter07/udev.xml

@@ -120,7 +120,7 @@
       ownership at whatever <systemitem
       class="filesystem">devtmpfs</systemitem> used initially.</para> </sect3>
       
-    <sect3>
+    <sect3 id="module-loading">
       <title>Module Loading</title>
 
       <para>Device drivers compiled as modules may have aliases built into them.

+ 4 - 1
chapter07/usage.xml

@@ -233,6 +233,9 @@ EOF</userinput></screen>
       &lt;device&gt; is an absolute path in /dev or /sys such as /dev/sr0 or
       /sys/class/rtc.</para>
 
+      <para>For information on kernel module loading and udev, see 
+      <xref linkend="module-loading"/>.</para>
+<!--
     <sect3>
       <title>Module Loading</title>
 
@@ -265,7 +268,7 @@ EOF</userinput></screen>
       protocols, filesystems and NLS support on demand.</para>
 
     </sect3>
-
+-->
     <sect3>
       <title>Handling Hotpluggable/Dynamic Devices</title>
 

+ 4 - 0
lfs-latest.php

@@ -109,6 +109,7 @@ function get_packages( $package, $dirpath )
 if ( $package == "check"      ) $dirpath = "https://github.com/libcheck/check/releases";
 if ( $package == "e2fsprogs"  ) $dirpath = "http://sourceforge.net/projects/e2fsprogs/files/e2fsprogs";
 if ( $package == "expat"      ) $dirpath = "http://sourceforge.net/projects/expat/files";
+if ( $package == "elfutils"   ) $dirpath = "https://sourceware.org/ftp/elfutils";  
 if ( $package == "expect"     ) $dirpath = "http://sourceforge.net/projects/expect/files";  
 if ( $package == "file"       ) $dirpath = "https://github.com/file/file/releases";
 if ( $package == "flex"       ) $dirpath = "https://github.com/westes/flex/releases";
@@ -242,6 +243,9 @@ if ( $package == "vim"        ) $dirpath = "ftp://ftp.vim.org/pub/vim/unix";
   if ( $package == "expect" )
      return find_max( $lines, "/expect/", "/^.*expect(\d[\d\.]+\d).tar.*$/" );
 
+  if ( $package == "elfutils" )
+     return find_max( $lines, "/^\d/", "/^(\d[\d\.]+\d)\/.*$/" );
+
   if ( $package == "XML-Parser" )
   {
      $max = find_max( $lines, "/$package/", "/^.*$package-([\d\._]*\d).tar.*$/" );