wok rev 17733
linux-libre: build all modules packages
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 06 10:51:35 2015 +0100 (2015-03-06) |
parents | b942370ae50f |
children | 3dd7afb348a9 |
files | linux-libre/receipt |
line diff
1.1 --- a/linux-libre/receipt Fri Mar 06 10:37:21 2015 +0100 1.2 +++ b/linux-libre/receipt Fri Mar 06 10:51:35 2015 +0100 1.3 @@ -152,6 +152,14 @@ 1.4 # Remove unresolved links 1.5 rm -f $fs/lib/modules/$VERSION-slitaz/build 1.6 rm -f $fs/lib/modules/$VERSION-slitaz/source 1.7 + 1.8 + # Pack all packages with a kernel module 1.9 + for i in $(cd $WOK; grep -l '^WANTED="linux-libre"' */receipt) 1.10 + do 1.11 + [ ! -d "$install/lib/modules/$VERSION-slitaz" ] && return 1 1.12 + cook ${i%/receipt} 1.13 + done 1.14 + 1.15 # Check and echo any module in kernel .config that's not added to 1.16 # one of linux-* pkgs 1.17 export PACKAGE