Failing when the top level system expression cannot find the kernel image

svn path=/nixos/trunk/; revision=18291
This commit is contained in:
Lluís Batlle i Rossell 2009-11-08 18:32:21 +00:00
parent 420639a4b1
commit de1713a24f

View File

@ -65,6 +65,7 @@ let
if [ ! -f ${kernelPath} ]; then
echo "The bootloader cannot find the proper kernel image."
echo "(Expecting ${kernelPath})"
false
fi
ln -s ${kernelPath} $out/kernel
if [ -n "$grub" ]; then