summary refs log tree commit diff
path: root/modules/installer/cd-dvd/system-tarball-sheevaplug.nix
diff options
context:
space:
mode:
authorLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2012-05-25 07:52:12 +0000
committerLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2012-05-25 07:52:12 +0000
commit4157166f8a4d9471663b9ced3fbb83601e05cc00 (patch)
tree61ecf86b93d2c9b60c90c5e6a77d80dfc5a07f29 /modules/installer/cd-dvd/system-tarball-sheevaplug.nix
parenta3e04ba0aa8c8cd759e902cee14de2080a1345ce (diff)
downloadnixpkgs-4157166f8a4d9471663b9ced3fbb83601e05cc00.tar
nixpkgs-4157166f8a4d9471663b9ced3fbb83601e05cc00.tar.gz
nixpkgs-4157166f8a4d9471663b9ced3fbb83601e05cc00.tar.bz2
nixpkgs-4157166f8a4d9471663b9ced3fbb83601e05cc00.tar.lz
nixpkgs-4157166f8a4d9471663b9ced3fbb83601e05cc00.tar.xz
nixpkgs-4157166f8a4d9471663b9ced3fbb83601e05cc00.tar.zst
nixpkgs-4157166f8a4d9471663b9ced3fbb83601e05cc00.zip
Making the sheevaplug system tarball evaluate fine again. It had some pieces not up to date:
fileSystems definition, kernel version, ...


svn path=/nixos/trunk/; revision=34237
Diffstat (limited to 'modules/installer/cd-dvd/system-tarball-sheevaplug.nix')
-rw-r--r--modules/installer/cd-dvd/system-tarball-sheevaplug.nix17
1 files changed, 15 insertions, 2 deletions
diff --git a/modules/installer/cd-dvd/system-tarball-sheevaplug.nix b/modules/installer/cd-dvd/system-tarball-sheevaplug.nix
index 9052badfe0e..381223a078b 100644
--- a/modules/installer/cd-dvd/system-tarball-sheevaplug.nix
+++ b/modules/installer/cd-dvd/system-tarball-sheevaplug.nix
@@ -40,7 +40,7 @@ in
 
 {
   require =
-    [ options
+    [
       ./system-tarball.nix
       ../../hardware/network/rt73.nix
     ];
@@ -120,7 +120,17 @@ in
       # "console=ttyS0,115200n8"  # serial console
     ];
 
-  boot.kernelPackages = pkgs.linuxPackages_2_6_35;
+  boot.kernelPackages = pkgs.linuxPackages_3_4;
+
+  boot.supportedFilesystems = [ "reiserfs" ];
+
+  /* fake entry, just to have a happy stage-1. Users
+     may boot without having stage-1 though */
+  fileSystems = [
+    { mountPoint = "/";
+      device = "/dev/something";
+      }
+  ];
 
   services.mingetty = {
     ttys = [ "ttyS0" ];
@@ -166,6 +176,9 @@ in
   services.ttyBackgrounds.enable = false;
   jobs.openssh.startOn = pkgs.lib.mkOverrideTemplate 50 {} "";
 
+  # Needed for nixos to evaluate
+  system.build.menuBuilder = "true";
+
   nixpkgs.config = {
     platform = pkgs.platforms.sheevaplug;
   };