wok-stable diff linux/receipt @ rev 618

busybox/cpio: -o put a \n to stderr (like gnu/cpio)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Apr 19 12:09:45 2008 +0000 (2008-04-19)
parents 998d2b306f24
children d930832824c9
line diff
     1.1 --- a/linux/receipt	Wed Apr 09 17:18:31 2008 +0000
     1.2 +++ b/linux/receipt	Sat Apr 19 12:09:45 2008 +0000
     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