From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5880C13835B for ; Fri, 28 Aug 2020 20:18:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 75CEEE0A5D; Fri, 28 Aug 2020 20:18:49 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3AB5BE0A5D for ; Fri, 28 Aug 2020 20:18:49 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 78D56340ADB for ; Fri, 28 Aug 2020 20:18:47 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id F2A53332 for ; Fri, 28 Aug 2020 20:18:45 +0000 (UTC) From: "Thomas Deutschmann" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Thomas Deutschmann" Message-ID: <1598622337.8c110e13f09aad67a666f4af10e51876fab50925.whissi@gentoo> Subject: [gentoo-commits] proj/genkernel:master commit in: defaults/ X-VCS-Repository: proj/genkernel X-VCS-Files: defaults/linuxrc X-VCS-Directories: defaults/ X-VCS-Committer: whissi X-VCS-Committer-Name: Thomas Deutschmann X-VCS-Revision: 8c110e13f09aad67a666f4af10e51876fab50925 X-VCS-Branch: master Date: Fri, 28 Aug 2020 20:18:45 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: e20e24c1-5de6-448c-bc31-51adeb41b295 X-Archives-Hash: 49104c51c732b8855ba0d692fae1f75b commit: 8c110e13f09aad67a666f4af10e51876fab50925 Author: Thomas Deutschmann gentoo org> AuthorDate: Thu Aug 27 21:03:21 2020 +0000 Commit: Thomas Deutschmann gentoo org> CommitDate: Fri Aug 28 13:45:37 2020 +0000 URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=8c110e13 defaults/linuxrc: Support devices with symlinks (2) Follow up for commit 0048f44c081dce2e296b48c71a208abf2a815c84. Signed-off-by: Thomas Deutschmann gentoo.org> defaults/linuxrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/defaults/linuxrc b/defaults/linuxrc index 438ed11..466e1f7 100644 --- a/defaults/linuxrc +++ b/defaults/linuxrc @@ -925,7 +925,7 @@ do else # If $REAL_ROOT is a symlink # Resolve it like util-linux mount does - [ -L ${REAL_ROOT} ] && REAL_ROOT=$(readlink ${REAL_ROOT}) + [ -L ${REAL_ROOT} ] && REAL_ROOT=$(readlink -f ${REAL_ROOT}) # mount ro so fsck doesn't barf later if [ "${REAL_ROOTFLAGS}" = '' ] then