Made small bootable (qemu-tested) CD with rescue-cd-configurable.nix ; strangely enough it includes stdenv though.

svn path=/nixos/trunk/; revision=10102
This commit is contained in:
Michael Raskin 2008-01-09 08:51:25 +00:00
parent 020f035a5d
commit df0879e105
2 changed files with 20 additions and 2 deletions

View File

@ -212,7 +212,7 @@ rec {
nixpkgsTarball = if networkNixpkgs != "" then pkgs.fetchurl {
url = configuration.installer.nixpkgsURL + "/" + nixpkgsRel + ".tar.bz2";
md5 = "6a793b877e2a4fa79827515902e1dfd8";
} else makeNixPkgsTarball "nixpkgs.tar.bz2" /etc/nixos/nixpkgs;
} else makeNixPkgsTarball "nixpkgs.tar.bz2" "/etc/nixos/nixpkgs";
# The configuration file for Grub.
@ -299,7 +299,7 @@ rec {
object = system.system.drvPath;
symlink = "none";
}
)
);
bootable = true;
bootImage = "boot/grub/stage2_eltorito";

View File

@ -0,0 +1,18 @@
{platform ? __currentSystem} :
let
isoFun = import ./rescue-cd-configurable.nix;
in
(isoFun {
inherit platform;
lib = (import ../pkgs/lib);
networkNixpkgs = "";
manualEnabled = false;
rogueEnabled = false;
sshdEnabled = false;
fontConfigEnabled = false;
sudoEnable = false;
includeMemtest = false;
includeStdenv = false;
includeBuildDeps = false;
}).rescueCD