Fix mounting of live image backing store on /mnt/live

This commit is contained in:
Jeremy Katz 2008-06-03 13:42:24 +02:00 committed by Jeroen van Meeuwen (Fedora Unity)
parent 08cb98be0e
commit 3a0bf25927

View File

@ -111,7 +111,7 @@ exists() {
touch /.liveimg-configured
# mount live image
if [ -b /dev/live ]; then
if [ -b \`readlink -f /dev/live\` ]; then
mkdir -p /mnt/live
mount -o ro /dev/live /mnt/live
fi