From f7ab7b217ca3257e759a6b48c8a57e82933633f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Fri, 10 Jul 2015 16:48:36 +0200 Subject: [PATCH] lorax: include kernels downloaded from Fedora repository Do it by manually extracting packages from pungi cache instead of redownloading, because we can't access yum configuration (repositories, gpg keys etc) here, so it would be even more hacky... All this is needed because pungi does not support including multiple versions of a single package. --- lorax-templates-qubes/templates/x86.tmpl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lorax-templates-qubes/templates/x86.tmpl b/lorax-templates-qubes/templates/x86.tmpl index 12f73bd..ed3e898 100644 --- a/lorax-templates-qubes/templates/x86.tmpl +++ b/lorax-templates-qubes/templates/x86.tmpl @@ -31,6 +31,8 @@ install boot/memtest* ${BOOTDIR}/memtest mkdir ${EXTRAKERNELS} # bypass "chroot" enforced by Lorax parser install ../../../../yum/qubes-dom0/rpm/kernel-[0-9]*rpm ${EXTRAKERNELS} +# include kernels downloaded from Fedora repositories +install ../../../../../../../../var/cache/pungi/fedora*/packages/kernel-[0-9]*rpm ${EXTRAKERNELS} ## install kernels mkdir ${KERNELDIR}