summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2018-12-05 14:44:23 +0100
committerNikos Mavrogiannopoulos <nmav@redhat.com>2018-12-05 14:46:03 +0100
commit1956996dcff17bcb6b0313984aa8b2bec8bdacd5 (patch)
tree178bb25dd62b199a278e2d1fd68f5e1fffad2903
parentffc6cf65f8d06742d455c558fed7ccb49b351207 (diff)
downloadgnutls-tmp-submodules.tar.gz
bootstrap: only update the required submodules for buildingtmp-submodules
Although we have few submodules they are not all required for building and testing. This patch modified bootstrap.conf not to update all of them, but only the necessary for building and testing. Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
-rw-r--r--bootstrap.conf7
1 files changed, 6 insertions, 1 deletions
diff --git a/bootstrap.conf b/bootstrap.conf
index b816118114..672c4b1ba3 100644
--- a/bootstrap.conf
+++ b/bootstrap.conf
@@ -23,6 +23,8 @@ gnulib_tool_option_extras="--with-tests --avoid=alignof-tests --avoid=lock-tests
use_libtool=1
checkout_only_file=
local_gl_dir=gl/override/
+required_submodules="tests/suite/tls-fuzzer/python-ecdsa tests/suite/tls-fuzzer/tlsfuzzer tests/suite/tls-fuzzer/tlslite-ng"
+
# Reproduce by: gnulib-tool --import --local-dir=gl/override --lib=libgnu --source-base=gl --m4-base=gl/m4 --doc-base=doc --tests-base=gl/tests --aux-dir=build-aux --with-tests --avoid=alignof-tests --avoid=lock-tests --avoid=lseek-tests --lgpl=2 --no-conditional-dependencies --libtool --macro-prefix=gl --no-vc-files alloca byteswap c-ctype extensions func gendocs getline gettext-h gettimeofday hash-pjw-bare havelib intprops lib-msvc-compat lib-symbol-versions maintainer-makefile manywarnings memmem-simple minmax netdb netinet_in pmccabe2html read-file secure_getenv snprintf stdint strcase strndup strtok_r strverscmp sys_socket sys_stat time_r unistd vasprintf vsnprintf warnings
@@ -67,7 +69,10 @@ git_options=
if test -n "$SUBMODULE_NOFETCH"; then
git_options="--no-fetch"
fi
-git submodule update --init $git_options
+
+for mod in $required_submodules;do
+ git submodule update --init $git_options $mod
+done
bootstrap_post_import_hook ()
{