yunsur / phicomm-n1

Armian for Phicomm N1
GNU General Public License v2.0
193 stars 75 forks source link

git仓库有问题 #15

Closed carrot0219 closed 2 years ago

carrot0219 commented 2 years ago

编译出现:fatal: unable to access 'https://github.com//sfjro/aufs5-standalone/': GnuTLS recv error (-54): Error in the pull function.

GITHUB_SOURCE变量有点问题 拼接出来的地址不正确

carrot0219 commented 2 years ago

有点奇怪 我删掉元源最后的/ 直接变成https://github.comsfjro/aufs5-standalone/ 后面加上又好了

gzxief commented 2 years ago

修改在目录lib下的compilation.sh和compilation-prepare.sh两个文件,在$GITHUB_SOURCE这里加上加速镜像,比如改为https://git.metauniverse-cn.com/$GITHUB_SOURCE,这两个文件有好多个,慢慢找,在前头加上https://git.metauniverse-cn.com/就可以了,修改configuration.sh中的第128行,https://source.denx.de/u-boot/u-boot.git改为https://gitee.com/mirrors/u-boot.git,582-584行的网址改为587-589行一样的网址,修改\config\sources下的arm64.conf中的第36行,在https://github.com/ARM-software/arm-trusted-firmware改为https://git.metauniverse-cn.com/https://github.com/ARM-software/arm-trusted-firmware,在\config\sources\families下修改arm64.conf中的第22行,在github.com前面加上https://git.metauniverse-cn.com/