diff options
author | Thomas Deutschmann <whissi@gentoo.org> | 2020-08-27 23:03:21 +0200 |
---|---|---|
committer | Thomas Deutschmann <whissi@gentoo.org> | 2020-08-28 15:45:37 +0200 |
commit | 8c110e13f09aad67a666f4af10e51876fab50925 (patch) | |
tree | 29010b4777478feba1436121720763e7ebb7adfe /defaults | |
parent | defaults/linuxrc: Add debug breakpoint before udevd start (diff) | |
download | genkernel-8c110e13f09aad67a666f4af10e51876fab50925.tar.gz genkernel-8c110e13f09aad67a666f4af10e51876fab50925.tar.bz2 genkernel-8c110e13f09aad67a666f4af10e51876fab50925.zip |
defaults/linuxrc: Support devices with symlinks (2)
Follow up for commit 0048f44c081dce2e296b48c71a208abf2a815c84.
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'defaults')
-rw-r--r-- | defaults/linuxrc | 2 |
1 files changed, 1 insertions, 1 deletions
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 |