From 34e37e3dc88b33e8928e1afb51cebac50ca81fd5 Mon Sep 17 00:00:00 2001 From: "M. Vefa Bicakci" Date: Sun, 10 Apr 2016 00:00:00 -0400 Subject: [PATCH] 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. --- lorax-templates-qubes/templates/x86.tmpl | 1 + 1 file changed, 1 insertion(+) diff --git a/lorax-templates-qubes/templates/x86.tmpl b/lorax-templates-qubes/templates/x86.tmpl index 0630ef9..ba930cf 100644 --- a/lorax-templates-qubes/templates/x86.tmpl +++ b/lorax-templates-qubes/templates/x86.tmpl @@ -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: