Need a slighty bigger boot image to contain the efi shell
svn path=/nixos/trunk/; revision=33986
This commit is contained in:
parent
3aae8bfa61
commit
c716747cce
@ -133,8 +133,8 @@ let
|
|||||||
# The efi boot image
|
# The efi boot image
|
||||||
efiImg = pkgs.runCommand "efi-image_eltorito" {}
|
efiImg = pkgs.runCommand "efi-image_eltorito" {}
|
||||||
''
|
''
|
||||||
#Let's hope 8M is enough
|
#Let's hope 10M is enough
|
||||||
dd bs=2048 count=4096 if=/dev/zero of="$out"
|
dd bs=2048 count=5120 if=/dev/zero of="$out"
|
||||||
${pkgs.dosfstools}/sbin/mkfs.vfat "$out"
|
${pkgs.dosfstools}/sbin/mkfs.vfat "$out"
|
||||||
${pkgs.mtools}/bin/mmd -i "$out" efi
|
${pkgs.mtools}/bin/mmd -i "$out" efi
|
||||||
${pkgs.mtools}/bin/mmd -i "$out" efi/boot
|
${pkgs.mtools}/bin/mmd -i "$out" efi/boot
|
||||||
|
Loading…
x
Reference in New Issue
Block a user