summaryrefslogtreecommitdiffstats
path: root/lib/MDV
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@mandriva.com>2009-02-13 10:17:54 +0000
committerChristophe Fergeau <cfergeau@mandriva.com>2009-02-13 10:17:54 +0000
commit86db69764c386e4c2c4046b126a07c530db90d58 (patch)
tree9649dd0db9db6b2d4aa5c41d8a1147a9395c49c7 /lib/MDV
parentd049ae3afc723bd9edcb379e8f13db0c353dc30d (diff)
downloaddraklive-86db69764c386e4c2c4046b126a07c530db90d58.tar
draklive-86db69764c386e4c2c4046b126a07c530db90d58.tar.gz
draklive-86db69764c386e4c2c4046b126a07c530db90d58.tar.bz2
draklive-86db69764c386e4c2c4046b126a07c530db90d58.tar.xz
draklive-86db69764c386e4c2c4046b126a07c530db90d58.zip
Handle relative paths in modules.dep
Diffstat (limited to 'lib/MDV')
-rw-r--r--lib/MDV/Draklive/Initrd.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/MDV/Draklive/Initrd.pm b/lib/MDV/Draklive/Initrd.pm
index 494c55c..da112a3 100644
--- a/lib/MDV/Draklive/Initrd.pm
+++ b/lib/MDV/Draklive/Initrd.pm
@@ -118,7 +118,7 @@ sub create_media_specific_initrd {
print "using kernel $kernel\n";
my $kernel_root = "/lib/modules/" . $kernel;
- list_modules::load_dependencies($root . $kernel_root . "/modules.dep");
+ list_modules::load_dependencies($kernel_root . "/modules.dep", $root);
my ($storage_modules, $skipped) = partition { list_modules::modname2filename($_) }
uniq(map { modules::cond_mapping_24_26($_) } category2modules($media->get_media_setting('modules')));