wok-6.x rev 13576
linux/list_modules.sh: modules.list has moved... (typo)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Nov 05 11:23:50 2012 +0100 (2012-11-05) |
parents | 81e766fe2520 |
children | 2771a5b12f2f |
files | linux/stuff/list_modules.sh |
line diff
1.1 --- a/linux/stuff/list_modules.sh Mon Nov 05 11:02:15 2012 +0100 1.2 +++ b/linux/stuff/list_modules.sh Mon Nov 05 11:23:50 2012 +0100 1.3 @@ -34,7 +34,7 @@ 1.4 done | awk '{ for (i = 1; i <= NF; i++) print $i; }' 1.5 done | sort | uniq | sed -e 's,.*slitaz/,,' -e 's,^kernel/,,' -e 's/:$//' | \ 1.6 while read module; do 1.7 - grep -qs ^$module$ $src/../tmp//modules.list && continue 1.8 + grep -qs ^$module$ $src/../tmp/modules.list && continue 1.9 if [ ! -f $_pkg/lib/modules/*-slitaz/kernel/$module ]; then 1.10 (cd $_pkg/lib/modules/*-slitaz/kernel; find -name $(basename $module) ) 1.11 else