From 0308fc6ac2ef7079fb90bee1e15f5295f1ea8ff1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Adrian=20Schr=C3=B6ter?= Date: Thu, 15 May 2008 14:52:33 +0000 Subject: [PATCH] modify check to accept all kinds of nodes, including device nodes. This is needed to support build with lvm. --- build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build b/build index 66d956b..548077d 100755 --- a/build +++ b/build @@ -710,7 +710,7 @@ if test -z "$RUNNING_IN_XEN" ; then if test "$VM_IMAGE" = 1 ; then VM_IMAGE="$BUILD_ROOT.img" fi - if test ! -f "$VM_IMAGE" ; then + if test ! -e "$VM_IMAGE" ; then echo "you need to create a file system on $VM_IMAGE first" cleanup_and_exit 1 fi -- 2.7.4