The glibc-linuxtrheads and module-init-tools-testsuite packages are required only for 6.1.1

This commit is contained in:
Manuel Canales Esparcia 2005-11-27 10:07:17 +00:00
parent f0eb956918
commit 325ca50c9a

13
jhalfs
View file

@ -221,16 +221,19 @@ 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@&-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@<!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
# 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