Fix mounting of live image backing store on /mnt/live
This commit is contained in:
parent
08cb98be0e
commit
3a0bf25927
@ -111,7 +111,7 @@ exists() {
|
|||||||
touch /.liveimg-configured
|
touch /.liveimg-configured
|
||||||
|
|
||||||
# mount live image
|
# mount live image
|
||||||
if [ -b /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
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user