3
0
Fork 0
forked from mirrors/nixpkgs

nixos: iso-image: use label "EFIBOOT" for efi.img

This commit is contained in:
Bob van der Linden 2015-02-03 23:23:41 +01:00 committed by Vladimír Čunát
parent f0fd1c9bcf
commit 58112832a7

View file

@ -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" \