From 36d2dccc79e0685c1d36e35e353107299cca0574 Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Fri, 15 Jun 2018 16:22:09 +0000 Subject: [PATCH] Updae currency script for elfutils git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11420 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter07/udev.xml | 2 +- chapter07/usage.xml | 5 ++++- lfs-latest.php | 4 ++++ 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/chapter07/udev.xml b/chapter07/udev.xml index d3bbd85fb..82c64f072 100644 --- a/chapter07/udev.xml +++ b/chapter07/udev.xml @@ -120,7 +120,7 @@ ownership at whatever devtmpfs used initially. - + Module Loading Device drivers compiled as modules may have aliases built into them. diff --git a/chapter07/usage.xml b/chapter07/usage.xml index b710e484b..1806dfabd 100644 --- a/chapter07/usage.xml +++ b/chapter07/usage.xml @@ -233,6 +233,9 @@ EOF <device> is an absolute path in /dev or /sys such as /dev/sr0 or /sys/class/rtc. + For information on kernel module loading and udev, see + . + Handling Hotpluggable/Dynamic Devices diff --git a/lfs-latest.php b/lfs-latest.php index 90dc3d1bd..b84b31ac4 100644 --- a/lfs-latest.php +++ b/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.*$/" );