mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-21 04:42:07 +03:00
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
|
||||
# installation CD.
|
||||
# tarball, that can directly boot, maybe using PXE or unpacking on a fs.
|
||||
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
@ -164,10 +164,20 @@ in
|
||||
# To be able to use the systemTarball to catch troubles.
|
||||
boot.crashDump = {
|
||||
enable = true;
|
||||
# Why not a recent kernel?
|
||||
kernelPackages = pkgs.linuxPackages_3_2;
|
||||
kernelPackages = pkgs.linuxPackages_3_4;
|
||||
};
|
||||
|
||||
# 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 = {
|
||||
packageOverrides = p: rec {
|
||||
linux_3_2 = p.linux_3_2.override {
|
||||
|
Loading…
Reference in New Issue
Block a user