summaryrefslogtreecommitdiffstats
path: root/tools/draklive
diff options
context:
space:
mode:
Diffstat (limited to 'tools/draklive')
-rwxr-xr-xtools/draklive5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/draklive b/tools/draklive
index 7d4e459d0..8e6b6f5aa 100755
--- a/tools/draklive
+++ b/tools/draklive
@@ -343,6 +343,11 @@ sub create_initrd_for_media {
@$skipped and warn "skipped modules:" . join("\n", '', sort(@$skipped));
+ #- move ide-generic to end of loaded modules, so that it registers unhandled drives only
+ #- this avoid it to take-over drives which would have been managed by SATA modules
+ my ($head, $tail) = partition { $_ ne 'ide-generic' } @$modules;
+ @$modules = (@$head, @$tail);
+
create_initrd_linuxrc($live, $media, @module_deps, @$modules);
compress_initrd_tree($live, $media);
add_splash($live, $media);