diff --git a/jhalfs b/jhalfs index e06ed35..2c7db2b 100755 --- a/jhalfs +++ b/jhalfs @@ -221,16 +221,19 @@ extract_commands() { for i in patches packages ; do rm -f $i ; done grep "\-version" $BOOK/general.ent | sed -e 's@@"@' \ -e '/generic/d' >> packages - echo `grep "glibc" packages | sed 's@glibc@&-linuxthreads@'` >> packages # Download the vim-lang package if it must be installed if [ "$VIMLANG" = "1" ] ; then echo `grep "vim" packages | sed 's@vim@&-lang@'` >> packages fi 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 + # This two packages are needed only for 6.1.1 + if [ "$LFSVRS" = "6.1.1" ] ; then + echo `grep "glibc" packages | sed 's@glibc@&-linuxthreads@'` >> 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 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