$ git clone -n https://github.com/xcp-ng-rpms/kernel-alt.git /var/lib/mock/v8.1-base-2062-1468/root/chroot_tmpdir/scmroot/kernel-alt Cloning into '/var/lib/mock/v8.1-base-2062-1468/root/chroot_tmpdir/scmroot/kernel-alt'... $ git reset --hard a8667b51a5a1c8ceeb5042234bee1b3c53f6f642 Downloading SOURCES/kernel-4.19.19.tar.gz (161 MB) HEAD is now at a8667b5 Version the xcp-python-libs requires and don't update grub during host install