From 1d083a8aefa59e83c77f86cf68ff84256e1bcd57 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Mon, 17 Sep 2007 12:29:15 +0000 Subject: - 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 --- perl-install/install/NEWS | 2 ++ perl-install/modules.pm | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'perl-install') 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 { -- cgit v1.2.1