Commit e293b77b authored by Luca Giambonini's avatar Luca Giambonini

fix "No space left on device" the efi image is a bit more large

parent 361a5590
......@@ -104,7 +104,7 @@ class IsoBuilder:
with open("log", "w") as log:
os.makedirs(pjoin(self.iso_root, "EFI/chakraiso"))
efi_image = pjoin(self.iso_root, "EFI/chakraiso/efiboot.img")
subprocess.check_call(["truncate", "-s", "31M", efi_image], shell=False, stderr=log)
subprocess.check_call(["truncate", "-s", "32M", efi_image], shell=False, stderr=log)
subprocess.check_call(["mkfs.vfat", "-n", "CHAKRAISO_EFI", efi_image], shell=False, stderr=log)
efi_root = pjoin(self.outputdir, "efi_root")
if not os.path.isdir(efi_root):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment