wok-4.x rev 7656
linux: fix linux WITH modules...
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Dec 15 23:52:20 2010 +0100 (2010-12-15) |
parents | 440ca7d32058 |
children | 2d5630aff895 |
files | linux/receipt |
line diff
1.1 --- a/linux/receipt Wed Dec 15 20:56:53 2010 +0100 1.2 +++ b/linux/receipt Wed Dec 15 23:52:20 2010 +0100 1.3 @@ -82,6 +82,8 @@ 1.4 make INSTALL_MOD_PATH=$PWD/_pkg modules_install && 1.5 make INSTALL_HDR_PATH=$PWD/_pkg/usr headers_install && 1.6 [ -s arch/x86/boot/bzImage ] || return 1 1.7 + mkdir -p $PWD/_pkg/boot 2> /dev/null 1.8 + mv arch/x86/boot/bzImage $PWD/_pkg/boot/vmlinuz-$VERSION-slitaz 1.9 # Compress all modules. 1.10 $WOK/$PACKAGE/stuff/gztazmod.sh $PWD/_pkg/lib/modules/$VERSION-slitaz 1.11 mv System.map System.map-modules 1.12 @@ -98,9 +100,7 @@ 1.13 genpkg_rules() 1.14 { 1.15 local path 1.16 - mkdir $fs/boot 1.17 - cp -a $src/arch/x86/boot/bzImage \ 1.18 - $fs/boot/vmlinuz-$VERSION-slitaz 1.19 + cp -a $_pkg/boot $fs 1.20 # Compress all modules. 1.21 #./stuff/gztazmod.sh $_pkg/lib/modules/$VERSION-slitaz 1.22 path=$fs/lib/modules/$VERSION-slitaz/kernel