commit: f945065f1513facfbbf148874a55a6f104440a99
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 15 22:29:03 2019 +0000
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Mon Jul 15 22:29:03 2019 +0000
URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=f945065f
linuxrc: break out when REAL_ROOT is on ZFS but kernel was started without dozfs
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
defaults/linuxrc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/defaults/linuxrc b/defaults/linuxrc
index 518efc6..4706055 100644
--- a/defaults/linuxrc
+++ b/defaults/linuxrc
@@ -633,8 +633,8 @@ do
ZFS*)
if [ "${USE_ZFS}" = '0' ]
then
- prompt_user "REAL_ROOT" "root
block device"
- continue
+ bad_msg "Cannot use ZFS when
started without 'dozfs' kernel command-line parameter!"
+ break
fi
ROOT_DEV="${REAL_ROOT#*=}"