diff --git a/jhalfs b/jhalfs index c494a53..98a3ebe 100755 --- a/jhalfs +++ b/jhalfs @@ -171,8 +171,12 @@ extract_commands() { grep "\-version" $BOOK/general.ent | sed -e 's@@"@' \ -e '/generic/d' >> 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 + # 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