[why] When building software package by build-pkg, the source codes repository contains submodules. By default, the submodules can be downloaded from remote end during building packages.
[how] By using --rewritegitserver param, submodules can be downloaded from Z9/Crystal.
Signed-off-by: Liu Shaofei 370072077@qq.com --- tests/build-pkg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/build-pkg b/tests/build-pkg index 6a083a9b3..439328651 100755 --- a/tests/build-pkg +++ b/tests/build-pkg @@ -93,7 +93,7 @@ create_cgz_name() cgz_path="$PKG_MNT/${pack_to}/${pkgname}" cgz_name="${cgz_path}/${upstream_commit}.cgz"
- pkg_args="-A --check --skippgpcheck" + pkg_args="-A --check --skippgpcheck --rewritegitserver" [ "${os}" == "archlinux" ] && pkg_args="${pkg_args} -s --needed --noconfirm"
[ -n "$git_tag" ] && {