Enable to create hybrid ISO without UEFI boot
commitc7f4092ed32541d4b1a700fc8d39678590ab470a
authorTimofei Kushnir <timophey@ecotelecom.ru>
dateSat 28 Nov 2015, 08:55 (11 years ago)
parent8cd52ce
nixos/lib/make-iso9660-image.sh+5−1
@@ -119,7 +119,11 @@ $xorriso -output $out/iso/$isoName
119119
120120if test -n "$usbBootable"; then
121121 echo "Making image hybrid..."
122− isohybrid --uefi $out/iso/$isoName
122+ if test -n "$efiBootable"; then
123+ isohybrid --uefi $out/iso/$isoName
124+ else
125+ isohybrid $out/iso/$isoName
126+ fi
123127fi
124128
125129if test -n "$compressImage"; then