Blame 0027-usrmount-mount-usr.sh-check-the-right-path-with-ismo.patch
|
Harald Hoyer |
2d3fda |
From f0e10d9351be491f5ff703b6ba4ed230a5673609 Mon Sep 17 00:00:00 2001
|
|
Harald Hoyer |
2d3fda |
From: Harald Hoyer <harald@redhat.com>
|
|
Harald Hoyer |
2d3fda |
Date: Tue, 3 Jul 2012 18:20:46 +0200
|
|
Harald Hoyer |
2d3fda |
Subject: [PATCH] usrmount/mount-usr.sh: check the right path with ismounted
|
|
Harald Hoyer |
2d3fda |
|
|
Harald Hoyer |
2d3fda |
---
|
|
Harald Hoyer |
2d3fda |
modules.d/98usrmount/mount-usr.sh | 2 +-
|
|
Harald Hoyer |
2d3fda |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
Harald Hoyer |
2d3fda |
|
|
Harald Hoyer |
2d3fda |
diff --git a/modules.d/98usrmount/mount-usr.sh b/modules.d/98usrmount/mount-usr.sh
|
|
Harald Hoyer |
2d3fda |
index 3173241..c277d74 100755
|
|
Harald Hoyer |
2d3fda |
--- a/modules.d/98usrmount/mount-usr.sh
|
|
Harald Hoyer |
2d3fda |
+++ b/modules.d/98usrmount/mount-usr.sh
|
|
Harald Hoyer |
2d3fda |
@@ -84,7 +84,7 @@ mount_usr()
|
|
Harald Hoyer |
2d3fda |
info "Mounting /usr"
|
|
Harald Hoyer |
2d3fda |
mount "$NEWROOT/usr" 2>&1 | vinfo
|
|
Harald Hoyer |
2d3fda |
fi
|
|
Harald Hoyer |
2d3fda |
- if ! ismounted /usr; then
|
|
Harald Hoyer |
2d3fda |
+ if ! ismounted "$NEWROOT/usr"; then
|
|
Harald Hoyer |
2d3fda |
warn "Mounting /usr to $NEWROOT/usr failed"
|
|
Harald Hoyer |
2d3fda |
warn "*** Dropping you to a shell; the system will continue"
|
|
Harald Hoyer |
2d3fda |
warn "*** when you leave the shell."
|