wok-next diff linux/stuff/list_modules.sh @ rev 17934
syslinux/taziso: typo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Apr 13 17:56:30 2015 +0200 (2015-04-13) |
parents | 31ece15b363f |
children |
line diff
1.1 --- a/linux/stuff/list_modules.sh Sat Aug 16 23:25:23 2014 +0200 1.2 +++ b/linux/stuff/list_modules.sh Mon Apr 13 17:56:30 2015 +0200 1.3 @@ -31,7 +31,7 @@ 1.4 grep /$module: $install/lib/modules/*-slitaz*/modules.dep || 1.5 find $install/lib/modules/*-slitaz*/kernel/$tree -name $module 1.6 done | awk '{ for (i = 1; i <= NF; i++) print $i; }' 1.7 -done | sort | uniq | sed -e 's,.*slitaz*/,,' -e 's,^kernel/,,' -e 's/:$//' | \ 1.8 +done | sort | uniq | sed -e 's,.*slitaz[64]*/,,' -e 's,^kernel/,,' -e 's/:$//' | \ 1.9 while read module; do 1.10 grep -qs ^$module$ $src/../tmp/modules.list && continue 1.11 if [ ! -f $install/lib/modules/*-slitaz*/kernel/$module ]; then