From 8ed6ac4d7bcca081e191fb7826bd3e8064a05f42 Mon Sep 17 00:00:00 2001 From: Martin Gracik Date: Thu, 17 Mar 2011 11:02:10 +0100 Subject: [PATCH] Create efibootdir if doing efi images --- src/pylorax/__init__.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/pylorax/__init__.py b/src/pylorax/__init__.py index 6d67b668..ffbbdbec 100644 --- a/src/pylorax/__init__.py +++ b/src/pylorax/__init__.py @@ -463,6 +463,11 @@ class Lorax(BaseLoraxClass): # create efi images efiboot = None if grubefi and self.efiarch not in ("IA32",): + # create efibootdir + self.outputtree.efibootdir = joinpaths(self.outputtree.root, + "EFI/BOOT") + os.makedirs(self.outputtree.efibootdir) + kernel = i.kernels[0] initrd = i.initrds[0]