3
0
Fork 0
forked from mirrors/nixpkgs

nixos/iso: Increase efi image size to 15M

This commit is contained in:
William A. Kennington III 2015-02-07 20:38:21 -08:00
parent c8a4ecd91d
commit 42a6ac5209

View file

@ -58,8 +58,8 @@ let
efiImg = pkgs.runCommand "efi-image_eltorito" { buildInputs = [ pkgs.mtools ]; }
''
#Let's hope 10M is enough
dd bs=2048 count=5120 if=/dev/zero of="$out"
#Let's hope 15M is enough
dd bs=2048 count=7680 if=/dev/zero of="$out"
${pkgs.dosfstools}/sbin/mkfs.vfat "$out"
mcopy -svi "$out" ${efiDir}/* ::
mmd -i "$out" boot