summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2009-04-24 16:03:01 +0000
committerOlivier Blin <oblin@mandriva.com>2009-04-24 16:03:01 +0000
commita2c7958e7c7a315fbb02e058aed8526ae31488e7 (patch)
tree9b90ac91150c4fd04691ad50f41c27003eb8be32
parent96ed55ed7896e4b562ce9882507e04b700800038 (diff)
downloaddrakiso-a2c7958e7c7a315fbb02e058aed8526ae31488e7.tar
drakiso-a2c7958e7c7a315fbb02e058aed8526ae31488e7.tar.gz
drakiso-a2c7958e7c7a315fbb02e058aed8526ae31488e7.tar.bz2
drakiso-a2c7958e7c7a315fbb02e058aed8526ae31488e7.tar.xz
drakiso-a2c7958e7c7a315fbb02e058aed8526ae31488e7.zip
revert sizelimit/offset options (they do not match our patched util-linux-ng, thanks teuf)
-rwxr-xr-xdraklive2
1 files changed, 1 insertions, 1 deletions
diff --git a/draklive b/draklive
index 92331fb..a9812ca 100755
--- a/draklive
+++ b/draklive
@@ -653,7 +653,7 @@ EOF
require devices;
my $loop = devices::find_free_loop();
- run_('losetup', '--offset', $part_start * $sector_size, '--sizelimit', $part_nb_sectors * $sector_size, $loop, $dest)
+ run_('losetup', '-o', $part_start * $sector_size, '-s', $part_nb_sectors * $sector_size, $loop, $dest)
or die "unable to setup loop device";
MDV::Draklive::Utils::device_mkfs($loop, $fs) or die "unable to format $dest\n";