$ git clone -n https://github.com/xcp-ng-rpms/host-installer.git /var/lib/mock/v8.3-ci-8582-26330/root/chroot_tmpdir/scmroot/host-installer Cloning into '/var/lib/mock/v8.3-ci-8582-26330/root/chroot_tmpdir/scmroot/host-installer'... $ git reset --hard 75d9c6d7b9140a4b2a87cc80cde5af96acea9c08 Downloading SOURCES/host-installer-10.10.29.xcpng.1.tar.gz (167 KB) HEAD is now at 75d9c6d Use a "with" condition for depmod.conf removal to be closer to upstream