From 94b06b58c42a03afcbf9c495886d22310423553d Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Sun, 12 Apr 2015 00:12:05 +0200 Subject: support loading patches from ntfs-3g USB keys --- perl-install/install/any.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'perl-install/install/any.pm') 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); -- cgit v1.2.1