diff options
author | Olivier Blin <oblin@mandriva.com> | 2008-07-23 09:19:05 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2008-07-23 09:19:05 +0000 |
commit | 2171618789017574373461b6011fbab38e5aaddb (patch) | |
tree | fbe86d9a8382a90462beca66748507000574006f | |
parent | 6da10bf342fd6c68eeb52edfebf1cf46cb8507a8 (diff) | |
download | drakiso-2171618789017574373461b6011fbab38e5aaddb.tar drakiso-2171618789017574373461b6011fbab38e5aaddb.tar.gz drakiso-2171618789017574373461b6011fbab38e5aaddb.tar.bz2 drakiso-2171618789017574373461b6011fbab38e5aaddb.tar.xz drakiso-2171618789017574373461b6011fbab38e5aaddb.zip |
fix loopback extension
-rwxr-xr-x | draklive | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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}", ); |