fedora-live-base.ks | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 3cb271878a051e983ab39977ee2f1fe9e6c1fdae
Author: Jeremy Katz <katzj(a)redhat.com>
Date: Wed Oct 15 12:57:03 2008 -0400
Fall back to mounting /dev/live as rw
If we're using the live image for a persistent overlay, we can't mount it ro,
so just try to mount it rw if the ro mount fails
diff --git a/fedora-live-base.ks b/fedora-live-base.ks
index a72c1b7..0bb823c 100644
--- a/fedora-live-base.ks
+++ b/fedora-live-base.ks
@@ -113,7 +113,7 @@ touch /.liveimg-configured
# mount live image
if [ -b \`readlink -f /dev/live\` ]; then
mkdir -p /mnt/live
- mount -o ro /dev/live /mnt/live
+ mount -o ro /dev/live /mnt/live 2>/dev/null || mount /dev/live /mnt/live
fi
# enable swaps unless requested otherwise
Show replies by date