$ git clone -n https://gitee.com/ydjohn/kpatch.git /var/lib/mock/dist-an8.7-build-223220-62190/root/chroot_tmpdir/scmroot/kpatch Cloning into '/var/lib/mock/dist-an8.7-build-223220-62190/root/chroot_tmpdir/scmroot/kpatch'... $ git reset --hard 9b52b434a48ffd45a33c0df8bb437879447d8d60 HEAD is now at 9b52b43 add pre patch of patch3 in kpatch.spec $ wget -O kpatch-dnf-v0.4.tar.gz http://build.openanolis.cn/kojifiles/upstream-source/kpatch-dnf-v0.4.tar.gz.21d48a6aa2ff4f3afd934f7fced99018 --2023-02-24 22:22:36-- http://build.openanolis.cn/kojifiles/upstream-source/kpatch-dnf-v0.4.tar.gz.21d48a6aa2ff4f3afd934f7fced99018 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: 10327 (10K) [application/x-gzip] Saving to: ‘kpatch-dnf-v0.4.tar.gz’ 0K .......... 100% 295M=0s 2023-02-24 22:22:36 (295 MB/s) - ‘kpatch-dnf-v0.4.tar.gz’ saved [10327/10327] $ wget -O v0.9.4.tar.gz http://build.openanolis.cn/kojifiles/upstream-source/v0.9.4.tar.gz.f38426f46e798bcc8fccdb7ec1c5ae14 --2023-02-24 22:22:38-- http://build.openanolis.cn/kojifiles/upstream-source/v0.9.4.tar.gz.f38426f46e798bcc8fccdb7ec1c5ae14 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: 257885 (252K) [application/x-gzip] Saving to: ‘v0.9.4.tar.gz’ 0K .......... .......... .......... .......... .......... 19% 216M 0s 50K .......... .......... .......... .......... .......... 39% 201M 0s 100K .......... .......... .......... .......... .......... 59% 240M 0s 150K .......... .......... .......... .......... .......... 79% 274M 0s 200K .......... .......... .......... .......... .......... 99% 293M 0s 250K . 100% 91.2M=0.001s 2023-02-24 22:22:38 (237 MB/s) - ‘v0.9.4.tar.gz’ saved [257885/257885]