summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xfiles/90mgalive/mgalive-root.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/files/90mgalive/mgalive-root.sh b/files/90mgalive/mgalive-root.sh
index 96f1fb1..6873e8c 100755
--- a/files/90mgalive/mgalive-root.sh
+++ b/files/90mgalive/mgalive-root.sh
@@ -15,8 +15,13 @@ mkdir -m 0755 -p /live/distrib
mkdir -m 0755 -p /live/memory
mkdir -m 0755 -p /live/union
+# fix udev isohybrid LABEL issues (mga #3334)
+# by reading the device we get, stripping away partition number,
+# and mounth the resulting device
+realdev=$(echo $livedev |sed 's,1,,g')
+
# mount the livecd
-mount -n -t iso9660 -o ro $livedev /live/media
+mount -n -t iso9660 -o ro $realdev /live/media
LOOPDEV=$( losetup -f )
losetup -r $LOOPDEV /live/media/loopbacks/distrib-lzma.sqfs