# HG changeset patch # User Christophe Lincoln # Date 1207783893 -7200 # Node ID c77621e18bbb7511b8fe13d2102c3cdd6ffc9ea8 # Parent 5175cd550521a0aff850bd05f95fe96f94234225 linux: Fix modules src/copy path diff -r 5175cd550521 -r c77621e18bbb linux/receipt --- a/linux/receipt Wed Apr 09 23:19:52 2008 +0200 +++ b/linux/receipt Thu Apr 10 01:31:33 2008 +0200 @@ -42,7 +42,6 @@ make INSTALL_MOD_PATH=$PWD/_pkg modules_install } - # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { @@ -58,8 +57,8 @@ cp -a $_pkg/lib/modules/$VERSION-slitaz/mo* $fs/lib/modules/$VERSION-slitaz while read module; do dir=$(dirname $module) - [ -d $fs/$dir ] || mkdir -p $fs/$dir - cp -a $_pkg/$path/$module $fs/$path/$dir + [ -d $path/$dir ] || mkdir -p $path/$dir + cp -a $_pkg/lib/modules/$VERSION-slitaz/kernel/$module $path/$dir done < stuff/modules-$VERSION.list # Remove unresolved links rm -f $fs/lib/modules/$VERSION-slitaz/build