$ git clone -n https://gitee.com/src-anolis-os/kernel.git /var/lib/mock/dist-an7_9-updates-build-264586-63954/root/chroot_tmpdir/scmroot/kernel Cloning into '/var/lib/mock/dist-an7_9-updates-build-264586-63954/root/chroot_tmpdir/scmroot/kernel'... $ git reset --hard 5ccf17a4afe0c1c7fe8a1040c5c821617331ff26 HEAD is now at 5ccf17a kernel:repair dwarves causes kernel compilation to fail