$ git clone -n https://gitee.com/ydjohn/kpatch.git /var/lib/mock/dist-an8.7-build-223153-62190/root/chroot_tmpdir/scmroot/kpatch Cloning into '/var/lib/mock/dist-an8.7-build-223153-62190/root/chroot_tmpdir/scmroot/kpatch'... $ git reset --hard 7ccf249aab91a408d64d27971fef44c81af31f64 HEAD is now at 7ccf249 remove confirm prompt when unloading patches $ 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 18:01:34-- 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% 274M=0s 2023-02-24 18:01:34 (274 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 18:01:36-- 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% 204M 0s 50K .......... .......... .......... .......... .......... 39% 240M 0s 100K .......... .......... .......... .......... .......... 59% 217M 0s 150K .......... .......... .......... .......... .......... 79% 188M 0s 200K .......... .......... .......... .......... .......... 99% 337M 0s 250K . 100% 89.8M=0.001s 2023-02-24 18:01:36 (225 MB/s) - ‘v0.9.4.tar.gz’ saved [257885/257885]