summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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')));