mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-18 03:34:58 +00:00
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
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user