Create efibootdir if doing efi images

This commit is contained in:
Martin Gracik 2011-03-17 11:02:10 +01:00
parent f851fc4636
commit 8ed6ac4d7b

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]