Added support for the Module-init-tools-testsuite package.

This commit is contained in:
Manuel Canales Esparcia 2005-11-03 22:43:34 +00:00
parent 8778e1eeea
commit 4e9a3b3d49
2 changed files with 9 additions and 6 deletions

View file

@ -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 -->

10
jhalfs
View file

@ -170,7 +170,8 @@ extract_commands() {
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@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@<!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 @@ 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