summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-09-17 12:29:15 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-09-17 12:29:15 +0000
commit1d083a8aefa59e83c77f86cf68ff84256e1bcd57 (patch)
treec4a3a7d023da7ab5bc66ca3332b0038761d919de /perl-install
parent073f7047d61bd8f85485251c8013b65589cbf9e2 (diff)
downloaddrakx-backup-do-not-use-1d083a8aefa59e83c77f86cf68ff84256e1bcd57.tar
drakx-backup-do-not-use-1d083a8aefa59e83c77f86cf68ff84256e1bcd57.tar.gz
drakx-backup-do-not-use-1d083a8aefa59e83c77f86cf68ff84256e1bcd57.tar.bz2
drakx-backup-do-not-use-1d083a8aefa59e83c77f86cf68ff84256e1bcd57.tar.xz
drakx-backup-do-not-use-1d083a8aefa59e83c77f86cf68ff84256e1bcd57.zip
- fix loading dependencies of kernel module "xxx-yyy" (instead of "xxx_yyy")
(eg: dm-mirror) hint: dependencies_closure("dm-mirror") doesn't work, whereas dependencies_closure("dm_mirror") do
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/install/NEWS2
-rw-r--r--perl-install/modules.pm2
2 files changed, 3 insertions, 1 deletions
diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS
index fdfd62e1a..8b5268beb 100644
--- a/perl-install/install/NEWS
+++ b/perl-install/install/NEWS
@@ -1,3 +1,5 @@
+- fix loading dependencies of kernel module "xxx-yyy" (instead of "xxx_yyy")
+ (eg: dm-mirror)
- report_bug: hide grub password (#33634)
- fix blocking wait_message (when they pop) (#33676, #33670)
- advertising: restore support for $title in .pl files (wrongly dropped in 10.4.195)
diff --git a/perl-install/modules.pm b/perl-install/modules.pm
index 3c67474b6..5789262ff 100644
--- a/perl-install/modules.pm
+++ b/perl-install/modules.pm
@@ -47,7 +47,7 @@ sub mapping_26_24 {
sub cond_mapping_24_26 {
my ($modname) = @_;
- $mappings_24_26{$modname} || $modname;
+ $mappings_24_26{$modname} || list_modules::filename2modname($modname);
}
sub module_is_available {