Skip to content

Commit

Permalink
Increase boot partition size for ISO images
Browse files Browse the repository at this point in the history
ISO initrd is necessarily much bigger than normal initrd, so make sure
we have enough space for it.
  • Loading branch information
bwarden committed Oct 17, 2024
1 parent 5adb315 commit ffb386f
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 @@ -362,7 +362,7 @@ func mkEfiBoot() error {
log.Info(msg)

cmds := [][]string{
{"fallocate", "-l", "192M", tmpPaths[clrCdroot] + "/EFI/efiboot.img"},
{"fallocate", "-l", "256M", 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 ffb386f

Please sign in to comment.