# HG changeset patch # User Christopher Rogers # Date 1289620645 0 # Node ID f88c7e10681bbfed3238da8ce494028eb9cd4859 # Parent 7b2d17996a1553a2b692d19f3fcbac2a2d75d5e1 Fixed linux-sound and linux-netfilter to have same fix thats in last commit. diff -r 7b2d17996a15 -r f88c7e10681b linux-netfilter/receipt --- a/linux-netfilter/receipt Sat Nov 13 03:27:43 2010 +0000 +++ b/linux-netfilter/receipt Sat Nov 13 03:57:25 2010 +0000 @@ -9,7 +9,6 @@ WANTED="linux" WEB_SITE="http://www.kernel.org/" - # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { @@ -27,6 +26,12 @@ cp -a $_pkg/$path/$module $fs/$dir done rm -r $fs/$path/net/ipv6 + + for i in $(cat $WOK/$WANTED/stuff/modules-$VERSION.list); do + if [ $fs/lib/modules/$VERSION-slitaz/kernel/$i ]; then + rm -f $fs/lib/modules/$VERSION-slitaz/kernel/$i + fi + done } # Post install/remove commands for Tazpkg. diff -r 7b2d17996a15 -r f88c7e10681b linux-sound/receipt --- a/linux-sound/receipt Sat Nov 13 03:27:43 2010 +0000 +++ b/linux-sound/receipt Sat Nov 13 03:57:25 2010 +0000 @@ -27,6 +27,12 @@ cp -a $_pkg/lib/firmware/$i $fs/lib/firmware done + for i in $(cat $WOK/$WANTED/stuff/modules-$VERSION.list); do + if [ $fs/lib/modules/$VERSION-slitaz/kernel/$i ]; then + rm -f $fs/lib/modules/$VERSION-slitaz/kernel/$i + fi + done + } # Post install/remove commands for Tazpkg.