diff options
author | Thomas Backlund <tmb@mageia.org> | 2012-04-22 16:24:41 +0000 |
---|---|---|
committer | Thomas Backlund <tmb@mageia.org> | 2012-04-22 16:24:41 +0000 |
commit | 53ea16f9f81c7d89f67f44c3a244d2af376b28e4 (patch) | |
tree | 6efcf79a47c04ba60dc0beb544853c9ec2c2fdc7 /files/90mgalive/mgalive-root.sh | |
parent | ca6ca8af55c8f191d5d9826c6594e70d95a818e6 (diff) | |
download | draklive-config-53ea16f9f81c7d89f67f44c3a244d2af376b28e4.tar draklive-config-53ea16f9f81c7d89f67f44c3a244d2af376b28e4.tar.gz draklive-config-53ea16f9f81c7d89f67f44c3a244d2af376b28e4.tar.bz2 draklive-config-53ea16f9f81c7d89f67f44c3a244d2af376b28e4.tar.xz draklive-config-53ea16f9f81c7d89f67f44c3a244d2af376b28e4.zip |
make sure to strip partition number only on /dev/sd... devices (mga #5518)
Diffstat (limited to 'files/90mgalive/mgalive-root.sh')
-rwxr-xr-x | files/90mgalive/mgalive-root.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/files/90mgalive/mgalive-root.sh b/files/90mgalive/mgalive-root.sh index 6873e8c..457b9d0 100755 --- a/files/90mgalive/mgalive-root.sh +++ b/files/90mgalive/mgalive-root.sh @@ -18,7 +18,7 @@ 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') +realdev=$(echo $livedev |sed 's,\(/dev/sd[a-z]\)1,\1,g') # mount the livecd mount -n -t iso9660 -o ro $realdev /live/media |