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