From 413fc84cb3e5966fa48dd0a91c0909a49620fd28 Mon Sep 17 00:00:00 2001 From: Martin Gracik Date: Tue, 23 Nov 2010 14:38:06 +0100 Subject: [PATCH] Use kernel in outputtree when creating efi images --- src/pylorax/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pylorax/__init__.py b/src/pylorax/__init__.py index abe2acbe..c76fcb55 100644 --- a/src/pylorax/__init__.py +++ b/src/pylorax/__init__.py @@ -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")