lorax: Only use Qubes OS kernels

This commit avoids the issue where the UEFI boot uses the Fedora 23
kernel as opposed to the Qubes OS kernel.
pull/2/head
M. Vefa Bicakci 9 years ago
parent ae2b86842f
commit 34e37e3dc8
No known key found for this signature in database
GPG Key ID: 1DF87CE3B3A5DFAF

@ -39,6 +39,7 @@ install boot/memtest* ${BOOTDIR}/memtest
mkdir ${KERNELDIR}
<%
sortedkernels = sorted(kernels, key=lambda k: LooseVersion(k['version']))
sortedkernels = [ kernel for kernel in sortedkernels if 'qubes' in kernel.version ]
%>
%for kernel in sortedkernels:

Loading…
Cancel
Save