From: strongtz Date: 星期五, 22 Jan 2021 14:09:35 +0000 (+0000) Subject: Fix submodule cloning for Chinese users X-Git-Tag: v0.2~11 X-Git-Url: https://git.renegade-project.org/?a=commitdiff_plain;h=f19c59b5d9ced96a28e7a158191768c3f3c34ccb;p=edk2-sdm845.git Fix submodule cloning for Chinese users --- diff --git a/build.sh b/build.sh index 73c1346..aa9f0fb 100755 --- a/build.sh +++ b/build.sh @@ -62,16 +62,18 @@ if ! [ -f edk2/edksetup.sh ] || ! [ -f ../edk2/edksetup.sh ] then set -e echo "Updating submodules" if "${CHINESE}" - then git submodule set-url edk2 https://gitee.com/mirrors/edk2.git - git submodule set-url edk2-platforms https://gitee.com/mirrors/edk2-platforms.git + then git submodule set-url edk2 https://hub.fastgit.org/tianocore/edk2.git + git submodule set-url edk2-platforms https://hub.fastgit.org/tianocore/edk2-platforms.git git submodule init;git submodule update --depth 1 pushd edk2 - git submodule set-url CryptoPkg/Library/OpensslLib/openssl https://gitee.com/mirrors/openssl.git - git submodule set-url BaseTools/Source/C/BrotliCompress/brotli https://gitee.com/mirrors/brotli.git - git submodule set-url UnitTestFrameworkPkg/Library/CmockaLib/cmocka https://gitee.com/strongtz/cmocka.git - git submodule set-url ArmPkg/Library/ArmSoftFloatLib/berkeley-softfloat-3 https://gitee.com/strongtz/berkeley-softfloat-3 - git submodule set-url MdeModulePkg/Library/BrotliCustomDecompressLib/brotli https://gitee.com/mirrors/brotli.git - git submodule set-url MdeModulePkg/Universal/RegularExpressionDxe/oniguruma https://gitee.com/mirrors/oniguruma.git + + git submodule set-url ArmPkg/Library/ArmSoftFloatLib/berkeley-softfloat-3 https://hub.fastgit.org/ucb-bar/berkeley-softfloat-3.git + git submodule set-url CryptoPkg/Library/OpensslLib/openssl https://hub.fastgit.org/openssl/openssl.git + git submodule set-url BaseTools/Source/C/BrotliCompress/brotli https://hub.fastgit.org/google/brotli.git + git submodule set-url UnitTestFrameworkPkg/Library/CmockaLib/cmocka https://git.cryptomilk.org/projects/cmocka.git + git submodule set-url ArmPkg/Library/ArmSoftFloatLib/berkeley-softfloat-3 https://hub.fastgit.org/ucb-bar/berkeley-softfloat-3.git + git submodule set-url MdeModulePkg/Library/BrotliCustomDecompressLib/brotli https://hub.fastgit.org/google/brotli.git + git submodule set-url MdeModulePkg/Universal/RegularExpressionDxe/oniguruma https://hub.fastgit.org/kkos/oniguruma.git git submodule init;git submodule update git checkout .gitmodules popd