summaryrefslogtreecommitdiffstats
path: root/perl-install/install_any.pm
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-03-15 17:04:03 +0000
committerOlivier Blin <oblin@mandriva.org>2005-03-15 17:04:03 +0000
commit38ee09c12951a64a51d5175714fcfd3fa11a2d18 (patch)
tree91d852951de9687456c18e8e309388bbc9291f16 /perl-install/install_any.pm
parentcf5f4d02bc5380afa126c75c724517aff6356ea7 (diff)
downloaddrakx-backup-do-not-use-38ee09c12951a64a51d5175714fcfd3fa11a2d18.tar
drakx-backup-do-not-use-38ee09c12951a64a51d5175714fcfd3fa11a2d18.tar.gz
drakx-backup-do-not-use-38ee09c12951a64a51d5175714fcfd3fa11a2d18.tar.bz2
drakx-backup-do-not-use-38ee09c12951a64a51d5175714fcfd3fa11a2d18.tar.xz
drakx-backup-do-not-use-38ee09c12951a64a51d5175714fcfd3fa11a2d18.zip
fix pcmcia modules loading
Diffstat (limited to 'perl-install/install_any.pm')
-rw-r--r--perl-install/install_any.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm
index 6facb451b..b045cda5c 100644
--- a/perl-install/install_any.pm
+++ b/perl-install/install_any.pm
@@ -1792,7 +1792,9 @@ sub configure_pcmcia {
symlink "/tmp/stage2/$_", $_ foreach "/etc/pcmcia";
- eval { modules::load('pcmcia_core', $pcic, 'ds') };
+ #- ds is an alias for pcmcia in recent 2.6 kernels
+ #- but we don't have modules.alias in install, so try to load both
+ eval { modules::load('pcmcia', $pcic, 'ds', 'pcmcia') };
#- run cardmgr in foreground while it is configuring the card.
run_program::run("cardmgr", "-f", "-m", "/modules");