summary refs log tree commit diff
path: root/lib/make-iso9660-image.sh
diff options
context:
space:
mode:
authorShea Levy <shea@shealevy.com>2012-03-16 05:37:24 +0000
committerShea Levy <shea@shealevy.com>2012-03-16 05:37:24 +0000
commit8efda48496d1be5d47518f7903b5ada110738beb (patch)
tree9d89a4e9a1656c5734ba579156d1bdcca8878ac9 /lib/make-iso9660-image.sh
parentb89a65e54cf1742f37db6d24f7c8a7dd1e930be7 (diff)
downloadnixpkgs-8efda48496d1be5d47518f7903b5ada110738beb.tar
nixpkgs-8efda48496d1be5d47518f7903b5ada110738beb.tar.gz
nixpkgs-8efda48496d1be5d47518f7903b5ada110738beb.tar.bz2
nixpkgs-8efda48496d1be5d47518f7903b5ada110738beb.tar.lz
nixpkgs-8efda48496d1be5d47518f7903b5ada110738beb.tar.xz
nixpkgs-8efda48496d1be5d47518f7903b5ada110738beb.tar.zst
nixpkgs-8efda48496d1be5d47518f7903b5ada110738beb.zip
Enable building an efi-bootable ISO
svn path=/nixos/trunk/; revision=33140
Diffstat (limited to 'lib/make-iso9660-image.sh')
-rw-r--r--lib/make-iso9660-image.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/make-iso9660-image.sh b/lib/make-iso9660-image.sh
index c6996e8db9a..89b681ed2cd 100644
--- a/lib/make-iso9660-image.sh
+++ b/lib/make-iso9660-image.sh
@@ -34,6 +34,9 @@ if test -n "$bootable"; then
     bootFlags="-b $bootImage -c .boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table"
 fi
 
+if test -n "$efiBootable"; then
+    bootFlags="$bootFlags -eltorito-alt-boot -e $efiBootImage -no-emul-boot"
+fi
 
 touch pathlist