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:
parent
020f035a5d
commit
df0879e105
@ -212,7 +212,7 @@ rec {
|
|||||||
nixpkgsTarball = if networkNixpkgs != "" then pkgs.fetchurl {
|
nixpkgsTarball = if networkNixpkgs != "" then pkgs.fetchurl {
|
||||||
url = configuration.installer.nixpkgsURL + "/" + nixpkgsRel + ".tar.bz2";
|
url = configuration.installer.nixpkgsURL + "/" + nixpkgsRel + ".tar.bz2";
|
||||||
md5 = "6a793b877e2a4fa79827515902e1dfd8";
|
md5 = "6a793b877e2a4fa79827515902e1dfd8";
|
||||||
} else makeNixPkgsTarball "nixpkgs.tar.bz2" /etc/nixos/nixpkgs;
|
} else makeNixPkgsTarball "nixpkgs.tar.bz2" "/etc/nixos/nixpkgs";
|
||||||
|
|
||||||
|
|
||||||
# The configuration file for Grub.
|
# The configuration file for Grub.
|
||||||
@ -299,7 +299,7 @@ rec {
|
|||||||
object = system.system.drvPath;
|
object = system.system.drvPath;
|
||||||
symlink = "none";
|
symlink = "none";
|
||||||
}
|
}
|
||||||
)
|
);
|
||||||
|
|
||||||
bootable = true;
|
bootable = true;
|
||||||
bootImage = "boot/grub/stage2_eltorito";
|
bootImage = "boot/grub/stage2_eltorito";
|
||||||
|
18
configuration/rescue-cd-minimal.nix
Normal file
18
configuration/rescue-cd-minimal.nix
Normal 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
|
Loading…
x
Reference in New Issue
Block a user