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.
This commit is contained in:
Marek Marczykowski-Górecki 2015-07-10 16:48:36 +02:00
parent c792d42b22
commit f7ab7b217c
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -31,6 +31,8 @@ install boot/memtest* ${BOOTDIR}/memtest
mkdir ${EXTRAKERNELS} mkdir ${EXTRAKERNELS}
# bypass "chroot" enforced by Lorax parser # bypass "chroot" enforced by Lorax parser
install ../../../../yum/qubes-dom0/rpm/kernel-[0-9]*rpm ${EXTRAKERNELS} 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 ## install kernels
mkdir ${KERNELDIR} mkdir ${KERNELDIR}