$ git clone -n https://gitee.com/ydjohn/kpatch.git /var/lib/mock/dist-an23-build-223221-62221/root/chroot_tmpdir/scmroot/kpatch Cloning into '/var/lib/mock/dist-an23-build-223221-62221/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:23:09-- http://build.openanolis.cn/kojifiles/upstream-source/kpatch-dnf-v0.4.tar.gz.21d48a6aa2ff4f3afd934f7fced99018 Resolving build.openanolis.cn (build.openanolis.cn)... 8.141.190.226, 8.141.190.224, 8.141.190.227, ... Connecting to build.openanolis.cn (build.openanolis.cn)|8.141.190.226|: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% 144M=0s 2023-02-24 22:23:09 (144 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:23:11-- http://build.openanolis.cn/kojifiles/upstream-source/v0.9.4.tar.gz.f38426f46e798bcc8fccdb7ec1c5ae14 Resolving build.openanolis.cn (build.openanolis.cn)... 8.141.190.224, 8.141.190.225, 8.141.190.228, ... Connecting to build.openanolis.cn (build.openanolis.cn)|8.141.190.224|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 257885 (252K) [application/x-gzip] Saving to: ‘v0.9.4.tar.gz’ 0K .......... .......... .......... .......... .......... 19% 4.71M 0s 50K .......... .......... .......... .......... .......... 39% 5.01M 0s 100K .......... .......... .......... .......... .......... 59% 141M 0s 150K .......... .......... .......... .......... .......... 79% 106M 0s 200K .......... .......... .......... .......... .......... 99% 354M 0s 250K . 100% 3511G=0.02s 2023-02-24 22:23:11 (11.7 MB/s) - ‘v0.9.4.tar.gz’ saved [257885/257885]