wok diff linux/stuff/list_modules.sh @ rev 22604
updated cocoalib (0.9952 -> 0.99650)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jan 09 14:33:11 2020 +0100 (2020-01-09) |
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 Thu Jan 09 14:33:11 2020 +0100 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