Create efibootdir if doing efi images

This commit is contained in:
Martin Gracik 2011-03-17 11:02:10 +01:00
parent 1b5100b5ca
commit 76ba5755fc

View File

@ -463,6 +463,11 @@ class Lorax(BaseLoraxClass):
# create efi images # create efi images
efiboot = None efiboot = None
if grubefi and self.efiarch not in ("IA32",): 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] kernel = i.kernels[0]
initrd = i.initrds[0] initrd = i.initrds[0]