summaryrefslogtreecommitdiffstats
path: root/perl-install/modules.pm
blob: 6e448a9165f8fa88dabe5ea4f803ebde94ba851b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
-rw-r--r--
perl-install/install_messages.pm2
-rw-r--r--perl-install/share/po/DrakX.pot2
-rw-r--r--perl-install/share/po/af.po4
-rw-r--r--perl-install/share/po/am.po4
-rw-r--r--perl-install/share/po/ar.po4
-rw-r--r--perl-install/share/po/az.po4
-rw-r--r--perl-install/share/po/be.po4
-rw-r--r--perl-install/share/po/bg.po4
-rw-r--r--perl-install/share/po/bn.po4
-rw-r--r--perl-install/share/po/bs.po4
-rw-r--r--perl-install/share/po/ca.po4
-rw-r--r--perl-install/share/po/cs.po4
-rw-r--r--perl-install/share/po/cy.po4
-rw-r--r--perl-install/share/po/da.po4
-rw-r--r--perl-install/share/po/de.po4
-rw-r--r--perl-install/share/po/el.po4
-rw-r--r--perl-install/share/po/eo.po4
-rw-r--r--perl-install/share/po/es.po4
-rw-r--r--perl-install/share/po/et.po4
-rw-r--r--perl-install/share/po/eu.po4
-rw-r--r--perl-install/share/po/fa.po4
-rw-r--r--perl-install/share/po/fi.po4
-rw-r--r--perl-install/share/po/fr.po4
-rw-r--r--perl-install/share/po/fur.po2
-rw-r--r--perl-install/share/po/ga.po4
-rw-r--r--perl-install/share/po/gl.po4
-rw-r--r--perl-install/share/po/he.po4
-rw-r--r--perl-install/share/po/hi.po4
-rw-r--r--perl-install/share/po/hr.po4
-rw-r--r--perl-install/share/po/hu.po4
-rw-r--r--perl-install/share/po/id.po4
-rw-r--r--perl-install/share/po/is.po4
-rw-r--r--perl-install/share/po/it.po4
-rw-r--r--perl-install/share/po/ja.po4
-rw-r--r--perl-install/share/po/ko.po4
-rw-r--r--perl-install/share/po/ky.po2
-rw-r--r--perl-install/share/po/lt.po4
-rw-r--r--perl-install/share/po/ltg.po4
-rw-r--r--perl-install/share/po/lv.po4
-rw-r--r--perl-install/share/po/mk.po4
-rw-r--r--perl-install/share/po/mn.po4
-rw-r--r--perl-install/share/po/ms.po4
-rw-r--r--perl-install/share/po/mt.po4
-rw-r--r--perl-install/share/po/nb.po4
-rw-r--r--perl-install/share/po/nl.po4
-rw-r--r--perl-install/share/po/nn.po4
-rw-r--r--perl-install/share/po/pl.po4
-rw-r--r--perl-install/share/po/pt.po4
-rw-r--r--perl-install/share/po/pt_BR.po4
-rw-r--r--perl-install/share/po/ro.po4
-rw-r--r--perl-install/share/po/ru.po4
-rw-r--r--perl-install/share/po/sk.po4
-rw-r--r--perl-install/share/po/sl.po4
-rw-r--r--perl-install/share/po/sq.po4
-rw-r--r--perl-install/share/po/sr.po4
-rw-r--r--perl-install/share/po/sr@Latn.po4
-rw-r--r--perl-install/share/po/sv.po4
-rw-r--r--perl-install/share/po/ta.po4
-rw-r--r--perl-install/share/po/tg.po4
-rw-r--r--perl-install/share/po/th.po4
-rw-r--r--perl-install/share/po/tl.po4
-rw-r--r--perl-install/share/po/tr.po4
-rw-r--r--perl-install/share/po/uk.po4
-rw-r--r--perl-install/share/po/uz.po4
-rw-r--r--perl-install/share/po/uz@Latn.po4
-rw-r--r--perl-install/share/po/vi.po4
-rw-r--r--perl-install/share/po/wa.po4
-rw-r--r--perl-install/share/po/zh_CN.po4
-rw-r--r--perl-install/share/po/zh_TW.po4
69 files changed, 134 insertions, 134 deletions
diff --git a/perl-install/install_messages.pm b/perl-install/install_messages.pm
index 764007fa1..cb7fe15ed 100644
--- a/perl-install/install_messages.pm
+++ b/perl-install/install_messages.pm
@@ -141,7 +141,7 @@ consult the Errata available from:
Information on configuring your system is available in the post
install chapter of the Official Mandrakelinux User's Guide.",
-N("http://www.mandrakelinux.com/en/101errata.php3"));
+N("http://www.mandrakelinux.com/en/102errata.php3"));
}
1;
diff --git a/perl-install/share/po/DrakX.pot b/perl-install/share/po/DrakX.pot
index 5a552c286..b821c796a 100644
--- a/perl-install/share/po/DrakX.pot
+++ b/perl-install/share/po/DrakX.pot
@@ -4888,7 +4888,7 @@ msgstr ""
#. -PO: keep the double empty lines between sections, this is formatted a la LaTeX
#: install_messages.pm:144
#, c-format
-msgid "http://www.mandrakelinux.com/en/101errata.php3"
+msgid "http://www.mandrakelinux.com/en/102errata.php3"
msgstr ""
#: install_steps.pm:246
diff --git a/perl-install/share/po/af.po b/perl-install/share/po/af.po
index 8920299cc..b7e2eb5e2 100644
--- a/perl-install/share/po/af.po
+++ b/perl-install/share/po/af.po
functions #-############################################################################### sub write_preload_conf { my ($conf) = @_; my @l; my $is_laptop = detect_devices::isLaptop(); my $manufacturer = detect_devices::dmidecode_category('System')->{Manufacturer}; push @l, 'scsi_hostadapter' if $conf->get_probeall('scsi_hostadapter'); push @l, detect_devices::probe_name('Module'); push @l, 'nvram' if $is_laptop; push @l, map { $_->{driver} } detect_devices::probe_category($_) foreach qw(multimedia/dvb multimedia/tv various/agpgart various/laptop input/joystick various/crypto disk/card_reader); push @l, 'padlock-aes', 'padlock-sha' if cat_("/proc/cpuinfo") =~ /rng_en/; push @l, 'evdev' if detect_devices::hasTouchpad(); push @l, 'evdev' if any { $_->{HWHEEL} } detect_devices::getInputDevices(); push @l, 'hdaps' if $is_laptop && $manufacturer eq 'LENOVO'; append_to_modules_loaded_at_startup("$::prefix/etc/modprobe.preload", @l); } sub append_to_modules_loaded_at_startup_for_all_kernels { append_to_modules_loaded_at_startup($_, @_) foreach "$::prefix/etc/modprobe.preload"; } sub append_to_modules_loaded_at_startup { my ($file, @l) = @_; my $l = join '|', map { '^\s*' . $_ . '\s*$' } @l; log::l("to put in $file ", join(", ", @l)); substInFile { $_ = '' if $l && /$l/; $_ .= join '', map { "$_\n" } @l if eof; } $file; } sub set_preload_modules { my ($service, @modules) = @_; my $preload_file = "$::prefix/etc/modprobe.preload.d/$service"; if (@modules) { output_p($preload_file, join("\n", @modules, '')); } else { unlink($preload_file); } eval { load(@modules) } if @modules && !$::isInstall; } #-############################################################################### #- internal functions #-############################################################################### sub loaded_modules() { map { /(\S+)/ } cat_("/proc/modules"); } sub filter_out_loaded_modules { my (@l) = @_; difference2([ uniq(@l) ], [ map { my $s = $_; $s =~ s/_/-/g; $s, $_ } loaded_modules() ]); } sub read_already_loaded { my ($conf) = @_; when_load($conf, $_) foreach reverse loaded_modules(); } sub when_load { my ($conf, $name) = @_; if (my $category = module2category($name)) { when_load_category($conf, $name, $category); } if (my @above = $conf->get_above($name)) { load(@above); #- eg: for snd-pcm-oss set by set_sound_slot() } } sub when_load_category { my ($conf, $name, $category) = @_; if ($category =~ m,disk/ide,) { $conf->add_probeall('ide-controller', $name); eval { load('ide_gd_mod') }; } elsif ($category =~ m,disk/(scsi|hardware_raid|sata|firewire|virtual),) { $conf->add_probeall('scsi_hostadapter', $name); eval { load('sd_mod') }; } elsif ($category eq 'bus/usb') { $conf->add_probeall('usb-interface', $name); -f '/sys/kernel/debug/usb/devices' or eval { require fs::mount; fs::mount::sys_kernel_debug(''); #- ensure keyboard is working, the kernel must do the job the BIOS was doing sleep 4; load("usbhid") if detect_devices::usbKeyboards(); }; } elsif ($category eq 'bus/firewire') { $conf->set_alias('ieee1394-controller', $name); } elsif ($category =~ /sound/) { my $sound_alias = find { /^sound-slot-[0-9]+$/ && $conf->get_alias($_) eq $name } $conf->modules; $sound_alias ||= 'sound-slot-0'; $conf->set_sound_slot($sound_alias, $name); } elsif ($category =~ m!disk/card_reader!) { my @modules = ('mmc_block', if_($name =~ /tifm_7xx1/, 'tifm_sd')); $conf->set_above($name, join(' ', @modules)); } } 1;