wok-4.x rev 7239

Fixed wanted linux receipts to remove modules that are in modules-VERSION.list if they exist in other packages.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat Nov 13 03:27:43 2010 +0000 (2010-11-13)
parents df2d505e1727
children f88c7e10681b
files linux-acpi/receipt linux-agp/receipt linux-appletalk/receipt linux-bluetooth/receipt linux-bridge/receipt linux-btrfs/receipt linux-crypto/receipt linux-dialup/receipt linux-drm/receipt linux-firmware/receipt linux-input-misc/receipt linux-input-touchscreen/receipt linux-isdn/receipt linux-joystick/receipt linux-md/receipt linux-memstick/receipt linux-mmc/receipt linux-udf/receipt linux-wimax/receipt linux-wireless/receipt
line diff
     1.1 --- a/linux-acpi/receipt	Sat Nov 13 01:11:48 2010 +0000
     1.2 +++ b/linux-acpi/receipt	Sat Nov 13 03:27:43 2010 +0000
     1.3 @@ -28,6 +28,12 @@
     1.4      	[ -d $fs/$dir ] || mkdir -p $fs/$dir
     1.5          cp -a $_pkg/$path/$module $fs/$dir
     1.6      done
     1.7 +
     1.8 +    for i in $(cat $WOK/$WANTED/stuff/modules-$VERSION.list); do
     1.9 +        if [ $fs/lib/modules/$VERSION-slitaz/kernel/$i ]; then
    1.10 +	    rm -f $fs/lib/modules/$VERSION-slitaz/kernel/$i
    1.11 +	fi
    1.12 +    done
    1.13  }
    1.14  
    1.15  # Post install/remove commands for Tazpkg.
     2.1 --- a/linux-agp/receipt	Sat Nov 13 01:11:48 2010 +0000
     2.2 +++ b/linux-agp/receipt	Sat Nov 13 03:27:43 2010 +0000
     2.3 @@ -22,6 +22,12 @@
     2.4      	[ -d $fs/$dir ] || mkdir -p $fs/$dir
     2.5          cp -a $_pkg/$path/$module $fs/$dir
     2.6      done
     2.7 +
     2.8 +    for i in $(cat $WOK/$WANTED/stuff/modules-$VERSION.list); do
     2.9 +        if [ $fs/lib/modules/$VERSION-slitaz/kernel/$i ]; then
    2.10 +	    rm -f $fs/lib/modules/$VERSION-slitaz/kernel/$i
    2.11 +	fi
    2.12 +    done
    2.13  }
    2.14  
    2.15  # Post install/remove commands for Tazpkg.
     3.1 --- a/linux-appletalk/receipt	Sat Nov 13 01:11:48 2010 +0000
     3.2 +++ b/linux-appletalk/receipt	Sat Nov 13 03:27:43 2010 +0000
     3.3 @@ -9,7 +9,6 @@
     3.4  WANTED="linux"
     3.5  WEB_SITE="http://www.kernel.org/"
     3.6  
     3.7 -
     3.8  # Rules to gen a SliTaz package suitable for Tazpkg.
     3.9  genpkg_rules()
    3.10  {
    3.11 @@ -26,6 +25,12 @@
    3.12      	[ -d $fs/$dir ] || mkdir -p $fs/$dir
    3.13          cp -a $_pkg/$path/$module $fs/$dir
    3.14      done
    3.15 +
    3.16 +    for i in $(cat $WOK/$WANTED/stuff/modules-$VERSION.list); do
    3.17 +        if [ $fs/lib/modules/$VERSION-slitaz/kernel/$i ]; then
    3.18 +	    rm -f $fs/lib/modules/$VERSION-slitaz/kernel/$i
    3.19 +	fi
    3.20 +    done
    3.21  }
    3.22  
    3.23  # Post install/remove commands for Tazpkg.
     4.1 --- a/linux-bluetooth/receipt	Sat Nov 13 01:11:48 2010 +0000
     4.2 +++ b/linux-bluetooth/receipt	Sat Nov 13 03:27:43 2010 +0000
     4.3 @@ -22,6 +22,12 @@
     4.4      	[ -d $fs/$dir ] || mkdir -p $fs/$dir
     4.5          cp -a $_pkg/$path/$module $fs/$dir
     4.6      done
     4.7 +
     4.8 +    for i in $(cat $WOK/$WANTED/stuff/modules-$VERSION.list); do
     4.9 +        if [ $fs/lib/modules/$VERSION-slitaz/kernel/$i ]; then
    4.10 +	    rm -f $fs/lib/modules/$VERSION-slitaz/kernel/$i
    4.11 +	fi
    4.12 +    done
    4.13  }
    4.14  
    4.15  # Post install/remove commands for Tazpkg.
     5.1 --- a/linux-bridge/receipt	Sat Nov 13 01:11:48 2010 +0000
     5.2 +++ b/linux-bridge/receipt	Sat Nov 13 03:27:43 2010 +0000
     5.3 @@ -22,6 +22,12 @@
     5.4      	[ -d $fs/$dir ] || mkdir -p $fs/$dir
     5.5          cp -a $_pkg/$path/$module $fs/$dir
     5.6      done
     5.7 +
     5.8 +    for i in $(cat $WOK/$WANTED/stuff/modules-$VERSION.list); do
     5.9 +        if [ $fs/lib/modules/$VERSION-slitaz/kernel/$i ]; then
    5.10 +	    rm -f $fs/lib/modules/$VERSION-slitaz/kernel/$i
    5.11 +	fi
    5.12 +    done
    5.13  }
    5.14  
    5.15  # Post install/remove commands for Tazpkg.
     6.1 --- a/linux-btrfs/receipt	Sat Nov 13 01:11:48 2010 +0000
     6.2 +++ b/linux-btrfs/receipt	Sat Nov 13 03:27:43 2010 +0000
     6.3 @@ -24,6 +24,12 @@
     6.4          cp -a $_pkg/$path/$module $fs/$dir
     6.5      done
     6.6      touch $fs/etc/filesystems
     6.7 +
     6.8 +    for i in $(cat $WOK/$WANTED/stuff/modules-$VERSION.list); do
     6.9 +        if [ $fs/lib/modules/$VERSION-slitaz/kernel/$i ]; then
    6.10 +	    rm -f $fs/lib/modules/$VERSION-slitaz/kernel/$i
    6.11 +	fi
    6.12 +    done
    6.13  }
    6.14  
    6.15  # Post install/remove commands for Tazpkg.
     7.1 --- a/linux-crypto/receipt	Sat Nov 13 01:11:48 2010 +0000
     7.2 +++ b/linux-crypto/receipt	Sat Nov 13 03:27:43 2010 +0000
     7.3 @@ -23,6 +23,12 @@
     7.4      	[ -d $fs/$dir ] || mkdir -p $fs/$dir
     7.5          cp -a $_pkg/$path/$module $fs/$dir
     7.6      done
     7.7 +
     7.8 +    for i in $(cat $WOK/$WANTED/stuff/modules-$VERSION.list); do
     7.9 +        if [ $fs/lib/modules/$VERSION-slitaz/kernel/$i ]; then
    7.10 +	    rm -f $fs/lib/modules/$VERSION-slitaz/kernel/$i
    7.11 +	fi
    7.12 +    done
    7.13  }
    7.14  
    7.15  # Post install/remove commands for Tazpkg.
     8.1 --- a/linux-dialup/receipt	Sat Nov 13 01:11:48 2010 +0000
     8.2 +++ b/linux-dialup/receipt	Sat Nov 13 03:27:43 2010 +0000
     8.3 @@ -24,6 +24,12 @@
     8.4      	[ -d $fs/$dir ] || mkdir -p $fs/$dir
     8.5          cp -a $_pkg/$path/$module $fs/$dir
     8.6      done
     8.7 +
     8.8 +    for i in $(cat $WOK/$WANTED/stuff/modules-$VERSION.list); do
     8.9 +        if [ $fs/lib/modules/$VERSION-slitaz/kernel/$i ]; then
    8.10 +	    rm -f $fs/lib/modules/$VERSION-slitaz/kernel/$i
    8.11 +	fi
    8.12 +    done
    8.13  }
    8.14  
    8.15  # Post install/remove commands for Tazpkg.
     9.1 --- a/linux-drm/receipt	Sat Nov 13 01:11:48 2010 +0000
     9.2 +++ b/linux-drm/receipt	Sat Nov 13 03:27:43 2010 +0000
     9.3 @@ -22,6 +22,12 @@
     9.4  		[ -d $fs/$dir ] || mkdir -p $fs/$dir
     9.5  		cp -a $_pkg/$path/$module $fs/$dir
     9.6  	done
     9.7 +
     9.8 +    for i in $(cat $WOK/$WANTED/stuff/modules-$VERSION.list); do
     9.9 +        if [ $fs/lib/modules/$VERSION-slitaz/kernel/$i ]; then
    9.10 +	    rm -f $fs/lib/modules/$VERSION-slitaz/kernel/$i
    9.11 +	fi
    9.12 +    done
    9.13  }
    9.14  
    9.15  # Post install/remove commands for Tazpkg.
    10.1 --- a/linux-firmware/receipt	Sat Nov 13 01:11:48 2010 +0000
    10.2 +++ b/linux-firmware/receipt	Sat Nov 13 03:27:43 2010 +0000
    10.3 @@ -14,5 +14,10 @@
    10.4  {
    10.5  	mkdir -p $fs/lib
    10.6  	cp -a $_pkg/lib/firmware $fs/lib
    10.7 +
    10.8 +	# remove linux-sound firmware files
    10.9 +	for i in ess korg sun yamaha; do
   10.10 +		rm -rf $fs/lib/firmware/$i
   10.11 +	done
   10.12  }
   10.13  
    11.1 --- a/linux-input-misc/receipt	Sat Nov 13 01:11:48 2010 +0000
    11.2 +++ b/linux-input-misc/receipt	Sat Nov 13 03:27:43 2010 +0000
    11.3 @@ -22,6 +22,11 @@
    11.4          cp -a $_pkg/$path/$module $fs/$dir
    11.5      done
    11.6  
    11.7 +    for i in $(cat $WOK/$WANTED/stuff/modules-$VERSION.list); do
    11.8 +        if [ $fs/lib/modules/$VERSION-slitaz/kernel/$i ]; then
    11.9 +	    rm -f $fs/lib/modules/$VERSION-slitaz/kernel/$i
   11.10 +	fi
   11.11 +    done
   11.12  }
   11.13  
   11.14  # Post install/remove commands for Tazpkg.
    12.1 --- a/linux-input-touchscreen/receipt	Sat Nov 13 01:11:48 2010 +0000
    12.2 +++ b/linux-input-touchscreen/receipt	Sat Nov 13 03:27:43 2010 +0000
    12.3 @@ -23,6 +23,11 @@
    12.4          cp -a $_pkg/$path/$module $fs/$dir
    12.5      done
    12.6  
    12.7 +    for i in $(cat $WOK/$WANTED/stuff/modules-$VERSION.list); do
    12.8 +        if [ $fs/lib/modules/$VERSION-slitaz/kernel/$i ]; then
    12.9 +	    rm -f $fs/lib/modules/$VERSION-slitaz/kernel/$i
   12.10 +	fi
   12.11 +    done
   12.12  }
   12.13  
   12.14  # Post install/remove commands for Tazpkg.
    13.1 --- a/linux-isdn/receipt	Sat Nov 13 01:11:48 2010 +0000
    13.2 +++ b/linux-isdn/receipt	Sat Nov 13 03:27:43 2010 +0000
    13.3 @@ -22,6 +22,12 @@
    13.4      	[ -d $fs/$dir ] || mkdir -p $fs/$dir
    13.5          cp -a $_pkg/$path/$module $fs/$dir
    13.6      done
    13.7 +
    13.8 +    for i in $(cat $WOK/$WANTED/stuff/modules-$VERSION.list); do
    13.9 +        if [ $fs/lib/modules/$VERSION-slitaz/kernel/$i ]; then
   13.10 +	    rm -f $fs/lib/modules/$VERSION-slitaz/kernel/$i
   13.11 +	fi
   13.12 +    done
   13.13  }
   13.14  
   13.15  # Post install/remove commands for Tazpkg.
    14.1 --- a/linux-joystick/receipt	Sat Nov 13 01:11:48 2010 +0000
    14.2 +++ b/linux-joystick/receipt	Sat Nov 13 03:27:43 2010 +0000
    14.3 @@ -24,6 +24,12 @@
    14.4      	[ -d $fs/$dir ] || mkdir -p $fs/$dir
    14.5          cp -a $_pkg/$path/$module $fs/$dir
    14.6      done
    14.7 +
    14.8 +    for i in $(cat $WOK/$WANTED/stuff/modules-$VERSION.list); do
    14.9 +        if [ $fs/lib/modules/$VERSION-slitaz/kernel/$i ]; then
   14.10 +	    rm -f $fs/lib/modules/$VERSION-slitaz/kernel/$i
   14.11 +	fi
   14.12 +    done
   14.13  }
   14.14  
   14.15  # Post install/remove commands for Tazpkg.
    15.1 --- a/linux-md/receipt	Sat Nov 13 01:11:48 2010 +0000
    15.2 +++ b/linux-md/receipt	Sat Nov 13 03:27:43 2010 +0000
    15.3 @@ -26,6 +26,12 @@
    15.4      	[ -d $fs/$dir ] || mkdir -p $fs/$dir
    15.5          cp -a $_pkg/$path/$module $fs/$dir
    15.6      done
    15.7 +
    15.8 +    for i in $(cat $WOK/$WANTED/stuff/modules-$VERSION.list); do
    15.9 +        if [ $fs/lib/modules/$VERSION-slitaz/kernel/$i ]; then
   15.10 +	    rm -f $fs/lib/modules/$VERSION-slitaz/kernel/$i
   15.11 +	fi
   15.12 +    done
   15.13  }
   15.14  
   15.15  # Post install/remove commands for Tazpkg.
    16.1 --- a/linux-memstick/receipt	Sat Nov 13 01:11:48 2010 +0000
    16.2 +++ b/linux-memstick/receipt	Sat Nov 13 03:27:43 2010 +0000
    16.3 @@ -9,7 +9,6 @@
    16.4  WANTED="linux"
    16.5  WEB_SITE="http://www.kernel.org/"
    16.6  
    16.7 -
    16.8  # Rules to gen a SliTaz package suitable for Tazpkg.
    16.9  genpkg_rules()
   16.10  {
   16.11 @@ -25,6 +24,12 @@
   16.12      	[ -d $fs/$dir ] || mkdir -p $fs/$dir
   16.13          cp -a $_pkg/$path/$module $fs/$dir
   16.14      done
   16.15 +
   16.16 +    for i in $(cat $WOK/$WANTED/stuff/modules-$VERSION.list); do
   16.17 +        if [ $fs/lib/modules/$VERSION-slitaz/kernel/$i ]; then
   16.18 +	    rm -f $fs/lib/modules/$VERSION-slitaz/kernel/$i
   16.19 +	fi
   16.20 +    done
   16.21  }
   16.22  
   16.23  # Post install/remove commands for Tazpkg.
    17.1 --- a/linux-mmc/receipt	Sat Nov 13 01:11:48 2010 +0000
    17.2 +++ b/linux-mmc/receipt	Sat Nov 13 03:27:43 2010 +0000
    17.3 @@ -23,6 +23,12 @@
    17.4      	[ -d $fs/$dir ] || mkdir -p $fs/$dir
    17.5          cp -a $_pkg/$path/$module $fs/$dir
    17.6      done
    17.7 +
    17.8 +    for i in $(cat $WOK/$WANTED/stuff/modules-$VERSION.list); do
    17.9 +        if [ $fs/lib/modules/$VERSION-slitaz/kernel/$i ]; then
   17.10 +	    rm -f $fs/lib/modules/$VERSION-slitaz/kernel/$i
   17.11 +	fi
   17.12 +    done
   17.13  }
   17.14  
   17.15  # Post install/remove commands for Tazpkg.
    18.1 --- a/linux-udf/receipt	Sat Nov 13 01:11:48 2010 +0000
    18.2 +++ b/linux-udf/receipt	Sat Nov 13 03:27:43 2010 +0000
    18.3 @@ -24,6 +24,12 @@
    18.4          cp -a $_pkg/$path/$module $fs/$dir
    18.5      done
    18.6      touch $fs/etc/filesystems
    18.7 +
    18.8 +    for i in $(cat $WOK/$WANTED/stuff/modules-$VERSION.list); do
    18.9 +        if [ $fs/lib/modules/$VERSION-slitaz/kernel/$i ]; then
   18.10 +	    rm -f $fs/lib/modules/$VERSION-slitaz/kernel/$i
   18.11 +	fi
   18.12 +    done
   18.13  }
   18.14  
   18.15  # Post install/remove commands for Tazpkg.
    19.1 --- a/linux-wimax/receipt	Sat Nov 13 01:11:48 2010 +0000
    19.2 +++ b/linux-wimax/receipt	Sat Nov 13 03:27:43 2010 +0000
    19.3 @@ -8,7 +8,6 @@
    19.4  WANTED="linux"
    19.5  WEB_SITE="http://www.kernel.org/"
    19.6  
    19.7 -
    19.8  # Rules to gen a SliTaz package suitable for Tazpkg.
    19.9  genpkg_rules()
   19.10  {
   19.11 @@ -24,6 +23,12 @@
   19.12      	[ -d $fs/$dir ] || mkdir -p $fs/$dir
   19.13          cp -a $_pkg/$path/$module $fs/$dir
   19.14      done
   19.15 +
   19.16 +    for i in $(cat $WOK/$WANTED/stuff/modules-$VERSION.list); do
   19.17 +        if [ $fs/lib/modules/$VERSION-slitaz/kernel/$i ]; then
   19.18 +	    rm -f $fs/lib/modules/$VERSION-slitaz/kernel/$i
   19.19 +	fi
   19.20 +    done
   19.21  }
   19.22  
   19.23  # Post install/remove commands for Tazpkg.
    20.1 --- a/linux-wireless/receipt	Sat Nov 13 01:11:48 2010 +0000
    20.2 +++ b/linux-wireless/receipt	Sat Nov 13 03:27:43 2010 +0000
    20.3 @@ -29,6 +29,12 @@
    20.4      	[ -d $fs/$dir ] || mkdir -p $fs/$dir
    20.5          cp -a $_pkg/$path/$module $fs/$dir
    20.6      done
    20.7 +
    20.8 +    for i in $(cat $WOK/$WANTED/stuff/modules-$VERSION.list); do
    20.9 +        if [ $fs/lib/modules/$VERSION-slitaz/kernel/$i ]; then
   20.10 +	    rm -f $fs/lib/modules/$VERSION-slitaz/kernel/$i
   20.11 +	fi
   20.12 +    done
   20.13  }
   20.14  
   20.15  # Post install/remove commands for Tazpkg.