[HOW TO]-从github拉取optee代码拉不下来怎么办?
生活随笔
收集整理的這篇文章主要介紹了
[HOW TO]-从github拉取optee代码拉不下来怎么办?
小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.
再拉取代碼時(shí),總是有各種各樣的錯(cuò)誤:
buildroot/buildroot.git: fatal: unable to access 'https://github.com/buildroot/buildroot.git/': GnuTLS recv error (-54): Error in the pull function. linaro-swg/linux.git: fatal: unable to access 'https://github.com/linaro-swg/linux.git/': GnuTLS recv error (-54): Error in the pull function. OP-TEE/build.git: fatal: unable to access 'https://github.com/OP-TEE/build.git/': GnuTLS recv error (-54): Error in the pull function.對策:
1、將manifests的https改成git
2、在 sudo vim /etc/hosts中添加:
52.69.186.44 github.com
而這個(gè)IP地址從哪里來的呢?
點(diǎn)擊此處-Ping檢測,從這里找一個(gè)最快的地址即可
然后再去repo sync,幾分鐘就將代碼拉下來了
總結(jié)
以上是生活随笔為你收集整理的[HOW TO]-从github拉取optee代码拉不下来怎么办?的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: [TT]-Trustonic acron
- 下一篇: [How TO]-ubuntu20.10