Blame 0005-98usrmount-mount-usr.sh-remove-extra-slash.patch
|
Harald Hoyer |
d45cf7 |
From 075de7be458c4135f277d900c83bb7c3960dde8d Mon Sep 17 00:00:00 2001
|
|
Harald Hoyer |
d45cf7 |
From: Harald Hoyer <harald@redhat.com>
|
|
Harald Hoyer |
d45cf7 |
Date: Thu, 9 Feb 2012 13:58:49 +0100
|
|
Harald Hoyer |
d45cf7 |
Subject: [PATCH] 98usrmount/mount-usr.sh: remove extra slash
|
|
Harald Hoyer |
d45cf7 |
|
|
Harald Hoyer |
d45cf7 |
otherwise we have /sysroot//usr in fstab
|
|
Harald Hoyer |
d45cf7 |
---
|
|
Harald Hoyer |
d45cf7 |
modules.d/98usrmount/mount-usr.sh | 2 +-
|
|
Harald Hoyer |
d45cf7 |
1 files changed, 1 insertions(+), 1 deletions(-)
|
|
Harald Hoyer |
d45cf7 |
|
|
Harald Hoyer |
d45cf7 |
diff --git a/modules.d/98usrmount/mount-usr.sh b/modules.d/98usrmount/mount-usr.sh
|
|
Harald Hoyer |
d45cf7 |
index b24446a..5139c7a 100755
|
|
Harald Hoyer |
d45cf7 |
--- a/modules.d/98usrmount/mount-usr.sh
|
|
Harald Hoyer |
d45cf7 |
+++ b/modules.d/98usrmount/mount-usr.sh
|
|
Harald Hoyer |
d45cf7 |
@@ -11,7 +11,7 @@ mount_usr()
|
|
Harald Hoyer |
d45cf7 |
# check, if we have to mount the /usr filesystem
|
|
Harald Hoyer |
d45cf7 |
while read _dev _mp _fs _opts _rest; do
|
|
Harald Hoyer |
d45cf7 |
if [ "$_mp" = "/usr" ]; then
|
|
Harald Hoyer |
d45cf7 |
- echo "$_dev $NEWROOT/$_mp $_fs ${_opts} $_rest"
|
|
Harald Hoyer |
d45cf7 |
+ echo "$_dev ${NEWROOT}${_mp} $_fs ${_opts} $_rest"
|
|
Harald Hoyer |
d45cf7 |
_usr_found="1"
|
|
Harald Hoyer |
d45cf7 |
break
|
|
Harald Hoyer |
d45cf7 |
fi
|