forked from mirrors/nixpkgs
nixos: iso-image: use label "EFIBOOT" for efi.img
This commit is contained in:
parent
f0fd1c9bcf
commit
58112832a7
|
@ -73,6 +73,7 @@ let
|
|||
#Let's hope 15M is enough
|
||||
dd bs=2048 count=7680 if=/dev/zero of="$out"
|
||||
${pkgs.dosfstools}/sbin/mkfs.vfat "$out"
|
||||
mlabel -i "$out" ::EFIBOOT
|
||||
mcopy -svi "$out" ${efiDir}/* ::
|
||||
mmd -i "$out" boot
|
||||
mcopy -v -i "$out" \
|
||||
|
|
Loading…
Reference in a new issue