$ git clone -n https://github.com/xcp-ng-rpms/libdrm.git /var/lib/mock/v8.0-base-946-383/root/chroot_tmpdir/scmroot/libdrm Cloning into '/var/lib/mock/v8.0-base-946-383/root/chroot_tmpdir/scmroot/libdrm'... $ git reset --hard b6deeb0711a37e7c73ee2a8f32b07fcef3668d7f Downloading SOURCES/libdrm-2.4.83.tar.gz (515 KB) HEAD is now at b6deeb0 Rebuild with kernel 4.19