The download of module-init-tools-testsuite package is required only if the optional test suites will be run.
This commit is contained in:
parent
4e9a3b3d49
commit
7429b9ca3b
1 changed files with 5 additions and 1 deletions
6
jhalfs
6
jhalfs
|
@ -171,8 +171,12 @@ extract_commands() {
|
|||
grep "\-version" $BOOK/general.ent | sed -e 's@<!ENTITY @@' -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@<!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
|
||||
|
|
Reference in a new issue