diff options
author | Luca Bruno <lucabru@src.gnome.org> | 2014-11-08 13:09:08 +0100 |
---|---|---|
committer | Luca Bruno <lucabru@src.gnome.org> | 2014-11-08 14:33:27 +0100 |
commit | 7885c2ed12a353aa92da2087b2ba1e6adac7c069 (patch) | |
tree | 52e11d4dad0e2b19002fcf84f42db18d44799a9a /nixos/lib/make-iso9660-image.nix | |
parent | e3611709d6ab459be0ed16fe0fdeb7e4c4acc05d (diff) |
Revert "nixos: iso-image: use syslinux bootloader for USB booting support"
This reverts commit 455db168b30d53c903c96be80ef843b79e0744ae.
Diffstat (limited to 'nixos/lib/make-iso9660-image.nix')
-rw-r--r-- | nixos/lib/make-iso9660-image.nix | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/nixos/lib/make-iso9660-image.nix b/nixos/lib/make-iso9660-image.nix index b2409c6006bcc..5ad546e9534d4 100644 --- a/nixos/lib/make-iso9660-image.nix +++ b/nixos/lib/make-iso9660-image.nix @@ -1,4 +1,4 @@ -{ stdenv, perl, pathsFromGraph, xorriso, syslinux +{ stdenv, perl, cdrkit, pathsFromGraph , # The file name of the resulting ISO image. isoName ? "cd.iso" @@ -22,18 +22,12 @@ , # Whether this should be an efi-bootable El-Torito CD. efiBootable ? false -, # Wheter this should be an hybrid CD (bootable from USB as well as CD). - usbBootable ? false - , # The path (in the ISO file system) of the boot image. bootImage ? "" , # The path (in the ISO file system) of the efi boot image. efiBootImage ? "" -, # The path (outside the ISO file system) of the isohybrid-mbr image. - isohybridMbrImage ? "" - , # Whether to compress the resulting ISO image with bzip2. compressImage ? false @@ -44,14 +38,13 @@ assert bootable -> bootImage != ""; assert efiBootable -> efiBootImage != ""; -assert usbBootable -> isohybridMbrImage != ""; stdenv.mkDerivation { name = "iso9660-image"; builder = ./make-iso9660-image.sh; - buildInputs = [perl xorriso syslinux]; + buildInputs = [perl cdrkit]; - inherit isoName bootable bootImage compressImage volumeID pathsFromGraph efiBootImage efiBootable isohybridMbrImage usbBootable; + inherit isoName bootable bootImage compressImage volumeID pathsFromGraph efiBootImage efiBootable; # !!! should use XML. sources = map (x: x.source) contents; |