diff options
Diffstat (limited to 'lib/MGA')
-rw-r--r-- | lib/MGA/DrakISO/Loopback.pm | 4 | ||||
-rw-r--r-- | lib/MGA/DrakISO/Mounts.pm | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/lib/MGA/DrakISO/Loopback.pm b/lib/MGA/DrakISO/Loopback.pm index 5e8e38e..ed8cba7 100644 --- a/lib/MGA/DrakISO/Loopback.pm +++ b/lib/MGA/DrakISO/Loopback.pm @@ -1,8 +1,10 @@ package MGA::DrakISO::Loopback; +use strict; use MDK::Common; use File::Temp; +use MGA::DrakISO::Mounts; use MGA::DrakISO::Progress; use MGA::DrakISO::Utils; @@ -105,7 +107,7 @@ our %loop_types; mount => sub { my ($dir) = @_; $dir->{loop} = "/dev/loop" . $loop_number++; - my $sqfs = $dir_distrib_sqfs->{mountpoint}; + my $sqfs = $MGA::DrakISO::Mounts::dir_distrib_sqfs->{mountpoint}; my $fsck = "chroot </dev/tty1 /live/$sqfs /sbin/fsck $dir->{loop}"; my $extension = $dir->{path} . $loop_types{loopfs}{extension}; my $mountpoint = $dir->{mountpoint}; diff --git a/lib/MGA/DrakISO/Mounts.pm b/lib/MGA/DrakISO/Mounts.pm index c3c408d..ceaeb8b 100644 --- a/lib/MGA/DrakISO/Mounts.pm +++ b/lib/MGA/DrakISO/Mounts.pm @@ -4,7 +4,7 @@ use strict; use MDK::Common; -my $dir_distrib_sqfs = { +our $dir_distrib_sqfs = { mountpoint => '/distrib', type => 'squashfs', path => '/distrib', |