wok rev 2062
ensure to use the right linux version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jan 22 18:08:21 2009 +0000 (2009-01-22) |
parents | af37f2069841 |
children | 8627ef959691 |
files | aufs/receipt bristuff/receipt kqemu/receipt mISDN/receipt nvidia/receipt squashfs-module/receipt squashfs/receipt usbip-module/receipt usbip/receipt zaptel/receipt |
line diff
1.1 --- a/aufs/receipt Thu Jan 22 17:37:19 2009 +0000 1.2 +++ b/aufs/receipt Thu Jan 22 18:08:21 2009 +0000 1.3 @@ -21,7 +21,7 @@ 1.4 if [ ! -d ../linux/taz ]; then 1.5 tazwok cook linux 1.6 fi 1.7 - kver=$(grep "kernel version" ../linux/linux-*/.config) 1.8 + kver=$(grep "kernel version" ../linux/$(ls ../linux/taz)/.config) 1.9 kver=${kver##* } 1.10 cd $src 1.11 ln -s $(cd ../../linux/linux-$kver* ; pwd)/include/linux/* include/linux
2.1 --- a/bristuff/receipt Thu Jan 22 17:37:19 2009 +0000 2.2 +++ b/bristuff/receipt Thu Jan 22 18:08:21 2009 +0000 2.3 @@ -45,9 +45,9 @@ 2.4 if [ ! -d ../linux/taz ]; then 2.5 tazwok cook linux 2.6 fi 2.7 - KVERS=$(grep "kernel version" ../linux/linux-*/.config) 2.8 + KVERS=$(grep "kernel version" ../linux/$(ls ../linux/taz)/.config) 2.9 KVERS=${KVERS##* } 2.10 - KSRC=$(cd ../linux/linux-* ; pwd) 2.11 + KSRC=$(cd ../linux/$(ls ../linux/taz) ; pwd) 2.12 export KVERS 2.13 export KSRC 2.14 cd $src
3.1 --- a/kqemu/receipt Thu Jan 22 17:37:19 2009 +0000 3.2 +++ b/kqemu/receipt Thu Jan 22 18:08:21 2009 +0000 3.3 @@ -34,7 +34,7 @@ 3.4 genpkg_rules() 3.5 { 3.6 local kver 3.7 - kver=$(grep "kernel version" $WOK/linux/linux-*/.config) 3.8 + kver=$(grep "kernel version" $WOK/linux/$(ls $WOK/linux/taz)/.config) 3.9 EXTRAVERSION=_${kver##* } 3.10 cp -a $_pkg/* $fs 3.11 }
4.1 --- a/mISDN/receipt Thu Jan 22 17:37:19 2009 +0000 4.2 +++ b/mISDN/receipt Thu Jan 22 18:08:21 2009 +0000 4.3 @@ -16,9 +16,9 @@ 4.4 if [ ! -d $WOK/linux/taz ]; then 4.5 tazwok cook linux 4.6 fi 4.7 - KVERS=$(grep "kernel version" $WOK/linux/linux-*/.config) 4.8 + KVERS=$(grep "kernel version" $WOK/linux/$(ls $WOK/linux/taz)/.config) 4.9 KVERS=${KVERS##* } 4.10 - KSRC=$(cd $WOK/linux/linux-* ; pwd) 4.11 + KSRC=$(cd $WOK/linux/$(ls $WOK/linux/taz) ; pwd) 4.12 cd $src 4.13 while read file; do 4.14 [ -f done.$file ] && continue 4.15 @@ -42,7 +42,7 @@ 4.16 # Rules to gen a SliTaz package suitable for Tazpkg. 4.17 genpkg_rules() 4.18 { 4.19 - KVERS=$(grep "kernel version" ../linux/linux-*/.config) 4.20 + KVERS=$(grep "kernel version" ../linux/$(ls ../linux/taz)/.config) 4.21 EXTRAVERSION=_${KVERS##* } 4.22 mkdir -p $fs/usr $fs/etc 4.23 ( cd $_pkg ; tar cf - lib/modules/*/extra ) | ( cd $fs ; tar xf - )
5.1 --- a/nvidia/receipt Thu Jan 22 17:37:19 2009 +0000 5.2 +++ b/nvidia/receipt Thu Jan 22 18:08:21 2009 +0000 5.3 @@ -40,7 +40,7 @@ 5.4 # Rules to gen a SliTaz package suitable for Tazpkg. 5.5 genpkg_rules() 5.6 { 5.7 - KERNEL_VERSION=$(grep "kernel version" ../linux/linux-*/.config) 5.8 + KERNEL_VERSION=$(grep "kernel version" ../linux/$(ls ../linux/taz)/.config) 5.9 KERNEL_VERSION=${KERNEL_VERSION##* }-slitaz 5.10 mkdir -p $fs/lib/modules/$KERNEL_VERSION/kernel/drivers/video 5.11 install -m644 $src/usr/src/nv/nvidia.ko $fs/lib/modules/$KERNEL_VERSION/kernel/drivers/video/
6.1 --- a/squashfs-module/receipt Thu Jan 22 17:37:19 2009 +0000 6.2 +++ b/squashfs-module/receipt Thu Jan 22 18:08:21 2009 +0000 6.3 @@ -11,7 +11,7 @@ 6.4 # Rules to gen a SliTaz package suitable for Tazpkg. 6.5 genpkg_rules() 6.6 { 6.7 - kver=$(grep "kernel version" ../linux/linux-*/.config) 6.8 + kver=$(grep "kernel version" ../linux/$(ls ../linux/taz)/.config) 6.9 kver=${kver##* } 6.10 EXTRAVERSION=_$kver 6.11 cp -a $src/_pkg/lib $fs
7.1 --- a/squashfs/receipt Thu Jan 22 17:37:19 2009 +0000 7.2 +++ b/squashfs/receipt Thu Jan 22 18:08:21 2009 +0000 7.3 @@ -38,7 +38,7 @@ 7.4 if [ ! -d $WOK/linux/taz ]; then 7.5 tazwok cook linux 7.6 fi 7.7 - kver=$(grep "kernel version" $WOK/linux/linux-*/.config) 7.8 + kver=$(grep "kernel version" $WOK/linux/$(ls $WOK/linux/taz)/.config) 7.9 kver=${kver##* } 7.10 7.11 # Select patch according to kernel version
8.1 --- a/usbip-module/receipt Thu Jan 22 17:37:19 2009 +0000 8.2 +++ b/usbip-module/receipt Thu Jan 22 18:08:21 2009 +0000 8.3 @@ -11,7 +11,7 @@ 8.4 # Rules to gen a SliTaz package suitable for Tazpkg. 8.5 genpkg_rules() 8.6 { 8.7 - kver=$(grep "kernel version" ../linux/linux-*/.config) 8.8 + kver=$(grep "kernel version" ../linux/$(ls ../linux/taz)/.config) 8.9 kver=${kver##* } 8.10 EXTRAVERSION=_$kver 8.11 cp -a $_pkg/lib $fs
9.1 --- a/usbip/receipt Thu Jan 22 17:37:19 2009 +0000 9.2 +++ b/usbip/receipt Thu Jan 22 18:08:21 2009 +0000 9.3 @@ -19,7 +19,7 @@ 9.4 if [ ! -d $WOK/linux/taz ]; then 9.5 tazwok cook linux 9.6 fi 9.7 - kver=$(grep "kernel version" $WOK/linux/linux-*/.config) 9.8 + kver=$(grep "kernel version" $WOK/linux/$(ls $WOK/linux/taz)/.config) 9.9 kver=${kver##* } 9.10 9.11 # Select patch according to kernel version
10.1 --- a/zaptel/receipt Thu Jan 22 17:37:19 2009 +0000 10.2 +++ b/zaptel/receipt Thu Jan 22 18:08:21 2009 +0000 10.3 @@ -23,7 +23,7 @@ 10.4 get_version 10.5 [ -d taz/$PACKAGE-$WANTED/fs ] && \ 10.6 mv taz/$PACKAGE-$WANTED taz/$PACKAGE-$VERSION 10.7 - kver=$(grep "kernel version" ../linux/linux-*/.config) 10.8 + kver=$(grep "kernel version" ../linux/$(ls ../linux/taz)/.config) 10.9 kver=${kver##* } 10.10 EXTRAVERSION=_$kver 10.11 _pkg=$(cd $(dirname $src)/$WANTED-*/_pkg ; pwd)