diff options
author | Joe Lawrence <Joe.Lawrence@stratus.com> | 2013-01-24 17:26:43 -0500 |
---|---|---|
committer | Harald Hoyer <harald@redhat.com> | 2013-01-25 13:07:59 +0100 |
commit | fa9f15e3be811bd1e55938fa92a110f9d389342d (patch) | |
tree | 9f9dccac1fbab17d4066835f0842b2a34365130f /dracut-functions.sh | |
parent | ae4758ce0d0ceeddabe4a78dd575c7b42c349a88 (diff) | |
download | dracut-fa9f15e3be811bd1e55938fa92a110f9d389342d.tar.gz dracut-fa9f15e3be811bd1e55938fa92a110f9d389342d.tar.bz2 dracut-fa9f15e3be811bd1e55938fa92a110f9d389342d.zip |
Support out-of-tree and updated drivers in initramfs creation
The find_kernel_modules_by_path function shouldn't filter out modules not
located underneath the /lib/modules/ver/kernel directory as out-of-tree
drivers may reside in /lib/modules/ver/extra and updated drivers in
/lib/modules/ver/updates.
Signed-off-by: Joe Lawrence <joe.lawrence@stratus.com>
Diffstat (limited to 'dracut-functions.sh')
-rwxr-xr-x | dracut-functions.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dracut-functions.sh b/dracut-functions.sh index e23db763..f7e3ec80 100755 --- a/dracut-functions.sh +++ b/dracut-functions.sh @@ -1502,7 +1502,7 @@ find_kernel_modules_by_path () ( _OLDIFS=$IFS IFS=: while read a rest; do - [[ $a = kernel*/$1/* ]] || continue + [[ $a = */$1/* ]] || continue echo $srcmods/$a done < $srcmods/modules.dep IFS=$_OLDIFS |