r2158 - jhalfs/trunk

manuel at linuxfromscratch.org manuel at linuxfromscratch.org
Thu Nov 3 14:43:36 PST 2005


Author: manuel
Date: 2005-11-03 15:43:34 -0700 (Thu, 03 Nov 2005)
New Revision: 2158

Modified:
   jhalfs/trunk/dump-lfs-scripts.xsl
   jhalfs/trunk/jhalfs
Log:
Added support for the Module-init-tools-testsuite package.

Modified: jhalfs/trunk/dump-lfs-scripts.xsl
===================================================================
--- jhalfs/trunk/dump-lfs-scripts.xsl	2005-11-03 18:54:09 UTC (rev 2157)
+++ jhalfs/trunk/dump-lfs-scripts.xsl	2005-11-03 22:43:34 UTC (rev 2158)
@@ -115,9 +115,10 @@
         <xsl:text>make mrproper&#xA;</xsl:text>
         <xsl:text>cp -v ../kernel-config .config&#xA;</xsl:text>
       </xsl:when>
-      <!-- The Coreutils test suite is optional -->
+      <!-- The Coreutils and Module-Init-Tools test suites are optional -->
       <xsl:when test="$testsuite = '0' and
-                ancestor::sect1[@id='ch-system-coreutils'] and
+                (ancestor::sect1[@id='ch-system-coreutils'] or
+                ancestor::sect1[@id='ch-system-module-init-tools']) and
                 (contains(string(),'check') or
                 contains(string(),'dummy'))"/>
       <!-- Fixing toolchain test suites run -->

Modified: jhalfs/trunk/jhalfs
===================================================================
--- jhalfs/trunk/jhalfs	2005-11-03 18:54:09 UTC (rev 2157)
+++ jhalfs/trunk/jhalfs	2005-11-03 22:43:34 UTC (rev 2158)
@@ -170,7 +170,8 @@
   for i in patches packages ; do rm -f $i ; done
   grep "\-version" $BOOK/general.ent | sed -e 's@<!ENTITY @@' -e 's@">@"@' \
   -e '/generic/d' >> packages
-  echo `grep "glibc" packages | sed 's at glibc@glibc-linuxthreads@'` >> packages
+  echo `grep "glibc" packages | sed 's at glibc@&-linuxthreads@'` >> packages
+  echo `grep "module" packages | sed 's at tools@&-testsuite@'` >> packages
   echo `grep "udev-config-file" $BOOK/general.ent | sed -e 's@<!ENTITY @@' -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 @@
 #----------------------------#
   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 at -doc@@' -e 's at -linuxthreads@@' -e 's at -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 at -doc@@';'s at -linuxthreads@@';'s at -libidn@@';'s at -testsuite@@'`
 
   # Find the md5 sum for this package.
   if [ $2 != MD5SUMS ] ; then MD5=`grep "  $2" MD5SUMS` ; fi




More information about the alfs-log mailing list