From: Harald Hoyer Date: Tue, 10 Aug 2010 13:54:03 +0000 (+0200) Subject: dracut-functions: filter_kernel_modules() search in extra dirs X-Git-Tag: 008~123 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1f9de919e01c1563753f74d3f2fd6bac1aeac556;p=thirdparty%2Fdracut.git dracut-functions: filter_kernel_modules() search in extra dirs search also in "extra" and "weak-updates" for kernel modules https://bugzilla.redhat.com/show_bug.cgi?id=622641 --- diff --git a/dracut-functions b/dracut-functions index 421f2c742..409e9ed23 100755 --- a/dracut-functions +++ b/dracut-functions @@ -632,7 +632,7 @@ for_each_kmod_dep() { # This function returns the full filenames of modules that match $1 filter_kernel_modules () ( if ! [[ $hostonly ]]; then - filtercmd='find "$srcmods/kernel/drivers" -name "*.ko" -o -name "*.ko.gz"' + filtercmd='find "$srcmods/kernel/drivers" "$srcmods/extra" "$srcmods/weak-updates" -name "*.ko" -o -name "*.ko.gz" 2>/dev/null' else filtercmd='cut -d " " -f 1