$ git clone -n https://gitee.com/bluevalley/grub2.git /var/lib/mock/dist-an23.2-build-440306-73149/root/chroot_tmpdir/scmroot/grub2 Cloning into '/var/lib/mock/dist-an23.2-build-440306-73149/root/chroot_tmpdir/scmroot/grub2'... $ git fetch origin 72794c5ae48257ce683967a8583e5dfa412aaeea:KOJI_FETCH_HEAD From https://gitee.com/bluevalley/grub2 * [new ref] 72794c5ae48257ce683967a8583e5dfa412aaeea -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 72794c5 Use proper memory type for kernel allocation