The download of module-init-tools-testsuite package is required only if the optional test suites will be run.

This commit is contained in:
Manuel Canales Esparcia 2005-11-05 10:59:23 +00:00
parent 4e9a3b3d49
commit 7429b9ca3b

6
jhalfs
View file

@ -171,8 +171,12 @@ extract_commands() {
grep "\-version" $BOOK/general.ent | sed -e 's@<!ENTITY @@' -e 's@">@"@' \ grep "\-version" $BOOK/general.ent | sed -e 's@<!ENTITY @@' -e 's@">@"@' \
-e '/generic/d' >> packages -e '/generic/d' >> packages
echo `grep "glibc" packages | sed 's@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 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 we are buildind the UTF-8 branch, the glibc-libidn package is required
if grep -q "man-db-version" $BOOK/general.ent ; then if grep -q "man-db-version" $BOOK/general.ent ; then
echo `grep "glibc" packages | sed 's@glibc@glibc-libidn@'` >> packages echo `grep "glibc" packages | sed 's@glibc@glibc-libidn@'` >> packages