forked from srbala/fedora-kickstarts
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
This commit is contained in:
parent
60b147e10d
commit
3cb271878a
@ -113,7 +113,7 @@ touch /.liveimg-configured
|
|||||||
# mount live image
|
# mount live image
|
||||||
if [ -b \`readlink -f /dev/live\` ]; then
|
if [ -b \`readlink -f /dev/live\` ]; then
|
||||||
mkdir -p /mnt/live
|
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
|
fi
|
||||||
|
|
||||||
# enable swaps unless requested otherwise
|
# enable swaps unless requested otherwise
|
||||||
|
Loading…
Reference in New Issue
Block a user