$ git clone -n https://gitee.com/src-opencloudos-rpms/libbpf /var/lib/mock/dist-oc8-build-31602-9241/root/chroot_tmpdir/scmroot/libbpf Cloning into '/var/lib/mock/dist-oc8-build-31602-9241/root/chroot_tmpdir/scmroot/libbpf'... $ git reset --hard origin/oc8 HEAD is now at b09ea0d import libbpf-0.5.0-1.oc8