wok-current diff linux/receipt @ rev 1137
Fix post_install for subdir install
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jul 24 12:27:06 2008 +0000 (2008-07-24) |
parents | da3467381855 |
children | d442045183a5 |
line diff
1.1 --- a/linux/receipt Sun Jun 15 12:47:58 2008 +0000 1.2 +++ b/linux/receipt Thu Jul 24 12:27:06 2008 +0000 1.3 @@ -13,10 +13,15 @@ 1.4 compile_rules() 1.5 { 1.6 cd $src 1.7 + mkdir slitaz 1.8 + echo "$WGET_URL" > slitaz/url 1.9 + cp ../stuff/gztazmod.sh ../stuff/list_modules.sh slitaz 1.10 # lzma and misc patches from pascal 1.11 while read patch_file; do 1.12 echo "Apply $patch_file" 1.13 patch -p1 < ../stuff/$patch_file || return 1 1.14 + echo "$patch_file" >> slitaz/patches 1.15 + cp ../stuff/$patch_file slitaz/$patch_file 1.16 done <<EOT 1.17 $PACKAGE-lzma-$VERSION.u 1.18 $PACKAGE-utf8-$VERSION.u 1.19 @@ -26,6 +31,7 @@ 1.20 make mrproper 1.21 cp ../stuff/$PACKAGE-$VERSION-slitaz.config .config 1.22 make oldconfig 1.23 + ln .config slitaz/config 1.24 make bzImage 1.25 make modules 1.26 make INSTALL_MOD_PATH=$PWD/_pkg modules_install