summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2006-03-01 15:10:01 +0000
committerOlivier Blin <oblin@mandriva.org>2006-03-01 15:10:01 +0000
commitdb6bfd0af48f507f3dd31b855d34605e623e8f42 (patch)
treeecd98534bd0d845b6e0679336bf68463911b8786
parent414bb1950c847884b94d96c94b091c7d30b55ba8 (diff)
downloaddrakx-db6bfd0af48f507f3dd31b855d34605e623e8f42.tar
drakx-db6bfd0af48f507f3dd31b855d34605e623e8f42.tar.gz
drakx-db6bfd0af48f507f3dd31b855d34605e623e8f42.tar.bz2
drakx-db6bfd0af48f507f3dd31b855d34605e623e8f42.tar.xz
drakx-db6bfd0af48f507f3dd31b855d34605e623e8f42.zip
move ide-generic to end of loaded modules
-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);