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: