$ git clone -n https://gitee.com/src-anolis-sig/cloud-kernel.git /var/lib/mock/dist-an8-plus-build-73821-38827/root/chroot_tmpdir/scmroot/cloud-kernel Cloning into '/var/lib/mock/dist-an8-plus-build-73821-38827/root/chroot_tmpdir/scmroot/cloud-kernel'... $ git reset --hard origin/an8-4.19 HEAD is now at cbdf045 an8-4.19: kernel release 4.19.91-25.6 $ /bin/sh -c if [ -f download ];then wget $(cat download);fi