From 4e9a3b3d49981d0c5e8a7f23fe1443051d3dad69 Mon Sep 17 00:00:00 2001 From: Manuel Canales Esparcia Date: Thu, 3 Nov 2005 22:43:34 +0000 Subject: [PATCH] Added support for the Module-init-tools-testsuite package. --- dump-lfs-scripts.xsl | 5 +++-- jhalfs | 10 ++++++---- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/dump-lfs-scripts.xsl b/dump-lfs-scripts.xsl index 428fcba..221e02e 100644 --- a/dump-lfs-scripts.xsl +++ b/dump-lfs-scripts.xsl @@ -115,9 +115,10 @@ make mrproper cp -v ../kernel-config .config - + diff --git a/jhalfs b/jhalfs index 6b62885..c494a53 100755 --- a/jhalfs +++ b/jhalfs @@ -170,7 +170,8 @@ extract_commands() { for i in patches packages ; do rm -f $i ; done grep "\-version" $BOOK/general.ent | sed -e 's@@"@' \ -e '/generic/d' >> packages - echo `grep "glibc" packages | sed 's@glibc@glibc-linuxthreads@'` >> packages + echo `grep "glibc" packages | sed 's@glibc@&-linuxthreads@'` >> packages + echo `grep "module" packages | sed 's@tools@&-testsuite@'` >> packages echo `grep "udev-config-file" $BOOK/general.ent | sed -e 's@@"@'` >> packages # If we are buildind the UTF-8 branch, the glibc-libidn package is required if grep -q "man-db-version" $BOOK/general.ent ; then @@ -188,9 +189,10 @@ download() { #----------------------------# cd $BUILDDIR/sources - # Hackish fix for the bash-doc and glibc-{linuxthreads,libidn} packages that - # doesn't conform to norms in the URL scheme. - DIR=`echo $1 | sed -e 's@-doc@@' -e 's@-linuxthreads@@' -e 's@-libidn@@'` + # Hackish fix for the bash-doc, glibc-{linuxthreads,libidn} and + # module-init-tools-testsuite packages that doesn't conform to + # norms in the URL scheme. + DIR=`echo $1 | sed 's@-doc@@';'s@-linuxthreads@@';'s@-libidn@@';'s@-testsuite@@'` # Find the md5 sum for this package. if [ $2 != MD5SUMS ] ; then MD5=`grep " $2" MD5SUMS` ; fi