From 88a400f57860462bc3b4a4085a7dafe52c023b14 Mon Sep 17 00:00:00 2001 From: Evgeny Egorochkin Date: Thu, 22 Jul 2010 22:45:24 +0000 Subject: [PATCH] Fix LVM failing test due to /proc/devices not being available in some of OpenVZ containers svn path=/nixos/trunk/; revision=22717 --- modules/system/boot/stage-1.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/system/boot/stage-1.nix b/modules/system/boot/stage-1.nix index eb823a88757..0a5cec8b1d2 100644 --- a/modules/system/boot/stage-1.nix +++ b/modules/system/boot/stage-1.nix @@ -202,7 +202,7 @@ let $out/bin/udevadm --version $out/bin/blkid -v 2>&1 | tee -a $out/log | grep "blkid from util-linux-ng" $out/bin/dmsetup --version 2>&1 | tee -a $out/log | grep "version:" - LVM_SYSTEM_DIR=$out $out/bin/lvm 2>&1 | tee -a $out/log | grep "LVM" + LVM_SYSTEM_DIR=$out $out/bin/lvm version 2>&1 | tee -a $out/log | grep "LVM" $out/bin/reiserfsck -V $out/bin/mdadm --version $out/bin/basename --version