commit: a4f28d4f8d99fc9a06dec2eec8901c39120c88f7
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 15 20:36:09 2019 +0000
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Mon Jul 15 20:36:09 2019 +0000
URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=a4f28d4f
linuxrc: Add catch all block to avoid unnecessary rootdelay for devices already
present
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
defaults/linuxrc | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/defaults/linuxrc b/defaults/linuxrc
index 5a95ece..d84cc65 100644
--- a/defaults/linuxrc
+++ b/defaults/linuxrc
@@ -668,6 +668,14 @@ do
fi
fi
;;
+ *)
+ if [ -b "${REAL_ROOT}" ]
+ then
+ got_good_root=1
+ good_msg "Detected
real_root=${REAL_ROOT}"
+ break
+ fi
+ ;;
esac
if [ "${got_good_root}" != '1' ]