Fixing an additional missing check for linuxPackages/kernelPackages in tests.
svn path=/nixos/trunk/; revision=19444
This commit is contained in:
parent
13ee735395
commit
473c9d8881
@ -78,7 +78,8 @@ let
|
|||||||
# Make the Nix store in this VM writable using AUFS. Use Linux
|
# Make the Nix store in this VM writable using AUFS. Use Linux
|
||||||
# 2.6.27 because 2.6.32 doesn't work (probably we need AUFS2).
|
# 2.6.27 because 2.6.32 doesn't work (probably we need AUFS2).
|
||||||
# This should probably be moved to qemu-vm.nix.
|
# This should probably be moved to qemu-vm.nix.
|
||||||
boot.kernelPackages = pkgs.kernelPackages_2_6_27;
|
boot.kernelPackages = (if pkgs ? linuxPackages then
|
||||||
|
pkgs.linuxPackages_2_6_27 else pkgs.kernelPackages_2_6_27);
|
||||||
boot.extraModulePackages = [ config.boot.kernelPackages.aufs ];
|
boot.extraModulePackages = [ config.boot.kernelPackages.aufs ];
|
||||||
boot.initrd.availableKernelModules = [ "aufs" ];
|
boot.initrd.availableKernelModules = [ "aufs" ];
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user