# HG changeset patch # User Christopher Rogers # Date 1296528002 0 # Node ID 08fb5e3d3f5eb8a2aab89ffa2cc51e775cfb89fa # Parent 1c8541e0ec8663c35dfc13313ea58a2603942b7b Fixed linmodem-intel-536ep and linmodem-intel-537 genpkg_rules. This now works with tazwok-experimental (i think). diff -r 1c8541e0ec86 -r 08fb5e3d3f5e linmodem-intel-536ep/receipt --- a/linmodem-intel-536ep/receipt Tue Feb 01 02:31:02 2011 +0000 +++ b/linmodem-intel-536ep/receipt Tue Feb 01 02:40:02 2011 +0000 @@ -16,8 +16,7 @@ compile_rules() { KERNEL_VERSION=`grep ^VERSION= $WOK/linux/receipt | cut -d "=" -f2 | sed -e 's/"//g'` - [ -d $WOK/$PACKAGE/intel-536-537 ] && cd $WOK/$PACKAGE/intel-536-537 - [ -d $src ] && cd $src + cd $src while read file; do [ -f done.$file ] && continue @@ -45,7 +44,7 @@ mkdir -p $fs/lib/modules/$KERNEL_VERSION-slitaz/kernel/drivers/net # Compress and install module - lzma e $WOK/$PACKAGE/intel-536-537/Intel536.ko $fs/lib/modules/$KERNEL_VERSION-slitaz/kernel/drivers/net/intel536.ko.gz + lzma e $src/Intel536.ko $fs/lib/modules/$KERNEL_VERSION-slitaz/kernel/drivers/net/intel536.ko.gz chown root $fs/lib/modules/$KERNEL_VERSION-slitaz/kernel/drivers/net/intel536.ko.gz chmod 0644 $fs/lib/modules/$KERNEL_VERSION-slitaz/kernel/drivers/net/intel536.ko.gz } diff -r 1c8541e0ec86 -r 08fb5e3d3f5e linmodem-intel-537/receipt --- a/linmodem-intel-537/receipt Tue Feb 01 02:31:02 2011 +0000 +++ b/linmodem-intel-537/receipt Tue Feb 01 02:40:02 2011 +0000 @@ -16,8 +16,7 @@ compile_rules() { KERNEL_VERSION=`grep ^VERSION= $WOK/linux/receipt | cut -d "=" -f2 | sed -e 's/"//g'` - [ -d $WOK/$PACKAGE/intel-536-537 ] && cd $WOK/$PACKAGE/intel-536-537 - [ -d $src ] && cd $src + cd $src while read file; do [ -f done.$file ] && continue @@ -46,7 +45,7 @@ mkdir -p $fs/lib/modules/$KERNEL_VERSION-slitaz/kernel/drivers/net # Compress and install module - lzma e $WOK/$PACKAGE/intel-536-537/Intel537.ko $fs/lib/modules/$KERNEL_VERSION-slitaz/kernel/drivers/net/intel537.ko.gz + lzma e $src/Intel537.ko $fs/lib/modules/$KERNEL_VERSION-slitaz/kernel/drivers/net/intel537.ko.gz chown root $fs/lib/modules/$KERNEL_VERSION-slitaz/kernel/drivers/net/intel537.ko.gz chmod 0644 $fs/lib/modules/$KERNEL_VERSION-slitaz/kernel/drivers/net/intel537.ko.gz }