summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-07-23 09:19:05 +0000
committerOlivier Blin <oblin@mandriva.com>2008-07-23 09:19:05 +0000
commit2171618789017574373461b6011fbab38e5aaddb (patch)
treefbe86d9a8382a90462beca66748507000574006f
parent6da10bf342fd6c68eeb52edfebf1cf46cb8507a8 (diff)
downloaddrakiso-2171618789017574373461b6011fbab38e5aaddb.tar
drakiso-2171618789017574373461b6011fbab38e5aaddb.tar.gz
drakiso-2171618789017574373461b6011fbab38e5aaddb.tar.bz2
drakiso-2171618789017574373461b6011fbab38e5aaddb.tar.xz
drakiso-2171618789017574373461b6011fbab38e5aaddb.zip
fix loopback extension
-rwxr-xr-xdraklive4
1 files changed, 2 insertions, 2 deletions
diff --git a/draklive b/draklive
index 17c1324..4776f4a 100755
--- a/draklive
+++ b/draklive
@@ -270,7 +270,7 @@ my %loop;
$dir->{loop} = "/dev/loop" . $loop_number++;
my $media_loopbacks = get_media_prefix($live, 'loopbacks');
(
- "/bin/losetup $dir->{loop} $live->{prefix}{live}{mnt}$live->{prefix}{media}{mnt}${media_loopbacks}$dir->{path}.$loop{squashfs}{extension}",
+ "/bin/losetup $dir->{loop} $live->{prefix}{live}{mnt}$live->{prefix}{media}{mnt}${media_loopbacks}$dir->{path}$loop{squashfs}{extension}",
"nash-mount -o ro -t squashfs $dir->{loop} $live->{prefix}{live}{mnt}$dir->{mountpoint}",
);
},
@@ -301,7 +301,7 @@ my %loop;
my $fsck = "chroot </dev/tty1 $live->{prefix}{live}{mnt}$dir_distrib_sqfs->{mountpoint} /sbin/fsck $dir->{loop}";
my $media_loopbacks = get_media_prefix($live, 'loopbacks');
(
- "losetup $dir->{loop} $live->{prefix}{live}{mnt}$live->{prefix}{media}{mnt}${media_loopbacks}$dir->{path}.$loop{loopfs}{extension}",
+ "losetup $dir->{loop} $live->{prefix}{live}{mnt}$live->{prefix}{media}{mnt}${media_loopbacks}$dir->{path}$loop{loopfs}{extension}",
qq(sh -c "$fsck -a || $fsck -y"),
"nash-mount -t $dir->{fs} $dir->{loop} $live->{prefix}{live}{mnt}$dir->{mountpoint}",
);