$ git clone -n https://gitee.com/gcdota930915/grub2.git /var/lib/mock/dist-an23-build-python3.11-380935-71820/root/chroot_tmpdir/scmroot/grub2 Cloning into '/var/lib/mock/dist-an23-build-python3.11-380935-71820/root/chroot_tmpdir/scmroot/grub2'... $ git reset --hard origin/a23 HEAD is now at 3ae9951 Avoid patch loongarch-specified patches on other arches