Commit 4ca50bc1 authored by Vitaly Lipatov's avatar Vitaly Lipatov

make incorrect kernel non fatal

parent d918956f
...@@ -218,13 +218,16 @@ check_kernel_conf() ...@@ -218,13 +218,16 @@ check_kernel_conf()
echo "OK" echo "OK"
;; ;;
"y") "y")
fatal "ERROR: the kernel is configured with CIFS support, but not as a module!" echo "ERROR: the kernel is configured with CIFS support, but not as a module!"
return 1
;; ;;
*) *)
fatal "ERROR: the kernel is configured without CIFS support!" echo "ERROR: the kernel is configured without CIFS support!"
return 1
esac esac
else else
echo "WARNING: the .config file in kernel source directory does not exist!" echo "ERROR: the .config file in kernel source directory does not exist!"
return 1
fi fi
return 0 return 0
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment