$ git clone -n https://gitee.com/src-opencloudos-rpms/grub2 /var/lib/mock/dist-oc8-build-26607-7526/root/chroot_tmpdir/scmroot/grub2 Cloning into '/var/lib/mock/dist-oc8-build-26607-7526/root/chroot_tmpdir/scmroot/grub2'... $ git reset --hard 387fa085531972b1ac06dbe30e4e22e48953b8b5 HEAD is now at 387fa08 put patch in grub.patches list