wok-6.x rev 8311
Fixed linmodem-intel-536ep and linmodem-intel-537 genpkg_rules. This now works with tazwok-experimental (i think).
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Tue Feb 01 02:40:02 2011 +0000 (2011-02-01) |
parents | 1c8541e0ec86 |
children | 32141ce4e6e9 |
files | linmodem-intel-536ep/receipt linmodem-intel-537/receipt |
line diff
1.1 --- a/linmodem-intel-536ep/receipt Tue Feb 01 02:31:02 2011 +0000 1.2 +++ b/linmodem-intel-536ep/receipt Tue Feb 01 02:40:02 2011 +0000 1.3 @@ -16,8 +16,7 @@ 1.4 compile_rules() { 1.5 1.6 KERNEL_VERSION=`grep ^VERSION= $WOK/linux/receipt | cut -d "=" -f2 | sed -e 's/"//g'` 1.7 - [ -d $WOK/$PACKAGE/intel-536-537 ] && cd $WOK/$PACKAGE/intel-536-537 1.8 - [ -d $src ] && cd $src 1.9 + cd $src 1.10 1.11 while read file; do 1.12 [ -f done.$file ] && continue 1.13 @@ -45,7 +44,7 @@ 1.14 mkdir -p $fs/lib/modules/$KERNEL_VERSION-slitaz/kernel/drivers/net 1.15 1.16 # Compress and install module 1.17 - lzma e $WOK/$PACKAGE/intel-536-537/Intel536.ko $fs/lib/modules/$KERNEL_VERSION-slitaz/kernel/drivers/net/intel536.ko.gz 1.18 + lzma e $src/Intel536.ko $fs/lib/modules/$KERNEL_VERSION-slitaz/kernel/drivers/net/intel536.ko.gz 1.19 chown root $fs/lib/modules/$KERNEL_VERSION-slitaz/kernel/drivers/net/intel536.ko.gz 1.20 chmod 0644 $fs/lib/modules/$KERNEL_VERSION-slitaz/kernel/drivers/net/intel536.ko.gz 1.21 }
2.1 --- a/linmodem-intel-537/receipt Tue Feb 01 02:31:02 2011 +0000 2.2 +++ b/linmodem-intel-537/receipt Tue Feb 01 02:40:02 2011 +0000 2.3 @@ -16,8 +16,7 @@ 2.4 compile_rules() { 2.5 2.6 KERNEL_VERSION=`grep ^VERSION= $WOK/linux/receipt | cut -d "=" -f2 | sed -e 's/"//g'` 2.7 - [ -d $WOK/$PACKAGE/intel-536-537 ] && cd $WOK/$PACKAGE/intel-536-537 2.8 - [ -d $src ] && cd $src 2.9 + cd $src 2.10 2.11 while read file; do 2.12 [ -f done.$file ] && continue 2.13 @@ -46,7 +45,7 @@ 2.14 mkdir -p $fs/lib/modules/$KERNEL_VERSION-slitaz/kernel/drivers/net 2.15 2.16 # Compress and install module 2.17 - lzma e $WOK/$PACKAGE/intel-536-537/Intel537.ko $fs/lib/modules/$KERNEL_VERSION-slitaz/kernel/drivers/net/intel537.ko.gz 2.18 + lzma e $src/Intel537.ko $fs/lib/modules/$KERNEL_VERSION-slitaz/kernel/drivers/net/intel537.ko.gz 2.19 chown root $fs/lib/modules/$KERNEL_VERSION-slitaz/kernel/drivers/net/intel537.ko.gz 2.20 chmod 0644 $fs/lib/modules/$KERNEL_VERSION-slitaz/kernel/drivers/net/intel537.ko.gz 2.21 }