Skip to content

Commit

Permalink
Update efi partition to 124M from 100M
Browse files Browse the repository at this point in the history
ISO creation has been failing because 100M initrd and
the kernel have grown too large for the allocated space.
Eventually we will add this value to yaml config but for
now we will just bump it.
  • Loading branch information
djklimes authored and fenrus75 committed Jan 5, 2022
1 parent bd38c8b commit 1bdd4ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion isoutils/isoutils.go
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ func mkEfiBoot() error {
log.Info(msg)

cmds := [][]string{
{"fallocate", "-l", "100M", tmpPaths[clrCdroot] + "/EFI/efiboot.img"},
{"fallocate", "-l", "124M", tmpPaths[clrCdroot] + "/EFI/efiboot.img"},
{"mkfs.fat", "-n", "CLEAR_EFI", tmpPaths[clrCdroot] + "/EFI/efiboot.img"},
{"mount", "-t", "vfat", "-o", "loop", tmpPaths[clrCdroot] + "/EFI/efiboot.img", tmpPaths[clrEfi]},
{"cp", "-pr", tmpPaths[clrImgEfi] + "/.", tmpPaths[clrEfi]},
Expand Down

0 comments on commit 1bdd4ec

Please sign in to comment.