summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2015-04-12 00:12:05 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2015-04-12 22:55:01 +0200
commit94b06b58c42a03afcbf9c495886d22310423553d (patch)
treee001c25ee472d0f38c806bfb4a5f67906fd4575a /perl-install
parent012092f339a35e884a511a9a46837210aec208ff (diff)
downloaddrakx-94b06b58c42a03afcbf9c495886d22310423553d.tar
drakx-94b06b58c42a03afcbf9c495886d22310423553d.tar.gz
drakx-94b06b58c42a03afcbf9c495886d22310423553d.tar.bz2
drakx-94b06b58c42a03afcbf9c495886d22310423553d.tar.xz
drakx-94b06b58c42a03afcbf9c495886d22310423553d.zip
support loading patches from ntfs-3g USB keys
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/install/any.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/install/any.pm b/perl-install/install/any.pm
index b067d6570..c5b4608f6 100644
--- a/perl-install/install/any.pm
+++ b/perl-install/install/any.pm
@@ -1004,7 +1004,7 @@ sub getAndSaveAutoInstallFloppies {
{
my $dev = devices::set_loop($img) or log::l("couldn't set loopback device"), return;
- find { eval { fs::mount::mount($dev, $mountdir, $_, 0); 1 } } qw(ext2 vfat) or return;
+ find { eval { fs::mount::mount($dev, $mountdir, $_, 0); 1 } } qw(ext2 vfat ntfs-3g) or return;
if (-e "$mountdir/menu.lst") {
# hd_grub boot disk is different than others
@@ -1068,7 +1068,7 @@ sub loadO {
my $o;
foreach (removable_media__early_in_install()) {
my $dev = devices::make($_->{device});
- foreach my $fs (qw(ext2 vfat)) {
+ foreach my $fs (qw(ext2 vfat ntfs-3g)) {
eval { fs::mount::mount($dev, '/mnt', $fs, 'readonly'); 1 } or next;
if (my $abs_f = find { -e $_ } "/mnt/$f", "/mnt/$f.pl") {
$o = loadO_($O, $abs_f);