Use kernel in outputtree when creating efi images

This commit is contained in:
Martin Gracik 2010-11-23 14:38:06 +01:00
parent 3ce70b9e49
commit 413fc84cb3

View File

@ -400,7 +400,7 @@ class Lorax(BaseLoraxClass):
# create efi images
efiboot = None
if grubefi:
kernel = kernels[0]
kernel = self.outputtree.kernels[0]
# create efiboot image with kernel
logger.info("creating efiboot image with kernel")