Create efibootdir if doing efi images
This commit is contained in:
parent
f851fc4636
commit
8ed6ac4d7b
@ -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]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user