Merged r2158 and r2159 from trunk.

This commit is contained in:
Manuel Canales Esparcia 2005-11-05 11:02:30 +00:00
parent 0b02bb13aa
commit 7ad4ef58e9
2 changed files with 13 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 -->

14
jhalfs
View file

@ -170,8 +170,13 @@ 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 "udev-config-file" $BOOK/general.ent | sed -e 's@<!ENTITY @@' -e 's@">@"@'` >> packages
# Download the module-init-tools-testsuite package only
# if the test suite will be run.
if [ "$TEST" = "1" ] ; then
echo `grep "module" packages | sed 's@tools@&-testsuite@'` >> packages
fi
# If we are buildind the UTF-8 branch, the glibc-libidn package is required
if grep -q "man-db-version" $BOOK/general.ent ; then
echo `grep "glibc" packages | sed 's@glibc@glibc-libidn@'` >> packages
@ -188,9 +193,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