Need a slighty bigger boot image to contain the efi shell

svn path=/nixos/trunk/; revision=33986
This commit is contained in:
Shea Levy 2012-05-05 14:23:51 +00:00
parent 3aae8bfa61
commit c716747cce

View File

@ -133,8 +133,8 @@ let
# The efi boot image
efiImg = pkgs.runCommand "efi-image_eltorito" {}
''
#Let's hope 8M is enough
dd bs=2048 count=4096 if=/dev/zero of="$out"
#Let's hope 10M is enough
dd bs=2048 count=5120 if=/dev/zero of="$out"
${pkgs.dosfstools}/sbin/mkfs.vfat "$out"
${pkgs.mtools}/bin/mmd -i "$out" efi
${pkgs.mtools}/bin/mmd -i "$out" efi/boot