Fixing the evaluation of the system-tarball-pc.
It complained that grub device wasn't defined, and I guess it wanted some fileSystems too. I copied those details from the sheevaplug expression, that I made evaluate some minutes ago. svn path=/nixos/trunk/; revision=34238
This commit is contained in:
parent
4157166f8a
commit
22fc2bdb24
@ -1,5 +1,5 @@
|
|||||||
# This module contains the basic configuration for building a NixOS
|
# This module contains the basic configuration for building a NixOS
|
||||||
# installation CD.
|
# tarball, that can directly boot, maybe using PXE or unpacking on a fs.
|
||||||
|
|
||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
@ -164,10 +164,20 @@ in
|
|||||||
# To be able to use the systemTarball to catch troubles.
|
# To be able to use the systemTarball to catch troubles.
|
||||||
boot.crashDump = {
|
boot.crashDump = {
|
||||||
enable = true;
|
enable = true;
|
||||||
# Why not a recent kernel?
|
kernelPackages = pkgs.linuxPackages_3_4;
|
||||||
kernelPackages = pkgs.linuxPackages_3_2;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# No grub for the tarball.
|
||||||
|
boot.loader.grub.enable = false;
|
||||||
|
|
||||||
|
/* fake entry, just to have a happy stage-1. Users
|
||||||
|
may boot without having stage-1 though */
|
||||||
|
fileSystems = [
|
||||||
|
{ mountPoint = "/";
|
||||||
|
device = "/dev/something";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
|
||||||
nixpkgs.config = {
|
nixpkgs.config = {
|
||||||
packageOverrides = p: rec {
|
packageOverrides = p: rec {
|
||||||
linux_3_2 = p.linux_3_2.override {
|
linux_3_2 = p.linux_3_2.override {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user