summary refs log tree commit diff
path: root/nixos/modules/installer/cd-dvd/installation-cd-base.nix
diff options
context:
space:
mode:
authorShea Levy <shea@shealevy.com>2014-02-03 15:02:31 -0500
committerShea Levy <shea@shealevy.com>2014-02-03 17:05:04 -0500
commitd6ef65cb6ac4b46841c7a6294d25ef12c79376c7 (patch)
tree6df083b4aa390884330fc53e27b774d9ccddfa53 /nixos/modules/installer/cd-dvd/installation-cd-base.nix
parente96bc485dba4cbae35f0dc9215b07b96b5491329 (diff)
downloadnixpkgs-d6ef65cb6ac4b46841c7a6294d25ef12c79376c7.tar
nixpkgs-d6ef65cb6ac4b46841c7a6294d25ef12c79376c7.tar.gz
nixpkgs-d6ef65cb6ac4b46841c7a6294d25ef12c79376c7.tar.bz2
nixpkgs-d6ef65cb6ac4b46841c7a6294d25ef12c79376c7.tar.lz
nixpkgs-d6ef65cb6ac4b46841c7a6294d25ef12c79376c7.tar.xz
nixpkgs-d6ef65cb6ac4b46841c7a6294d25ef12c79376c7.tar.zst
nixpkgs-d6ef65cb6ac4b46841c7a6294d25ef12c79376c7.zip
Limit livecd label to 11 characters
vfat partition labels can only be 11 characters long

Signed-off-by: Shea Levy <shea@shealevy.com>
Diffstat (limited to 'nixos/modules/installer/cd-dvd/installation-cd-base.nix')
-rw-r--r--nixos/modules/installer/cd-dvd/installation-cd-base.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/installer/cd-dvd/installation-cd-base.nix b/nixos/modules/installer/cd-dvd/installation-cd-base.nix
index 1aba67dcd9e..2a28131c28c 100644
--- a/nixos/modules/installer/cd-dvd/installation-cd-base.nix
+++ b/nixos/modules/installer/cd-dvd/installation-cd-base.nix
@@ -19,7 +19,7 @@ with pkgs.lib;
   # ISO naming.
   isoImage.isoName = "${config.isoImage.isoBaseName}-${config.system.nixosVersion}-${pkgs.stdenv.system}.iso";
 
-  isoImage.volumeID = substring 0 32 "NIXOS_${config.system.nixosVersion}";
+  isoImage.volumeID = substring 0 11 "NIXOS_${config.system.nixosVersion}";
 
   # Make the installer more likely to succeed in low memory
   # environments.  The kernel's overcommit heustistics bite us