$ git clone -n https://gitee.com/src-anolis-os/grubby.git /var/lib/mock/dist-an8.9-build-338433-69755/root/chroot_tmpdir/scmroot/grubby Cloning into '/var/lib/mock/dist-an8.9-build-338433-69755/root/chroot_tmpdir/scmroot/grubby'... $ git fetch origin a8:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/grubby * [new branch] a8 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at b10393d Fix gcc10 build issue for better compatibility on both gcc8&gcc10 $ wget -O 8.40-1.tar.gz http://build.openanolis.cn/kojifiles/upstream-source/8.40-1.tar.gz.1005907b275d6d93368d045274537d86 --2023-12-21 13:12:56-- http://build.openanolis.cn/kojifiles/upstream-source/8.40-1.tar.gz.1005907b275d6d93368d045274537d86 Resolving build.openanolis.cn (build.openanolis.cn)... 172.16.0.137 Connecting to build.openanolis.cn (build.openanolis.cn)|172.16.0.137|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 75067 (73K) [application/x-gzip] Saving to: ‘8.40-1.tar.gz’ 0K .......... .......... .......... .......... .......... 68% 136M 0s 50K .......... .......... ... 100% 524M=0s 2023-12-21 13:12:56 (178 MB/s) - ‘8.40-1.tar.gz’ saved [75067/75067]