commit:     a6efe051a610e0ce6aa7eb36a40dfceba7065940
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Sun Jan  5 20:53:09 2020 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Sun Jan  5 20:57:17 2020 +0000
URL:        https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=a6efe051

linuxrc: Don't call findfs multiple times

"findfs" and "busybox findfs" is the same command.

For $REAL_ROOT, this was already fixed via
commit 9daa9b77165339495dd4cb35bd57237bd9ca9206.

Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>

 defaults/linuxrc | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/defaults/linuxrc b/defaults/linuxrc
index 50b99de..f585017 100644
--- a/defaults/linuxrc
+++ b/defaults/linuxrc
@@ -619,12 +619,6 @@ then
                                        retval=$?
                                fi
 
-                               if [ ${retval} -ne 0 ]
-                               then
-                                       RESUME_DEV=$(busybox findfs 
"${REAL_RESUME}" 2>/dev/null)
-                                       retval=$?
-                               fi
-
                                if [ ${retval} -ne 0 ]
                                then
                                        RESUME_DEV=$(blkid -o device -l -t 
"${REAL_RESUME}" 2>/dev/null)

Reply via email to