$ git clone -n https://github.com/xcp-ng-rpms/kernel-alt.git /var/lib/mock/v8.1-base-2064-1471/root/chroot_tmpdir/scmroot/kernel-alt Cloning into '/var/lib/mock/v8.1-base-2064-1471/root/chroot_tmpdir/scmroot/kernel-alt'... $ git reset --hard 8310e0babddaba9b7c4d1065531197fa039aae25 Downloading SOURCES/kernel-4.19.19.tar.gz (161 MB) HEAD is now at 8310e0b Fix grub config detection in UEFI mode