$ git clone -n https://github.com/xcp-ng-rpms/xapi.git /var/lib/mock/v8.2-staging-3242-2794/root/chroot_tmpdir/scmroot/xapi Cloning into '/var/lib/mock/v8.2-staging-3242-2794/root/chroot_tmpdir/scmroot/xapi'... $ git reset --hard 3ba33b8c60de9f398d0f6e7f24f09c85c5946572 Downloading SOURCES/xen-api-1.249.10.tar.gz (1.6 MB) HEAD is now at 3ba33b8 Actually apply the fix-web-dir patch