wok-6.x rev 535

linux: Fix modules src/copy path
author Christophe Lincoln <pankso@slitaz.org>
date Thu Apr 10 01:31:33 2008 +0200 (2008-04-10)
parents 5175cd550521
children 0b58f274eec1
files linux/receipt
line diff
     1.1 --- a/linux/receipt	Wed Apr 09 23:19:52 2008 +0200
     1.2 +++ b/linux/receipt	Thu Apr 10 01:31:33 2008 +0200
     1.3 @@ -42,7 +42,6 @@
     1.4  	make INSTALL_MOD_PATH=$PWD/_pkg modules_install
     1.5  } 
     1.6  
     1.7 -
     1.8  # Rules to gen a SliTaz package suitable for Tazpkg.
     1.9  genpkg_rules()
    1.10  {
    1.11 @@ -58,8 +57,8 @@
    1.12      cp -a $_pkg/lib/modules/$VERSION-slitaz/mo* $fs/lib/modules/$VERSION-slitaz
    1.13      while read module; do
    1.14      	dir=$(dirname $module)
    1.15 -    	[ -d $fs/$dir ] || mkdir -p $fs/$dir
    1.16 -        cp -a $_pkg/$path/$module $fs/$path/$dir
    1.17 +    	[ -d $path/$dir ] || mkdir -p $path/$dir
    1.18 +        cp -a $_pkg/lib/modules/$VERSION-slitaz/kernel/$module $path/$dir
    1.19      done < stuff/modules-$VERSION.list
    1.20      # Remove unresolved links
    1.21      rm -f $fs/lib/modules/$VERSION-slitaz/build