Blame 0015-98usrmount-mount-usr.sh-check-if-we-have-NEWROOT-etc.patch
|
Harald Hoyer |
66318b |
From 9eded206c90c0ce65b1addc55e4a8d83fb66ad3b Mon Sep 17 00:00:00 2001
|
|
Harald Hoyer |
66318b |
From: Harald Hoyer <harald@redhat.com>
|
|
Harald Hoyer |
66318b |
Date: Tue, 28 Feb 2012 16:35:08 +0100
|
|
Harald Hoyer |
66318b |
Subject: [PATCH] 98usrmount/mount-usr.sh: check, if we have
|
|
Harald Hoyer |
66318b |
$NEWROOT/etc/fstab
|
|
Harald Hoyer |
66318b |
|
|
Harald Hoyer |
66318b |
---
|
|
Harald Hoyer |
66318b |
modules.d/98usrmount/mount-usr.sh | 4 +++-
|
|
Harald Hoyer |
66318b |
1 files changed, 3 insertions(+), 1 deletions(-)
|
|
Harald Hoyer |
66318b |
|
|
Harald Hoyer |
66318b |
diff --git a/modules.d/98usrmount/mount-usr.sh b/modules.d/98usrmount/mount-usr.sh
|
|
Harald Hoyer |
66318b |
index f9d049e..39f75b9 100755
|
|
Harald Hoyer |
66318b |
--- a/modules.d/98usrmount/mount-usr.sh
|
|
Harald Hoyer |
66318b |
+++ b/modules.d/98usrmount/mount-usr.sh
|
|
Harald Hoyer |
66318b |
@@ -73,4 +73,6 @@ mount_usr()
|
|
Harald Hoyer |
66318b |
fi
|
|
Harald Hoyer |
66318b |
}
|
|
Harald Hoyer |
66318b |
|
|
Harald Hoyer |
66318b |
-mount_usr
|
|
Harald Hoyer |
66318b |
+if [ -f "$NEWROOT/etc/fstab" ]; then
|
|
Harald Hoyer |
66318b |
+ mount_usr
|
|
Harald Hoyer |
66318b |
+fi
|