Create efibootdir if doing efi images
This commit is contained in:
parent
1b5100b5ca
commit
76ba5755fc
@ -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