summaryrefslogtreecommitdiffstats
path: root/nixos/lib
diff options
context:
space:
mode:
authorTimofei Kushnir <timophey@ecotelecom.ru>2015-11-28 08:55:47 +0300
committerTimofei Kushnir <timophey@ecotelecom.ru>2015-11-28 08:55:47 +0300
commitc7f4092ed32541d4b1a700fc8d39678590ab470a (patch)
treeeb2dfbb5dc7af424bc2da5d5e90eb8ef21ee991d /nixos/lib
parent8cd52ce5f7cc8b949c77dc83b68188af7095de10 (diff)
Enable to create hybrid ISO without UEFI boot
Diffstat (limited to 'nixos/lib')
-rw-r--r--nixos/lib/make-iso9660-image.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/nixos/lib/make-iso9660-image.sh b/nixos/lib/make-iso9660-image.sh
index c9a373794692..31bfe23d3d4a 100644
--- a/nixos/lib/make-iso9660-image.sh
+++ b/nixos/lib/make-iso9660-image.sh
@@ -119,7 +119,11 @@ $xorriso -output $out/iso/$isoName
if test -n "$usbBootable"; then
echo "Making image hybrid..."
- isohybrid --uefi $out/iso/$isoName
+ if test -n "$efiBootable"; then
+ isohybrid --uefi $out/iso/$isoName
+ else
+ isohybrid $out/iso/$isoName
+ fi
fi
if test -n "$compressImage"; then