# HG changeset patch # User Pascal Bellard # Date 1425635495 -3600 # Node ID 98eec404c54e331eddb9ed6f15e2fa16c863b5b4 # Parent b942370ae50f19b8c2db3571f3f4e1a1aaac550b linux-libre: build all modules packages diff -r b942370ae50f -r 98eec404c54e linux-libre/receipt --- a/linux-libre/receipt Fri Mar 06 10:37:21 2015 +0100 +++ b/linux-libre/receipt Fri Mar 06 10:51:35 2015 +0100 @@ -152,6 +152,14 @@ # Remove unresolved links rm -f $fs/lib/modules/$VERSION-slitaz/build rm -f $fs/lib/modules/$VERSION-slitaz/source + + # Pack all packages with a kernel module + for i in $(cd $WOK; grep -l '^WANTED="linux-libre"' */receipt) + do + [ ! -d "$install/lib/modules/$VERSION-slitaz" ] && return 1 + cook ${i%/receipt} + done + # Check and echo any module in kernel .config that's not added to # one of linux-* pkgs export PACKAGE