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.
This commit is contained in:
M. Vefa Bicakci 2016-04-10 00:00:00 -04:00
parent ae2b86842f
commit 34e37e3dc8
No known key found for this signature in database
GPG Key ID: 1DF87CE3B3A5DFAF

View File

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