diff options
author | Thomas Backlund <tmb@mageia.org> | 2012-04-15 20:29:28 +0000 |
---|---|---|
committer | Thomas Backlund <tmb@mageia.org> | 2012-04-15 20:29:28 +0000 |
commit | 90b80e171ec79fe267507f95a0d3d5d538465b8c (patch) | |
tree | 87fbddf78490e6ee40fd2841c0e0a5a906fdf204 /files/90mgalive | |
parent | 2aaf0751d4e46493d1ebca0fda72b76e959f4a3a (diff) | |
download | draklive-config-90b80e171ec79fe267507f95a0d3d5d538465b8c.tar draklive-config-90b80e171ec79fe267507f95a0d3d5d538465b8c.tar.gz draklive-config-90b80e171ec79fe267507f95a0d3d5d538465b8c.tar.bz2 draklive-config-90b80e171ec79fe267507f95a0d3d5d538465b8c.tar.xz draklive-config-90b80e171ec79fe267507f95a0d3d5d538465b8c.zip |
fix udev isohybrid LABEL issues (mga #3334)
Diffstat (limited to 'files/90mgalive')
-rwxr-xr-x | files/90mgalive/mgalive-root.sh | 7 |
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 |