Lluís Batlle i Rossell
8c27201ce0
Fixing mkOverride and openssh things on system-tarballs
...
svn path=/nixos/branches/stdenv-updates/; revision=24554
2010-10-31 19:34:39 +00:00
Lluís Batlle i Rossell
1acbc4a82f
Updating from trunk. Blind commit - no coflicts.
...
svn path=/nixos/branches/stdenv-updates/; revision=24370
2010-10-19 20:45:35 +00:00
Sander van der Burg
936e4e73d7
Modified the nixos-deploy-network script to use a 2PC-like approach illustrated in the Disnix HotSWUp paper for system configurations
...
svn path=/nixos/trunk/; revision=24352
2010-10-18 19:47:46 +00:00
Lluís Batlle i Rossell
51d0ccdf3c
Updating from trunk (to catch cron changes)
...
I had some merge problems with the system-tarball; I hope I've resolved them.
svn path=/nixos/branches/stdenv-updates/; revision=24201
2010-10-10 11:46:57 +00:00
Sander van der Burg
122e125d6b
Added the nixos-deploy-network tool. With this tool you can write a network of NixOS configurations, e.g.:
...
{
test1 = {pkgs, config, ...}:
{
# NixOS config of machine test1
...
};
test2 = {pkgs, config, ...}:
{
# NixOS config of machine test2
...
};
}
And an infrastructure expression, e.g:
{
test1 = {
hostName = "test1.example.org";
system = "i686-linux";
};
test2 = {
hostName = "test2.example.org";
system = "x86_64-linux";
};
}
And by executing:
nixos-deploy-network -n network.nix -i infrastructure.nix
The system configurations in the network expression are built, transferred to the machines in the network and finally activated.
svn path=/nixos/trunk/; revision=24146
2010-10-07 14:30:52 +00:00
Eelco Dolstra
17213c4f2a
* When generating a GRUB 1 menu, don't use the "module" command to
...
load the initrd, because pv-grub doesn't like it.
svn path=/nixos/trunk/; revision=24068
2010-10-05 13:11:30 +00:00
Rob Vermaas
7468ad50e0
nixos-option.sh: fix typo
...
svn path=/nixos/trunk/; revision=24015
2010-10-01 06:31:27 +00:00
Nicolas Pierron
567f37f3e4
Export tools which may be useful for users that want to switch to NixOS
...
without using a live CD.
svn path=/nixos/trunk/; revision=23939
2010-09-26 13:39:16 +00:00
Nicolas Pierron
62c9591d0b
Fix usage message (-description) and honor $NIXOS instead of $NIXOS_PATH.
...
svn path=/nixos/trunk/; revision=23937
2010-09-26 08:43:55 +00:00
Nicolas Pierron
7ea957fd3d
Add --install option for nixos-option which is used to handle options of
...
the target system (when installing) and also to generate a template
configuration file for users.
svn path=/nixos/trunk/; revision=23923
2010-09-25 22:29:50 +00:00
Nicolas Pierron
fe7c1eb16b
Remove duplicated definitions.
...
svn path=/nixos/trunk/; revision=23921
2010-09-25 09:44:48 +00:00
Nicolas Pierron
e20ef7564e
Update live-dvd configuration.
...
svn path=/nixos/trunk/; revision=23919
2010-09-25 09:33:17 +00:00
Nicolas Pierron
c18fe31160
Make nixos-hardware-scan adding a profile to the generated configuration
...
file.
svn path=/nixos/trunk/; revision=23918
2010-09-25 09:33:13 +00:00
Nicolas Pierron
5fb80fcc4b
Extract rescue profile from the the corresponding CD.
...
svn path=/nixos/trunk/; revision=23917
2010-09-25 09:33:09 +00:00
Nicolas Pierron
9936a6f525
Simplify system-tarball-pc.nix. Factor detected / undetected devices into
...
the instalaltion-device profile.
svn path=/nixos/trunk/; revision=23916
2010-09-25 09:33:03 +00:00
Nicolas Pierron
f3cc01bd3b
Extract graphical and minimal profiles from the installation CDs.
...
svn path=/nixos/trunk/; revision=23915
2010-09-25 09:32:57 +00:00
Nicolas Pierron
59429aa449
Change the policy used to select files added in the import list of the
...
generated configuration. Use all files listed as modules of eval-config.
svn path=/nixos/trunk/; revision=23914
2010-09-25 09:32:52 +00:00
Nicolas Pierron
d2d139e920
Move the generation of the dummy configuration file into the installation
...
device profile.
TODO: The current configuration does not reproduce exactly the CD
configuration, fix it.
svn path=/nixos/trunk/; revision=23913
2010-09-25 09:32:48 +00:00
Nicolas Pierron
112cd0c4d4
Add an installation device profile, and use it it the basic installation CD.
...
svn path=/nixos/trunk/; revision=23912
2010-09-25 09:32:43 +00:00
Nicolas Pierron
cf103b8d4d
Add 2 index file to define the default case for detected and not-detected
...
devices. These are used to replace hand made listings in the basic
installation CD.
The configuration file, which is generated by nixos-hardware-scan, enables
not-detected devices by default.
svn path=/nixos/trunk/; revision=23911
2010-09-25 09:32:37 +00:00
Nicolas Pierron
c90a7b9be4
Remove duplicated (modules-list) includes from the basic installation cd.
...
svn path=/nixos/trunk/; revision=23910
2010-09-25 09:32:32 +00:00
Nicolas Pierron
d304d12f37
Extract a base profile from the basic installation cd.
...
svn path=/nixos/trunk/; revision=23909
2010-09-25 09:32:27 +00:00
Lluís Batlle i Rossell
c1e4586ed1
Again trying to get the kernelFile paths right
...
svn path=/nixos/branches/stdenv-updates/; revision=23836
2010-09-17 17:25:46 +00:00
Lluís Batlle i Rossell
743b75fbaf
Making the fuloong2f system-tarball more specific for the fuloong, so, helping in how
...
to use the system more easily.
svn path=/nixos/branches/stdenv-updates/; revision=23826
2010-09-16 19:26:34 +00:00
Lluís Batlle i Rossell
3b216865d2
Writing better some sheevaplug system-tarball lines (kernel parameters in a single line, for example)
...
svn path=/nixos/branches/stdenv-updates/; revision=23825
2010-09-16 19:25:29 +00:00
Lluís Batlle i Rossell
83d012ba13
Trying to fix again system-tarball-pc (again, the kernel file name)
...
svn path=/nixos/branches/stdenv-updates/; revision=23824
2010-09-16 19:24:52 +00:00
Lluís Batlle i Rossell
7672c36a70
Trying to get system-tarball-pc build properly.
...
svn path=/nixos/branches/stdenv-updates/; revision=23814
2010-09-15 21:36:56 +00:00
Eelco Dolstra
c4f910f550
* Substitute the path of the system derivation directly in the stage 2
...
init script. This removes the need for the `systemConfig' boot
parameter; `init=<stage-2-init>' is enough. However, the GRUB menu
builder still needs to add `systemConfig' to the kernel command line
for compatibility with old configurations.
svn path=/nixos/trunk/; revision=23775
2010-09-13 22:10:25 +00:00
Lluís Batlle i Rossell
245df33c6c
Making the system tarballs of fuloong and sheevaplug reference the proper nixpkgs, and not that of /etc/...
...
svn path=/nixos/branches/stdenv-updates/; revision=23772
2010-09-13 20:52:49 +00:00
Eelco Dolstra
c1295661c4
* Added a command `nixos-rebuild build-vm-with-bootloader'. This is
...
like `build-vm', but boots using the regular boot loader (i.e. GRUB
1 or 2) rather than booting directly from the kernel/initrd. Thus
it allows testing of GRUB.
svn path=/nixos/trunk/; revision=23747
2010-09-13 12:34:58 +00:00
Eelco Dolstra
987dd76811
* Added a module to enable the Xen hypervisor.
...
svn path=/nixos/trunk/; revision=23739
2010-09-12 22:43:45 +00:00
Eelco Dolstra
8edefa2960
* Grrr. Fix the sort order.
...
svn path=/nixos/trunk/; revision=23732
2010-09-10 17:35:13 +00:00
Eelco Dolstra
4ae4b7d47f
* Support booting Xen in the Grub menu builder.
...
svn path=/nixos/trunk/; revision=23730
2010-09-10 17:15:35 +00:00
Eelco Dolstra
8f4139987e
* Regex listing the system generations was selecting the number from
...
only the first generation in the list. (From Karn Kallio.)
svn path=/nixos/trunk/; revision=23728
2010-09-10 15:47:06 +00:00
Eelco Dolstra
7b635ee4ed
* "ls -d" -> "echo", since "ls" prints the current directory if
...
nothing matches.
svn path=/nixos/trunk/; revision=23716
2010-09-10 12:25:59 +00:00
Lluís Batlle i Rossell
9ba735714a
Adding a system-tarball expression for the sheevaplug (which a previous commit already put a reference to)
...
svn path=/nixos/branches/stdenv-updates/; revision=23690
2010-09-08 17:15:31 +00:00
Lluís Batlle i Rossell
ccf7852e11
Updating the system-tarball work, having just tested that of the fuloong2f.
...
svn path=/nixos/branches/stdenv-updates/; revision=23689
2010-09-08 16:53:36 +00:00
Nicolas Pierron
c9dc3651da
Replace mkOverride by its alias mkOverrideTemplate to remove the unused
...
template argument of mkOverride later.
svn path=/nixos/trunk/; revision=23631
2010-09-03 19:10:59 +00:00
Nicolas Pierron
1f69bc4b9d
Remove deprecated notation in tools.nix.
...
svn path=/nixos/trunk/; revision=23630
2010-09-03 19:10:54 +00:00
Nicolas Pierron
9e04f67b3d
Add nixos-option tool to investigate option details on the cmd-line.
...
svn path=/nixos/trunk/; revision=23629
2010-09-03 19:10:50 +00:00
Michael Raskin
597e083d82
Adding an option to include build dependencies into ISO image
...
svn path=/nixos/trunk/; revision=23502
2010-08-29 12:11:31 +00:00
Eelco Dolstra
8c960af984
* Handle the case where /boot is on the same filesystem as /
...
but on a different filesystem than /nix/store. In that case
we need to copy the kernels and initrds to /boot.
svn path=/nixos/trunk/; revision=23085
2010-08-10 08:36:59 +00:00
Eelco Dolstra
cbc05c1480
* Enable wpa_supplicant on the installation CD.
...
svn path=/nixos/trunk/; revision=23034
2010-08-08 13:55:35 +00:00
Eelco Dolstra
e8e7ee356c
* In the installation CD, pass the label of the CD through the
...
root=... kernel command line parameter, instead of hard-coding it in
`fileSystems'. This is to allow CD-to-USB converters such as
UNetbootin to rewrite the kernel command line to the label or UUID
of the USB stick.
svn path=/nixos/trunk/; revision=23024
2010-08-07 14:16:18 +00:00
Eelco Dolstra
d7d2d5e3d5
* Add some NLS modules required to mount FAT filesystems. We need
...
this to boot the NixOS installer from a USB stick.
svn path=/nixos/trunk/; revision=23019
2010-08-06 23:09:37 +00:00
Eelco Dolstra
05fc10f3a8
* Add dosfstools to the installation CD (for
...
{mkfs,fsck}.{vfat,msdos}).
svn path=/nixos/trunk/; revision=23006
2010-08-06 18:52:00 +00:00
Eelco Dolstra
d659488209
* Use the regular GRUB menu builder for Amazon. There are two issues:
...
we want to generate the GRUB menu without actually installing GRUB
(because Amazon supplies its own pv-grub), and each menu entry
requires "root (hd0)". For the first, allow boot.loader.grub.device
to be set to "nodev" to indicate that the GRUB menu should be
generated without installing GRUB. For the second, add an option
boot.loader.grub.extraPerEntryConfig to allow commands to be added
to each GRUB menu entry (in this case, "root (hd0)").
svn path=/nixos/trunk/; revision=22712
2010-07-22 14:40:29 +00:00
Eelco Dolstra
f1dde44ac1
* Added an action `nixos-rebuild pull' to just pull the Nixpkgs
...
channel manifest and exit. Useful if you don't want to use
nix-channel.
svn path=/nixos/trunk/; revision=22601
2010-07-14 14:18:27 +00:00
Eelco Dolstra
baf54c517d
* Fix the terminal_output command. (This used to work but not with
...
the latest GRUB I guess.)
svn path=/nixos/trunk/; revision=22575
2010-07-13 11:48:40 +00:00
Eelco Dolstra
54d201294b
* Sync with the trunk.
...
svn path=/nixos/branches/boot-order/; revision=22487
2010-07-06 08:21:05 +00:00