$ git clone -n https://gitee.com/zhaohang_mskdxl/kpatch.git /var/lib/mock/dist-an8.8-build-282491-64694/root/chroot_tmpdir/scmroot/kpatch Cloning into '/var/lib/mock/dist-an8.8-build-282491-64694/root/chroot_tmpdir/scmroot/kpatch'... $ git fetch origin c507e3119ccb3681f9778a9c6fb4c3292563e070:KOJI_FETCH_HEAD From https://gitee.com/zhaohang_mskdxl/kpatch * [new ref] c507e3119ccb3681f9778a9c6fb4c3292563e070 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at c507e31 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-07-04 23:50:35-- http://build.openanolis.cn/kojifiles/upstream-source/kpatch-dnf-v0.4.tar.gz.21d48a6aa2ff4f3afd934f7fced99018 Resolving build.openanolis.cn (build.openanolis.cn)... 8.131.87.1 Connecting to build.openanolis.cn (build.openanolis.cn)|8.131.87.1|: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% 69.5M=0s 2023-07-04 23:50:35 (69.5 MB/s) - ‘kpatch-dnf-v0.4.tar.gz’ saved [10327/10327] $ wget -O v0.9.7.tar.gz http://build.openanolis.cn/kojifiles/upstream-source/v0.9.7.tar.gz.5e876cf28fc419ee72526a5ae26d59b0 --2023-07-04 23:50:37-- http://build.openanolis.cn/kojifiles/upstream-source/v0.9.7.tar.gz.5e876cf28fc419ee72526a5ae26d59b0 Resolving build.openanolis.cn (build.openanolis.cn)... 8.131.87.1 Connecting to build.openanolis.cn (build.openanolis.cn)|8.131.87.1|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 283662 (277K) [application/x-gzip] Saving to: ‘v0.9.7.tar.gz’ 0K .......... .......... .......... .......... .......... 18% 3.04M 0s 50K .......... .......... .......... .......... .......... 36% 6.41M 0s 100K .......... .......... .......... .......... .......... 54% 48.6M 0s 150K .......... .......... .......... .......... .......... 72% 68.4M 0s 200K .......... .......... .......... .......... .......... 90% 6.52M 0s 250K .......... .......... ....... 100% 135M=0.03s 2023-07-04 23:50:38 (8.18 MB/s) - ‘v0.9.7.tar.gz’ saved [283662/283662]