# HG changeset patch # User Christopher Rogers # Date 1297888075 0 # Node ID 1d89aa1672da108636596e3acf46389492eeb2ef # Parent 00fefa6ebb77a604a5f51d33c8dfb79aaeb0e498 Fixed linux and its wanted receipts. Fixed check_modules.sh script. Add linux-speakup. diff -r 00fefa6ebb77 -r 1d89aa1672da linux-acpi/receipt --- a/linux-acpi/receipt Thu Feb 17 01:45:49 2011 +0100 +++ b/linux-acpi/receipt Wed Feb 16 20:27:55 2011 +0000 @@ -17,7 +17,7 @@ mkdir -p $fs/$path export src export _pkg - $src/slitaz/list_modules.sh drivers/acpi drivers/platform/x86/thinkpad_acpi.ko.gz \ + $WOK/$WANTED/stuff/list_modules.sh drivers/acpi drivers/platform/x86/thinkpad_acpi.ko.gz \ drivers/platform/x86/asus-laptop.ko.gz drivers/platform/x86/eeepc-wmi.ko.gz \ drivers/platform/x86/msi-laptop.ko.gz drivers/platform/x86/panasonic-laptop.ko.gz \ drivers/platform/x86/sony-laptop.ko.gz drivers/platform/x86/acer-wmi.ko.gz \ @@ -44,6 +44,6 @@ post_remove() { - depmod -a + chroot "$1/" depmod -a $VERSION-slitaz } diff -r 00fefa6ebb77 -r 1d89aa1672da linux-agp/receipt --- a/linux-agp/receipt Thu Feb 17 01:45:49 2011 +0100 +++ b/linux-agp/receipt Wed Feb 16 20:27:55 2011 +0000 @@ -17,7 +17,7 @@ mkdir -p $fs/$path export src export _pkg - $src/slitaz/list_modules.sh drivers/char/agp | while read module; do + $WOK/$WANTED/stuff/list_modules.sh drivers/char/agp | while read module; do dir=$path/$(dirname $module) [ -d $fs/$dir ] || mkdir -p $fs/$dir cp -a $_pkg/$path/$module $fs/$dir @@ -38,6 +38,6 @@ post_remove() { - depmod -a $VERSION-slitaz + chroot "$1/" depmod -a $VERSION-slitaz } diff -r 00fefa6ebb77 -r 1d89aa1672da linux-appletalk/receipt --- a/linux-appletalk/receipt Thu Feb 17 01:45:49 2011 +0100 +++ b/linux-appletalk/receipt Wed Feb 16 20:27:55 2011 +0000 @@ -19,7 +19,7 @@ export src export _pkg - $src/slitaz/list_modules.sh drivers/net/appletalk net/appletalk \ + $WOK/$WANTED/stuff/list_modules.sh drivers/net/appletalk net/appletalk \ net/802/p8022.ko.gz | while read module; do dir=$path/$(dirname $module) [ -d $fs/$dir ] || mkdir -p $fs/$dir @@ -41,6 +41,6 @@ post_remove() { - depmod -a $VERSION-slitaz + chroot "$1/" depmod -a $VERSION-slitaz } diff -r 00fefa6ebb77 -r 1d89aa1672da linux-autofs/receipt --- a/linux-autofs/receipt Thu Feb 17 01:45:49 2011 +0100 +++ b/linux-autofs/receipt Wed Feb 16 20:27:55 2011 +0000 @@ -18,7 +18,7 @@ mkdir -p $fs/$path $fs/etc export src export _pkg - $src/slitaz/list_modules.sh fs/autofs4 | while read module; do + $WOK/$WANTED/stuff/list_modules.sh fs/autofs4 | while read module; do dir=$path/$(dirname $module) [ -d $fs/$dir ] || mkdir -p $fs/$dir cp -a $_pkg/$path/$module $fs/$dir @@ -37,6 +37,6 @@ post_remove() { sed -i "/^${PACKAGE#*-}\$/d" $1/etc/filesystems - depmod -a $VERSION-slitaz + chroot "$1/" depmod -a $VERSION-slitaz } diff -r 00fefa6ebb77 -r 1d89aa1672da linux-bluetooth/receipt --- a/linux-bluetooth/receipt Thu Feb 17 01:45:49 2011 +0100 +++ b/linux-bluetooth/receipt Wed Feb 16 20:27:55 2011 +0000 @@ -17,7 +17,7 @@ mkdir -p $fs/$path export src export _pkg - $src/slitaz/list_modules.sh drivers/bluetooth net/bluetooth | while read module; do + $WOK/$WANTED/stuff/list_modules.sh drivers/bluetooth net/bluetooth | while read module; do dir=$path/$(dirname $module) [ -d $fs/$dir ] || mkdir -p $fs/$dir cp -a $_pkg/$path/$module $fs/$dir @@ -38,6 +38,6 @@ post_remove() { - depmod -a $VERSION-slitaz + chroot "$1/" depmod -a $VERSION-slitaz } diff -r 00fefa6ebb77 -r 1d89aa1672da linux-bridge/receipt --- a/linux-bridge/receipt Thu Feb 17 01:45:49 2011 +0100 +++ b/linux-bridge/receipt Wed Feb 16 20:27:55 2011 +0000 @@ -17,7 +17,7 @@ mkdir -p $fs/$path export src export _pkg - $src/slitaz/list_modules.sh net/bridge | while read module; do + $WOK/$WANTED/stuff/list_modules.sh net/bridge | while read module; do dir=$path/$(dirname $module) [ -d $fs/$dir ] || mkdir -p $fs/$dir cp -a $_pkg/$path/$module $fs/$dir @@ -38,6 +38,6 @@ post_remove() { - depmod -a $VERSION-slitaz + chroot "$1/" depmod -a $VERSION-slitaz } diff -r 00fefa6ebb77 -r 1d89aa1672da linux-btrfs/receipt --- a/linux-btrfs/receipt Thu Feb 17 01:45:49 2011 +0100 +++ b/linux-btrfs/receipt Wed Feb 16 20:27:55 2011 +0000 @@ -18,7 +18,7 @@ mkdir -p $fs/$path $fs/etc export src export _pkg - $src/slitaz/list_modules.sh fs/${PACKAGE#*-} | while read module; do + $WOK/$WANTED/stuff/list_modules.sh fs/${PACKAGE#*-} | while read module; do dir=$path/$(dirname $module) [ -d $fs/$dir ] || mkdir -p $fs/$dir cp -a $_pkg/$path/$module $fs/$dir @@ -43,6 +43,6 @@ post_remove() { sed -i "/^${PACKAGE#*-}\$/d" $1/etc/filesystems - depmod -a $VERSION-slitaz + chroot "$1/" depmod -a $VERSION-slitaz } diff -r 00fefa6ebb77 -r 1d89aa1672da linux-cifs/receipt --- a/linux-cifs/receipt Thu Feb 17 01:45:49 2011 +0100 +++ b/linux-cifs/receipt Wed Feb 16 20:27:55 2011 +0000 @@ -18,7 +18,7 @@ mkdir -p $fs/$path $fs/etc export src export _pkg - $src/slitaz/list_modules.sh fs/cifs | while read module; do + $WOK/$WANTED/stuff/list_modules.sh fs/cifs | while read module; do dir=$path/$(dirname $module) [ -d $fs/$dir ] || mkdir -p $fs/$dir cp -a $_pkg/$path/$module $fs/$dir @@ -37,6 +37,6 @@ post_remove() { sed -i "/^${PACKAGE#*-}\$/d" $1/etc/filesystems - depmod -a $VERSION-slitaz + chroot "$1/" depmod -a $VERSION-slitaz } diff -r 00fefa6ebb77 -r 1d89aa1672da linux-coda/receipt --- a/linux-coda/receipt Thu Feb 17 01:45:49 2011 +0100 +++ b/linux-coda/receipt Wed Feb 16 20:27:55 2011 +0000 @@ -18,7 +18,7 @@ mkdir -p $fs/$path $fs/etc export src export _pkg - $src/slitaz/list_modules.sh fs/coda | while read module; do + $WOK/$WANTED/stuff/list_modules.sh fs/coda | while read module; do dir=$path/$(dirname $module) [ -d $fs/$dir ] || mkdir -p $fs/$dir cp -a $_pkg/$path/$module $fs/$dir @@ -37,6 +37,6 @@ post_remove() { sed -i "/^${PACKAGE#*-}\$/d" $1/etc/filesystems - depmod -a $VERSION-slitaz + chroot "$1/" depmod -a $VERSION-slitaz } diff -r 00fefa6ebb77 -r 1d89aa1672da linux-configfs/receipt --- a/linux-configfs/receipt Thu Feb 17 01:45:49 2011 +0100 +++ b/linux-configfs/receipt Wed Feb 16 20:27:55 2011 +0000 @@ -18,7 +18,7 @@ mkdir -p $fs/$path $fs/etc export src export _pkg - $src/slitaz/list_modules.sh fs/${PACKAGE#*-} | while read module; do + $WOK/$WANTED/stuff/list_modules.sh fs/${PACKAGE#*-} | while read module; do dir=$path/$(dirname $module) [ -d $fs/$dir ] || mkdir -p $fs/$dir cp -a $_pkg/$path/$module $fs/$dir @@ -37,6 +37,6 @@ post_remove() { sed -i "/^${PACKAGE#*-}\$/d" $1/etc/filesystems - depmod -a $VERSION-slitaz + chroot "$1/" depmod -a $VERSION-slitaz } diff -r 00fefa6ebb77 -r 1d89aa1672da linux-cpufreq/receipt --- a/linux-cpufreq/receipt Thu Feb 17 01:45:49 2011 +0100 +++ b/linux-cpufreq/receipt Wed Feb 16 20:27:55 2011 +0000 @@ -17,7 +17,7 @@ mkdir -p $fs/$path export src export _pkg - $src/slitaz/list_modules.sh arch/x86/kernel/cpu/cpufreq drivers/cpufreq | \ + $WOK/$WANTED/stuff/list_modules.sh arch/x86/kernel/cpu/cpufreq drivers/cpufreq | \ while read module; do dir=$path/$(dirname $module) [ -d $fs/$dir ] || mkdir -p $fs/$dir @@ -33,6 +33,6 @@ post_remove() { - depmod -a $VERSION-slitaz + chroot "$1/" depmod -a $VERSION-slitaz } diff -r 00fefa6ebb77 -r 1d89aa1672da linux-cramfs/receipt --- a/linux-cramfs/receipt Thu Feb 17 01:45:49 2011 +0100 +++ b/linux-cramfs/receipt Wed Feb 16 20:27:55 2011 +0000 @@ -18,7 +18,7 @@ mkdir -p $fs/$path $fs/etc export src export _pkg - $src/slitaz/list_modules.sh fs/cramfs | while read module; do + $WOK/$WANTED/stuff/list_modules.sh fs/cramfs | while read module; do dir=$path/$(dirname $module) [ -d $fs/$dir ] || mkdir -p $fs/$dir cp -a $_pkg/$path/$module $fs/$dir @@ -37,6 +37,6 @@ post_remove() { sed -i "/^${PACKAGE#*-}\$/d" $1/etc/filesystems - depmod -a $VERSION-slitaz + chroot "$1/" depmod -a $VERSION-slitaz } diff -r 00fefa6ebb77 -r 1d89aa1672da linux-crypto/receipt --- a/linux-crypto/receipt Thu Feb 17 01:45:49 2011 +0100 +++ b/linux-crypto/receipt Wed Feb 16 20:27:55 2011 +0000 @@ -17,7 +17,7 @@ mkdir -p $fs/$path export src export _pkg - $src/slitaz/list_modules.sh arch/x86/crypto crypto drivers/crypto | \ + $WOK/$WANTED/stuff/list_modules.sh arch/x86/crypto crypto drivers/crypto | \ while read module; do dir=$path/$(dirname $module) [ -d $fs/$dir ] || mkdir -p $fs/$dir @@ -39,6 +39,6 @@ post_remove() { - depmod -a $VERSION-slitaz + chroot "$1/" depmod -a $VERSION-slitaz } diff -r 00fefa6ebb77 -r 1d89aa1672da linux-cryptoloop/receipt --- a/linux-cryptoloop/receipt Thu Feb 17 01:45:49 2011 +0100 +++ b/linux-cryptoloop/receipt Wed Feb 16 20:27:55 2011 +0000 @@ -17,7 +17,7 @@ mkdir -p $fs/$path export src export _pkg - $src/slitaz/list_modules.sh drivers/block/cryptoloop.ko.gz | \ + $WOK/$WANTED/stuff/list_modules.sh drivers/block/cryptoloop.ko.gz | \ while read module; do dir=$path/$(dirname $module) [ -d $fs/$dir ] || mkdir -p $fs/$dir @@ -33,6 +33,6 @@ post_remove() { - depmod -a $VERSION-slitaz + chroot "$1/" depmod -a $VERSION-slitaz } diff -r 00fefa6ebb77 -r 1d89aa1672da linux-dialup/receipt --- a/linux-dialup/receipt Thu Feb 17 01:45:49 2011 +0100 +++ b/linux-dialup/receipt Wed Feb 16 20:27:55 2011 +0000 @@ -17,7 +17,7 @@ mkdir -p $fs/$path export src export _pkg - $src/slitaz/list_modules.sh drivers/serial/serial_cs.ko.gz drivers/char/nozomi.ko.gz \ + $WOK/$WANTED/stuff/list_modules.sh drivers/serial/serial_cs.ko.gz drivers/char/nozomi.ko.gz \ drivers/usb/serial/option.ko.gz drivers/net/usb/hso.ko.gz | \ while read module; do dir=$path/$(dirname $module) @@ -40,6 +40,6 @@ post_remove() { - depmod -a $VERSION-slitaz + chroot "$1/" depmod -a $VERSION-slitaz } diff -r 00fefa6ebb77 -r 1d89aa1672da linux-dlm/receipt --- a/linux-dlm/receipt Thu Feb 17 01:45:49 2011 +0100 +++ b/linux-dlm/receipt Wed Feb 16 20:27:55 2011 +0000 @@ -38,6 +38,6 @@ post_remove() { sed -i "/^${PACKAGE#*-}\$/d" $1/etc/filesystems - depmod -a $VERSION-slitaz + chroot "$1/" depmod -a $VERSION-slitaz } diff -r 00fefa6ebb77 -r 1d89aa1672da linux-drm/receipt --- a/linux-drm/receipt Thu Feb 17 01:45:49 2011 +0100 +++ b/linux-drm/receipt Wed Feb 16 20:27:55 2011 +0000 @@ -17,7 +17,7 @@ mkdir -p $fs/$path export src export _pkg - $src/slitaz/list_modules.sh drivers/gpu/drm | while read module; do + $WOK/$WANTED/stuff/list_modules.sh drivers/gpu/drm | while read module; do dir=$path/$(dirname $module) [ -d $fs/$dir ] || mkdir -p $fs/$dir cp -a $_pkg/$path/$module $fs/$dir @@ -43,6 +43,6 @@ post_remove() { - depmod -a $VERSION-slitaz + chroot "$1/" depmod -a $VERSION-slitaz } diff -r 00fefa6ebb77 -r 1d89aa1672da linux-firewire/receipt --- a/linux-firewire/receipt Thu Feb 17 01:45:49 2011 +0100 +++ b/linux-firewire/receipt Wed Feb 16 20:27:55 2011 +0000 @@ -17,7 +17,7 @@ mkdir -p $fs/$path export src export _pkg - $src/slitaz/list_modules.sh drivers/firewire | while read module; do + $WOK/$WANTED/stuff/list_modules.sh drivers/firewire | while read module; do dir=$path/$(dirname $module) [ -d $fs/$dir ] || mkdir -p $fs/$dir cp -a $_pkg/$path/$module $fs/$dir @@ -32,6 +32,6 @@ post_remove() { - depmod -a $VERSION-slitaz + chroot "$1/" depmod -a $VERSION-slitaz } diff -r 00fefa6ebb77 -r 1d89aa1672da linux-gfs2/receipt --- a/linux-gfs2/receipt Thu Feb 17 01:45:49 2011 +0100 +++ b/linux-gfs2/receipt Wed Feb 16 20:27:55 2011 +0000 @@ -18,7 +18,7 @@ mkdir -p $fs/$path $fs/etc export src export _pkg - $src/slitaz/list_modules.sh fs/gfs2 | while read module; do + $WOK/$WANTED/stuff/list_modules.sh fs/gfs2 | while read module; do dir=$path/$(dirname $module) [ -d $fs/$dir ] || mkdir -p $fs/$dir cp -a $_pkg/$path/$module $fs/$dir @@ -37,6 +37,6 @@ post_remove() { sed -i "/^${PACKAGE#*-}\$/d" $1/etc/filesystems - depmod -a $VERSION-slitaz + chroot "$1/" depmod -a $VERSION-slitaz } diff -r 00fefa6ebb77 -r 1d89aa1672da linux-hfs/receipt --- a/linux-hfs/receipt Thu Feb 17 01:45:49 2011 +0100 +++ b/linux-hfs/receipt Wed Feb 16 20:27:55 2011 +0000 @@ -18,7 +18,7 @@ mkdir -p $fs/$path $fs/etc export src export _pkg - $src/slitaz/list_modules.sh fs/${PACKAGE#*-} | while read module; do + $WOK/$WANTED/stuff/list_modules.sh fs/${PACKAGE#*-} | while read module; do dir=$path/$(dirname $module) [ -d $fs/$dir ] || mkdir -p $fs/$dir cp -a $_pkg/$path/$module $fs/$dir @@ -37,6 +37,6 @@ post_remove() { sed -i "/^${PACKAGE#*-}\$/d" $1/etc/filesystems - depmod -a $VERSION-slitaz + chroot "$1/" depmod -a $VERSION-slitaz } diff -r 00fefa6ebb77 -r 1d89aa1672da linux-hfsplus/receipt --- a/linux-hfsplus/receipt Thu Feb 17 01:45:49 2011 +0100 +++ b/linux-hfsplus/receipt Wed Feb 16 20:27:55 2011 +0000 @@ -18,7 +18,7 @@ mkdir -p $fs/$path $fs/etc export src export _pkg - $src/slitaz/list_modules.sh fs/hfsplus | while read module; do + $WOK/$WANTED/stuff/list_modules.sh fs/hfsplus | while read module; do dir=$path/$(dirname $module) [ -d $fs/$dir ] || mkdir -p $fs/$dir cp -a $_pkg/$path/$module $fs/$dir @@ -37,5 +37,5 @@ post_remove() { sed -i "/^${PACKAGE#*-}\$/d" $1/etc/filesystems - depmod -a $VERSION-slitaz + chroot "$1/" depmod -a $VERSION-slitaz } diff -r 00fefa6ebb77 -r 1d89aa1672da linux-hwmon/receipt --- a/linux-hwmon/receipt Thu Feb 17 01:45:49 2011 +0100 +++ b/linux-hwmon/receipt Wed Feb 16 20:27:55 2011 +0000 @@ -17,7 +17,7 @@ mkdir -p $fs/$path export src export _pkg - $src/slitaz/list_modules.sh drivers/hwmon | while read module; do + $WOK/$WANTED/stuff/list_modules.sh drivers/hwmon | while read module; do dir=$path/$(dirname $module) [ -d $fs/$dir ] || mkdir -p $fs/$dir cp -a $_pkg/$path/$module $fs/$dir diff -r 00fefa6ebb77 -r 1d89aa1672da linux-input-misc/receipt --- a/linux-input-misc/receipt Thu Feb 17 01:45:49 2011 +0100 +++ b/linux-input-misc/receipt Wed Feb 16 20:27:55 2011 +0000 @@ -16,7 +16,7 @@ mkdir -p $fs/$path export src export _pkg - $src/slitaz/list_modules.sh drivers/input/misc | while read module; do + $WOK/$WANTED/stuff/list_modules.sh drivers/input/misc | while read module; do dir=$path/$(dirname $module) [ -d $fs/$dir ] || mkdir -p $fs/$dir cp -a $_pkg/$path/$module $fs/$dir @@ -37,6 +37,6 @@ post_remove() { - depmod -a $VERSION-slitaz + chroot "$1/" depmod -a $VERSION-slitaz } diff -r 00fefa6ebb77 -r 1d89aa1672da linux-input-tablet/receipt --- a/linux-input-tablet/receipt Thu Feb 17 01:45:49 2011 +0100 +++ b/linux-input-tablet/receipt Wed Feb 16 20:27:55 2011 +0000 @@ -16,7 +16,7 @@ mkdir -p $fs/$path export src export _pkg - $src/slitaz/list_modules.sh drivers/input/tablet | while read module; do + $WOK/$WANTED/stuff/list_modules.sh drivers/input/tablet | while read module; do dir=$path/$(dirname $module) [ -d $fs/$dir ] || mkdir -p $fs/$dir cp -a $_pkg/$path/$module $fs/$dir @@ -32,6 +32,6 @@ post_remove() { - depmod -a $VERSION-slitaz + chroot "$1/" depmod -a $VERSION-slitaz } diff -r 00fefa6ebb77 -r 1d89aa1672da linux-input-touchscreen/receipt --- a/linux-input-touchscreen/receipt Thu Feb 17 01:45:49 2011 +0100 +++ b/linux-input-touchscreen/receipt Wed Feb 16 20:27:55 2011 +0000 @@ -16,7 +16,7 @@ mkdir -p $fs/$path export src export _pkg - $src/slitaz/list_modules.sh drivers/input/touchscreen \ + $WOK/$WANTED/stuff/list_modules.sh drivers/input/touchscreen \ lib/ts_bm.ko.gz lib/ts_fsm.ko.gz lib/ts_kmp.ko.gz | while read module; do dir=$path/$(dirname $module) [ -d $fs/$dir ] || mkdir -p $fs/$dir @@ -38,6 +38,6 @@ post_remove() { - depmod -a $VERSION-slitaz + chroot "$1/" depmod -a $VERSION-slitaz } diff -r 00fefa6ebb77 -r 1d89aa1672da linux-ipv6/receipt --- a/linux-ipv6/receipt Thu Feb 17 01:45:49 2011 +0100 +++ b/linux-ipv6/receipt Wed Feb 16 20:27:55 2011 +0000 @@ -17,7 +17,7 @@ mkdir -p $fs/$path export src export _pkg - $src/slitaz/list_modules.sh net/ipv6 | while read module; do + $WOK/$WANTED/stuff/list_modules.sh net/ipv6 | while read module; do dir=$path/$(dirname $module) [ -d $fs/$dir ] || mkdir -p $fs/$dir cp -a $_pkg/$path/$module $fs/$dir @@ -38,6 +38,6 @@ post_remove() { - depmod -a $VERSION-slitaz + chroot "$1/" depmod -a $VERSION-slitaz } diff -r 00fefa6ebb77 -r 1d89aa1672da linux-irda/receipt --- a/linux-irda/receipt Thu Feb 17 01:45:49 2011 +0100 +++ b/linux-irda/receipt Wed Feb 16 20:27:55 2011 +0000 @@ -19,7 +19,7 @@ export src export _pkg - $src/slitaz/list_modules.sh drivers/net/irda net/irda | while read module; do + $WOK/$WANTED/stuff/list_modules.sh drivers/net/irda net/irda | while read module; do dir=$path/$(dirname $module) [ -d $fs/$dir ] || mkdir -p $fs/$dir cp -a $_pkg/$path/$module $fs/$dir @@ -34,6 +34,6 @@ post_remove() { - depmod -a $VERSION-slitaz + chroot "$1/" depmod -a $VERSION-slitaz } diff -r 00fefa6ebb77 -r 1d89aa1672da linux-isdn/receipt --- a/linux-isdn/receipt Thu Feb 17 01:45:49 2011 +0100 +++ b/linux-isdn/receipt Wed Feb 16 20:27:55 2011 +0000 @@ -17,7 +17,7 @@ mkdir -p $fs/$path export src export _pkg - $src/slitaz/list_modules.sh drivers/isdn | while read module; do + $WOK/$WANTED/stuff/list_modules.sh drivers/isdn | while read module; do dir=$path/$(dirname $module) [ -d $fs/$dir ] || mkdir -p $fs/$dir cp -a $_pkg/$path/$module $fs/$dir @@ -38,6 +38,6 @@ post_remove() { - depmod -a $VERSION-slitaz + chroot "$1/" depmod -a $VERSION-slitaz } diff -r 00fefa6ebb77 -r 1d89aa1672da linux-jfs/receipt --- a/linux-jfs/receipt Thu Feb 17 01:45:49 2011 +0100 +++ b/linux-jfs/receipt Wed Feb 16 20:27:55 2011 +0000 @@ -18,7 +18,7 @@ mkdir -p $fs/$path $fs/etc export src export _pkg - $src/slitaz/list_modules.sh fs/jfs | while read module; do + $WOK/$WANTED/stuff/list_modules.sh fs/jfs | while read module; do dir=$path/$(dirname $module) [ -d $fs/$dir ] || mkdir -p $fs/$dir cp -a $_pkg/$path/$module $fs/$dir @@ -37,5 +37,5 @@ post_remove() { sed -i "/^${PACKAGE#*-}\$/d" $1/etc/filesystems - depmod -a $VERSION-slitaz + chroot "$1/" depmod -a $VERSION-slitaz } diff -r 00fefa6ebb77 -r 1d89aa1672da linux-joystick/receipt --- a/linux-joystick/receipt Thu Feb 17 01:45:49 2011 +0100 +++ b/linux-joystick/receipt Wed Feb 16 20:27:55 2011 +0000 @@ -17,7 +17,7 @@ mkdir -p $fs/$path export src export _pkg - $src/slitaz/list_modules.sh drivers/input/joystick drivers/input/gameport \ + $WOK/$WANTED/stuff/list_modules.sh drivers/input/joystick drivers/input/gameport \ drivers/input/input-polldev.ko.gz | \ while read module; do dir=$path/$(dirname $module) @@ -40,6 +40,6 @@ post_remove() { - depmod -a $VERSION-slitaz + chroot "$1/" depmod -a $VERSION-slitaz } diff -r 00fefa6ebb77 -r 1d89aa1672da linux-kvm/receipt --- a/linux-kvm/receipt Thu Feb 17 01:45:49 2011 +0100 +++ b/linux-kvm/receipt Wed Feb 16 20:27:55 2011 +0000 @@ -17,7 +17,7 @@ mkdir -p $fs/$path export src export _pkg - $src/slitaz/list_modules.sh arch/x86/kvm drivers/virtio drivers/lguest \ + $WOK/$WANTED/stuff/list_modules.sh arch/x86/kvm drivers/virtio drivers/lguest \ drivers/char/hw_random/virtio-rng.ko.gz drivers/char/virtio_console.ko.gz \ drivers/net/virtio_net.ko.gz drivers/block/virtio_blk.ko.gz | \ while read module; do @@ -35,6 +35,6 @@ post_remove() { - depmod -a $VERSION-slitaz + chroot "$1/" depmod -a $VERSION-slitaz } diff -r 00fefa6ebb77 -r 1d89aa1672da linux-logfs/receipt --- a/linux-logfs/receipt Thu Feb 17 01:45:49 2011 +0100 +++ b/linux-logfs/receipt Wed Feb 16 20:27:55 2011 +0000 @@ -18,7 +18,7 @@ mkdir -p $fs/$path $fs/etc export src export _pkg - $src/slitaz/list_modules.sh fs/${PACKAGE#*-} | while read module; do + $WOK/$WANTED/stuff/list_modules.sh fs/${PACKAGE#*-} | while read module; do dir=$path/$(dirname $module) [ -d $fs/$dir ] || mkdir -p $fs/$dir cp -a $_pkg/$path/$module $fs/$dir @@ -37,6 +37,6 @@ post_remove() { sed -i "/^${PACKAGE#*-}\$/d" $1/etc/filesystems - depmod -a $VERSION-slitaz + chroot "$1/" depmod -a $VERSION-slitaz } diff -r 00fefa6ebb77 -r 1d89aa1672da linux-md/receipt --- a/linux-md/receipt Thu Feb 17 01:45:49 2011 +0100 +++ b/linux-md/receipt Wed Feb 16 20:27:55 2011 +0000 @@ -18,7 +18,7 @@ mkdir -p $fs/$path export src export _pkg - $src/slitaz/list_modules.sh drivers/md | while read module; do + $WOK/$WANTED/stuff/list_modules.sh drivers/md | while read module; do case "$module" in crypto/*) continue;; esac @@ -42,6 +42,6 @@ post_remove() { - depmod -a $VERSION-slitaz + chroot "$1/" depmod -a $VERSION-slitaz } diff -r 00fefa6ebb77 -r 1d89aa1672da linux-memstick/receipt --- a/linux-memstick/receipt Thu Feb 17 01:45:49 2011 +0100 +++ b/linux-memstick/receipt Wed Feb 16 20:27:55 2011 +0000 @@ -19,7 +19,7 @@ export src export _pkg - $src/slitaz/list_modules.sh drivers/memstick | while read module; do + $WOK/$WANTED/stuff/list_modules.sh drivers/memstick | while read module; do dir=$path/$(dirname $module) [ -d $fs/$dir ] || mkdir -p $fs/$dir cp -a $_pkg/$path/$module $fs/$dir @@ -40,6 +40,6 @@ post_remove() { - depmod -a $VERSION-slitaz + chroot "$1/" depmod -a $VERSION-slitaz } diff -r 00fefa6ebb77 -r 1d89aa1672da linux-minix/receipt --- a/linux-minix/receipt Thu Feb 17 01:45:49 2011 +0100 +++ b/linux-minix/receipt Wed Feb 16 20:27:55 2011 +0000 @@ -18,7 +18,7 @@ mkdir -p $fs/$path $fs/etc export src export _pkg - $src/slitaz/list_modules.sh fs/${PACKAGE#*-} | while read module; do + $WOK/$WANTED/stuff/list_modules.sh fs/${PACKAGE#*-} | while read module; do dir=$path/$(dirname $module) [ -d $fs/$dir ] || mkdir -p $fs/$dir cp -a $_pkg/$path/$module $fs/$dir @@ -37,6 +37,6 @@ post_remove() { sed -i "/^${PACKAGE#*-}\$/d" $1/etc/filesystems - depmod -a $VERSION-slitaz + chroot "$1/" depmod -a $VERSION-slitaz } diff -r 00fefa6ebb77 -r 1d89aa1672da linux-mmc/receipt --- a/linux-mmc/receipt Thu Feb 17 01:45:49 2011 +0100 +++ b/linux-mmc/receipt Wed Feb 16 20:27:55 2011 +0000 @@ -17,7 +17,7 @@ mkdir -p $fs/$path export src export _pkg - $src/slitaz/list_modules.sh drivers/mmc drivers/misc/tifm_7xx1.ko.gz drivers/misc/iwmc3200top/iwmc3200top.ko.gz| \ + $WOK/$WANTED/stuff/list_modules.sh drivers/mmc drivers/misc/tifm_7xx1.ko.gz drivers/misc/iwmc3200top/iwmc3200top.ko.gz| \ while read module; do dir=$path/$(dirname $module) [ -d $fs/$dir ] || mkdir -p $fs/$dir @@ -39,6 +39,6 @@ post_remove() { - depmod -a $VERSION-slitaz + chroot "$1/" depmod -a $VERSION-slitaz } diff -r 00fefa6ebb77 -r 1d89aa1672da linux-mwave/receipt --- a/linux-mwave/receipt Thu Feb 17 01:45:49 2011 +0100 +++ b/linux-mwave/receipt Wed Feb 16 20:27:55 2011 +0000 @@ -17,7 +17,7 @@ mkdir -p $fs/$path export src export _pkg - $src/slitaz/list_modules.sh drivers/char/mwave | while read module; do + $WOK/$WANTED/stuff/list_modules.sh drivers/char/mwave | while read module; do dir=$path/$(dirname $module) [ -d $fs/$dir ] || mkdir -p $fs/$dir cp -a $_pkg/$path/$module $fs/$dir @@ -32,6 +32,6 @@ post_remove() { - depmod -a $VERSION-slitaz + chroot "$1/" depmod -a $VERSION-slitaz } diff -r 00fefa6ebb77 -r 1d89aa1672da linux-ncpfs/receipt --- a/linux-ncpfs/receipt Thu Feb 17 01:45:49 2011 +0100 +++ b/linux-ncpfs/receipt Wed Feb 16 20:27:55 2011 +0000 @@ -18,7 +18,7 @@ mkdir -p $fs/$path $fs/etc export src export _pkg - $src/slitaz/list_modules.sh fs/ncpfs | while read module; do + $WOK/$WANTED/stuff/list_modules.sh fs/ncpfs | while read module; do dir=$path/$(dirname $module) [ -d $fs/$dir ] || mkdir -p $fs/$dir cp -a $_pkg/$path/$module $fs/$dir @@ -37,6 +37,6 @@ post_remove() { sed -i "/^${PACKAGE#*-}\$/d" $1/etc/filesystems - depmod -a $VERSION-slitaz + chroot "$1/" depmod -a $VERSION-slitaz } diff -r 00fefa6ebb77 -r 1d89aa1672da linux-netfilter/receipt --- a/linux-netfilter/receipt Thu Feb 17 01:45:49 2011 +0100 +++ b/linux-netfilter/receipt Wed Feb 16 20:27:55 2011 +0000 @@ -19,7 +19,7 @@ export src export _pkg - $src/slitaz/list_modules.sh net/netfilter net/ipv4/netfilter net/8021q | \ + $WOK/$WANTED/stuff/list_modules.sh net/netfilter net/ipv4/netfilter net/8021q | \ while read module; do dir=$path/$(dirname $module) [ -d $fs/$dir ] || mkdir -p $fs/$dir @@ -42,6 +42,6 @@ post_remove() { - depmod -a $VERSION-slitaz + chroot "$1/" depmod -a $VERSION-slitaz } diff -r 00fefa6ebb77 -r 1d89aa1672da linux-nfsd/receipt --- a/linux-nfsd/receipt Thu Feb 17 01:45:49 2011 +0100 +++ b/linux-nfsd/receipt Wed Feb 16 20:27:55 2011 +0000 @@ -18,7 +18,7 @@ mkdir -p $fs/$path $fs/etc export src export _pkg - $src/slitaz/list_modules.sh fs/nfsd | while read module; do + $WOK/$WANTED/stuff/list_modules.sh fs/nfsd | while read module; do dir=$path/$(dirname $module) [ -d $fs/$dir ] || mkdir -p $fs/$dir cp -a $_pkg/$path/$module $fs/$dir @@ -37,6 +37,6 @@ post_remove() { sed -i "/^${PACKAGE#*-}\$/d" $1/etc/filesystems - depmod -a $VERSION-slitaz + chroot "$1/" depmod -a $VERSION-slitaz } diff -r 00fefa6ebb77 -r 1d89aa1672da linux-reiserfs/receipt --- a/linux-reiserfs/receipt Thu Feb 17 01:45:49 2011 +0100 +++ b/linux-reiserfs/receipt Wed Feb 16 20:27:55 2011 +0000 @@ -18,7 +18,7 @@ mkdir -p $fs/$path $fs/etc export src export _pkg - $src/slitaz/list_modules.sh fs/reiserfs | while read module; do + $WOK/$WANTED/stuff/list_modules.sh fs/reiserfs | while read module; do dir=$path/$(dirname $module) [ -d $fs/$dir ] || mkdir -p $fs/$dir cp -a $_pkg/$path/$module $fs/$dir @@ -37,6 +37,6 @@ post_remove() { sed -i "/^${PACKAGE#*-}\$/d" $1/etc/filesystems - depmod -a $VERSION-slitaz + chroot "$1/" depmod -a $VERSION-slitaz } diff -r 00fefa6ebb77 -r 1d89aa1672da linux-sched/receipt --- a/linux-sched/receipt Thu Feb 17 01:45:49 2011 +0100 +++ b/linux-sched/receipt Wed Feb 16 20:27:55 2011 +0000 @@ -20,7 +20,7 @@ export src export _pkg - $src/slitaz/list_modules.sh net/sched | while read module; do + $WOK/$WANTED/stuff/list_modules.sh net/sched | while read module; do dir=$path/$(dirname $module) [ -d $fs/$dir ] || mkdir -p $fs/$dir cp -a $_pkg/$path/$module $fs/$dir @@ -35,6 +35,6 @@ post_remove() { - depmod -a $VERSION-slitaz + chroot "$1/" depmod -a $VERSION-slitaz } diff -r 00fefa6ebb77 -r 1d89aa1672da linux-scsi/receipt --- a/linux-scsi/receipt Thu Feb 17 01:45:49 2011 +0100 +++ b/linux-scsi/receipt Wed Feb 16 20:27:55 2011 +0000 @@ -17,7 +17,7 @@ mkdir -p $fs/$path export src export _pkg - $src/slitaz/list_modules.sh drivers/scsi | while read module; do + $WOK/$WANTED/stuff/list_modules.sh drivers/scsi | while read module; do dir=$path/$(dirname $module) [ -d $fs/$dir ] || mkdir -p $fs/$dir cp -a $_pkg/$path/$module $fs/$dir @@ -32,6 +32,6 @@ post_remove() { - depmod -a $VERSION-slitaz + chroot "$1/" depmod -a $VERSION-slitaz } diff -r 00fefa6ebb77 -r 1d89aa1672da linux-sound/receipt --- a/linux-sound/receipt Thu Feb 17 01:45:49 2011 +0100 +++ b/linux-sound/receipt Wed Feb 16 20:27:55 2011 +0000 @@ -17,7 +17,7 @@ mkdir -p $fs/$path export src export _pkg - $src/slitaz/list_modules.sh sound | while read module; do + $WOK/$WANTED/stuff/list_modules.sh sound | while read module; do dir=$path/$(dirname $module) [ -d $fs/$dir ] || mkdir -p $fs/$dir cp -a $_pkg/$path/$module $fs/$dir @@ -43,6 +43,6 @@ post_remove() { - depmod -a $VERSION-slitaz + chroot "$1/" depmod -a $VERSION-slitaz } diff -r 00fefa6ebb77 -r 1d89aa1672da linux-source/receipt --- a/linux-source/receipt Thu Feb 17 01:45:49 2011 +0100 +++ b/linux-source/receipt Wed Feb 16 20:27:55 2011 +0000 @@ -17,7 +17,7 @@ mkdir -p $fs/usr/src/kernel-patches \ $fs/lib/modules/$VERSION-slitaz \ $fs/usr/bin - cp -a $src/slitaz $fs/usr/src/kernel-patches + cp -a $WOK/$WANTED/slitaz $fs/usr/src/kernel-patches cp -a stuff/buildtaz $fs/usr/src/kernel-patches/slitaz cp -a stuff/make-tazpkg.u $fs/usr/src/kernel-patches/slitaz cp -a stuff/get-linux-source $fs/usr/bin diff -r 00fefa6ebb77 -r 1d89aa1672da linux-speakup/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/linux-speakup/receipt Wed Feb 16 20:27:55 2011 +0000 @@ -0,0 +1,43 @@ +# SliTaz package receipt. + +PACKAGE="linux-speakup" +VERSION="2.6.37" +CATEGORY="base-system" +SHORT_DESC="The Linux kernel Speakup modules." +MAINTAINER="erjo@slitaz.org" +DEPENDS="linux" +WANTED="linux" +WEB_SITE="http://www.kernel.org/" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + local path + path=lib/modules/$VERSION-slitaz/kernel + mkdir -p $fs/$path + export src + export _pkg + $WOK/$WANTED/stuff/list_modules.sh drivers/staging/speakup | while read module; do + dir=$path/$(dirname $module) + [ -d $fs/$dir ] || mkdir -p $fs/$dir + cp -a $_pkg/$path/$module $fs/$dir + done + + for i in $(cat $WOK/$WANTED/stuff/modules-$VERSION.list); do + if [ $fs/lib/modules/$VERSION-slitaz/kernel/$i ]; then + rm -f $fs/lib/modules/$VERSION-slitaz/kernel/$i + fi + done +} + +# Post install/remove commands for Tazpkg. +post_install() +{ + chroot "$1/" depmod -a $VERSION-slitaz +} + +post_remove() +{ + chroot "$1/" depmod -a $VERSION-slitaz +} + diff -r 00fefa6ebb77 -r 1d89aa1672da linux-squashfs/receipt --- a/linux-squashfs/receipt Thu Feb 17 01:45:49 2011 +0100 +++ b/linux-squashfs/receipt Wed Feb 16 20:27:55 2011 +0000 @@ -19,7 +19,7 @@ mkdir -p $fs/$path $fs/etc export src export _pkg - $src/slitaz/list_modules.sh fs/squashfs | while read module; do + $WOK/$WANTED/stuff/list_modules.sh fs/squashfs | while read module; do dir=$path/$(dirname $module) [ -d $fs/$dir ] || mkdir -p $fs/$dir cp -a $_pkg/$path/$module $fs/$dir @@ -38,6 +38,6 @@ post_remove() { sed -i "/^${PACKAGE#*-}\$/d" $1/etc/filesystems - depmod -a $VERSION-slitaz + chroot "$1/" depmod -a $VERSION-slitaz } diff -r 00fefa6ebb77 -r 1d89aa1672da linux-toshiba/receipt --- a/linux-toshiba/receipt Thu Feb 17 01:45:49 2011 +0100 +++ b/linux-toshiba/receipt Wed Feb 16 20:27:55 2011 +0000 @@ -33,5 +33,5 @@ post_remove() { - depmod -a $VERSION-slitaz + chroot "$1/" depmod -a $VERSION-slitaz } diff -r 00fefa6ebb77 -r 1d89aa1672da linux-udf/receipt --- a/linux-udf/receipt Thu Feb 17 01:45:49 2011 +0100 +++ b/linux-udf/receipt Wed Feb 16 20:27:55 2011 +0000 @@ -18,7 +18,7 @@ mkdir -p $fs/$path $fs/etc export src export _pkg - $src/slitaz/list_modules.sh fs/udf | while read module; do + $WOK/$WANTED/stuff/list_modules.sh fs/udf | while read module; do dir=$path/$(dirname $module) [ -d $fs/$dir ] || mkdir -p $fs/$dir cp -a $_pkg/$path/$module $fs/$dir @@ -43,6 +43,6 @@ post_remove() { sed -i "/^${PACKAGE#*-}\$/d" $1/etc/filesystems - depmod -a $VERSION-slitaz + chroot "$1/" depmod -a $VERSION-slitaz } diff -r 00fefa6ebb77 -r 1d89aa1672da linux-usb-misc/receipt --- a/linux-usb-misc/receipt Thu Feb 17 01:45:49 2011 +0100 +++ b/linux-usb-misc/receipt Wed Feb 16 20:27:55 2011 +0000 @@ -16,7 +16,7 @@ mkdir -p $fs/$path export src export _pkg - $src/slitaz/list_modules.sh drivers/usb/misc | while read module; do + $WOK/$WANTED/stuff/list_modules.sh drivers/usb/misc | while read module; do dir=$path/$(dirname $module) [ -d $fs/$dir ] || mkdir -p $fs/$dir cp -a $_pkg/$path/$module $fs/$dir @@ -32,6 +32,6 @@ post_remove() { - depmod -a $VERSION-slitaz + chroot "$1/" depmod -a $VERSION-slitaz } diff -r 00fefa6ebb77 -r 1d89aa1672da linux-usbdsl/receipt --- a/linux-usbdsl/receipt Thu Feb 17 01:45:49 2011 +0100 +++ b/linux-usbdsl/receipt Wed Feb 16 20:27:55 2011 +0000 @@ -20,7 +20,7 @@ export src export _pkg - $src/slitaz/list_modules.sh drivers/usb/atm net/atm | \ + $WOK/$WANTED/stuff/list_modules.sh drivers/usb/atm net/atm | \ while read module; do dir=$path/$(dirname $module) [ -d $fs/$dir ] || mkdir -p $fs/$dir @@ -36,6 +36,6 @@ post_remove() { - depmod -a $VERSION-slitaz + chroot "$1/" depmod -a $VERSION-slitaz } diff -r 00fefa6ebb77 -r 1d89aa1672da linux-usbip/receipt --- a/linux-usbip/receipt Thu Feb 17 01:45:49 2011 +0100 +++ b/linux-usbip/receipt Wed Feb 16 20:27:55 2011 +0000 @@ -18,7 +18,7 @@ mkdir -p $fs/$path export src export _pkg - $src/slitaz/list_modules.sh drivers/staging/usbip | while read module; do + $WOK/$WANTED/stuff/list_modules.sh drivers/staging/usbip | while read module; do dir=$path/$(dirname $module) [ -d $fs/$dir ] || mkdir -p $fs/$dir cp -a $_pkg/$path/$module $fs/$dir @@ -36,6 +36,6 @@ post_remove() { sed -i "/^${PACKAGE#*-}\$/d" $1/etc/filesystems - depmod -a $VERSION-slitaz + chroot "$1/" depmod -a $VERSION-slitaz } diff -r 00fefa6ebb77 -r 1d89aa1672da linux-uwb/receipt --- a/linux-uwb/receipt Thu Feb 17 01:45:49 2011 +0100 +++ b/linux-uwb/receipt Wed Feb 16 20:27:55 2011 +0000 @@ -20,7 +20,7 @@ export src export _pkg - $src/slitaz/list_modules.sh drivers/uwb drivers/usb/wusbcore \ + $WOK/$WANTED/stuff/list_modules.sh drivers/uwb drivers/usb/wusbcore \ drivers/usb/host/whci | while read module; do dir=$path/$(dirname $module) [ -d $fs/$dir ] || mkdir -p $fs/$dir @@ -36,6 +36,6 @@ post_remove() { - depmod -a $VERSION-slitaz + chroot "$1/" depmod -a $VERSION-slitaz } diff -r 00fefa6ebb77 -r 1d89aa1672da linux-video/receipt --- a/linux-video/receipt Thu Feb 17 01:45:49 2011 +0100 +++ b/linux-video/receipt Wed Feb 16 20:27:55 2011 +0000 @@ -35,6 +35,6 @@ post_remove() { - depmod -a $VERSION-slitaz + chroot "$1/" depmod -a $VERSION-slitaz } diff -r 00fefa6ebb77 -r 1d89aa1672da linux-wimax/receipt --- a/linux-wimax/receipt Thu Feb 17 01:45:49 2011 +0100 +++ b/linux-wimax/receipt Wed Feb 16 20:27:55 2011 +0000 @@ -18,7 +18,7 @@ export src export _pkg - $src/slitaz/list_modules.sh drivers/net/wimax net/wimax | while read module; do + $WOK/$WANTED/stuff/list_modules.sh drivers/net/wimax net/wimax | while read module; do dir=$path/$(dirname $module) [ -d $fs/$dir ] || mkdir -p $fs/$dir cp -a $_pkg/$path/$module $fs/$dir @@ -39,6 +39,6 @@ post_remove() { - depmod -a $VERSION-slitaz + chroot "$1/" depmod -a $VERSION-slitaz } diff -r 00fefa6ebb77 -r 1d89aa1672da linux-wireless/receipt --- a/linux-wireless/receipt Thu Feb 17 01:45:49 2011 +0100 +++ b/linux-wireless/receipt Wed Feb 16 20:27:55 2011 +0000 @@ -19,7 +19,7 @@ export src export _pkg - $src/slitaz/list_modules.sh drivers/net/wireless drivers/staging/wlan-ng \ + $WOK/$WANTED/stuff/list_modules.sh drivers/net/wireless drivers/staging/wlan-ng \ drivers/staging/rt2860 drivers/staging/rt2870 drivers/staging/echo \ drivers/leds net/wireless net/mac80211 drivers/staging/rtl8192e/r8192e_pci.ko.gz \ drivers/staging/rtl8192su/r8192s_usb.ko.gz drivers/staging/rtl8187se/r8187se.ko.gz \ @@ -45,6 +45,6 @@ post_remove() { - depmod -a $VERSION-slitaz + chroot "$1/" depmod -a $VERSION-slitaz } diff -r 00fefa6ebb77 -r 1d89aa1672da linux/receipt --- a/linux/receipt Thu Feb 17 01:45:49 2011 +0100 +++ b/linux/receipt Wed Feb 16 20:27:55 2011 +0000 @@ -24,28 +24,29 @@ report open-bloc report step "Installing aufs source" - AUFSDIR=$WOK/$PACKAGE/aufs - tazwok get-src aufs --target=$AUFSDIR + _AUFSVER=`grep ^VERSION= $WOK/aufs/receipt | cut -d "=" -f2 | sed -e 's/"//g'` + AUFSDIR=$WOK/$PACKAGE/aufs-${_AUFSVER} + tazwok get-src aufs --target=$AUFSDIR || { report close-bloc; return 1; } cp -a $AUFSDIR/Documentation $AUFSDIR/fs $AUFSDIR/include $src cp -a $AUFSDIR/*.patch $WOK/$PACKAGE/stuff cd $src # SliTaz db - [ -d slitaz ] && rm -rf slitaz 2> /dev/null - mkdir slitaz + [ -d $WOK/$PACKAGE/slitaz ] && rm -rf $WOK/$PACKAGE/slitaz 2> /dev/null + mkdir $WOK/$PACKAGE/slitaz echo "$WGET_URL" > slitaz/url - cp ../stuff/gztazmod.sh ../stuff/list_modules.sh slitaz - cp ../stuff/bootloader.sh slitaz + cp $stuff/gztazmod.sh $stuff/list_modules.sh $WOK/$PACKAGE/slitaz + cp $stuff/bootloader.sh $WOK/$PACKAGE/slitaz # Apply patches report step "Applying patches" while read patch_file; do - echo "$patch_file" >> slitaz/patches - cp ../stuff/$patch_file slitaz + echo "$patch_file" >> $WOK/$PACKAGE/slitaz/patches + cp $stuff/$patch_file $WOK/$PACKAGE/slitaz if [ -f done.$patch_file ]; then echo "Skipping $patch_file" continue fi echo "Apply $patch_file" - patch -p1 < slitaz/$patch_file || return 1 + patch -p1 < $WOK/$PACKAGE/slitaz/$patch_file || { report close-bloc; return 1; } touch done.$patch_file done < /dev/null mv arch/x86/boot/bzImage $PWD/_pkg/boot/vmlinuz-$VERSION-slitaz # Compress all modules. report step "Compressing all modules" - $WOK/$PACKAGE/stuff/gztazmod.sh $PWD/_pkg/lib/modules/$VERSION-slitaz + $stuff/gztazmod.sh $PWD/_pkg/lib/modules/$VERSION-slitaz ln System.map System.map-modules ln Module.symvers Module.symvers-modules report close-bloc @@ -114,13 +115,14 @@ # Get the base modules export src export _pkg - $src/slitaz/list_modules.sh \ - $(cat stuff/modules-$VERSION.list) > $src/modules.list + mkdir $WOK/tmp + $WOK/$PACKAGE/stuff/list_modules.sh \ + $(cat stuff/modules-$VERSION.list) > $WOK/tmp/modules.list while read module; do dir=$(dirname $module) [ -d $path/$dir ] || mkdir -p $path/$dir cp -a $_pkg/lib/modules/$VERSION-slitaz/kernel/$module $path/$dir - done < $src/modules.list + done < $WOK/tmp/modules.list # Remove unresolved links rm -f $fs/lib/modules/$VERSION-slitaz/build rm -f $fs/lib/modules/$VERSION-slitaz/source diff -r 00fefa6ebb77 -r 1d89aa1672da linux/stuff/check_modules.sh --- a/linux/stuff/check_modules.sh Thu Feb 17 01:45:49 2011 +0100 +++ b/linux/stuff/check_modules.sh Wed Feb 16 20:27:55 2011 +0000 @@ -4,48 +4,51 @@ # 20090618 # 20100528 # -WOK=$(cd `basedir $0` && pwd | sed 's/wok.*/wok/') +#. /etc/slitaz/slitaz.conf + +#WOK=$LOCAL_REPOSITORY/wok +WOK=$(cd `dirname $0` && pwd | sed 's/wok.*/wok/') VERSION=`grep ^VERSION= $WOK/linux/receipt | cut -d "=" -f2 | sed -e 's/"//g'` src="$WOK/linux/linux-$VERSION" cd $src -mkdir -p ../tmp -rm -f ../tmp/* +mkdir -p $WOK/tmp +rm -f $WOK/tmp/* echo -e "\nChecking for modules selected in .config but not in linux-* pkgs" echo "======================================================================" # create a packaged modules list -cat ../stuff/modules-"$VERSION".list >> ../tmp/pkgs-modules-"$VERSION".list +cat ../stuff/modules-"$VERSION".list >> $WOK/tmp/pkgs-modules-"$VERSION".list for i in $(cd $WOK; ls -d linux-*) do tazpath="taz/$i-$VERSION" for j in $(cat $WOK/$i/$tazpath/files.list | grep ".ko.gz") do - basename $j >> ../tmp/pkgs-modules-"$VERSION".list + basename $j >> $WOK/tmp/pkgs-modules-"$VERSION".list done done # get the original list in .config for i in $(find $_pkg -iname "*.ko.gz") do - basename $i >> ../tmp/originial-"$VERSION".list + basename $i >> $WOK/tmp/originial-"$VERSION".list done # compare original .config and pkged modules -for i in $(cat ../tmp/originial-$VERSION.list) +for i in $(cat $WOK/tmp/originial-$VERSION.list) do - if ! grep -qs "$i" ../tmp/pkgs-modules-"$VERSION".list ; then + if ! grep -qs "$i" $WOK/tmp/pkgs-modules-"$VERSION".list ; then modpath=`find $_pkg -iname "$i"` echo "Orphan module: $i" - echo "$i : $modpath" >> ../tmp/unpackaged-modules-"$VERSION".list + echo "$i : $modpath" >> $WOK/tmp/unpackaged-modules-"$VERSION".list fi done -if [ -f ../tmp/unpackaged-modules-"$VERSION".list ]; then +if [ -f $WOK/tmp/unpackaged-modules-"$VERSION".list ]; then echo "======================================================================" echo -e "Check linux/tmp/unpackaged-modules-$VERSION.list for mod path\n" else echo -e "\nAll modules are packaged\n" echo "======================================================================" echo "" - rm -rf ../tmp + rm -rf $WOK/tmp fi diff -r 00fefa6ebb77 -r 1d89aa1672da linux/stuff/linux-2.6.37-slitaz.config --- a/linux/stuff/linux-2.6.37-slitaz.config Thu Feb 17 01:45:49 2011 +0100 +++ b/linux/stuff/linux-2.6.37-slitaz.config Wed Feb 16 20:27:55 2011 +0000 @@ -1,7 +1,7 @@ # # Automatically generated make config: don't edit # Linux/i386 2.6.37 Kernel Configuration -# Sat Jan 22 20:57:39 2011 +# Mon Feb 14 03:03:39 2011 # # CONFIG_64BIT is not set CONFIG_X86_32=y @@ -2312,7 +2312,7 @@ # CONFIG_BATTERY_BQ27x00 is not set # CONFIG_BATTERY_MAX17040 is not set CONFIG_HWMON=m -# CONFIG_HWMON_VID is not set +CONFIG_HWMON_VID=m # CONFIG_HWMON_DEBUG_CHIP is not set # @@ -2322,7 +2322,6 @@ CONFIG_SENSORS_ABITUGURU3=m CONFIG_SENSORS_AD7414=m CONFIG_SENSORS_AD7418=m -CONFIG_SENSORS_ADCXX=m CONFIG_SENSORS_ADM1021=m CONFIG_SENSORS_ADM1025=m CONFIG_SENSORS_ADM1026=m @@ -2350,12 +2349,9 @@ CONFIG_SENSORS_GPIO_FAN=m CONFIG_SENSORS_CORETEMP=m CONFIG_SENSORS_PKGTEMP=m -CONFIG_SENSORS_IBMAEM=m -CONFIG_SENSORS_IBMPEX=m CONFIG_SENSORS_IT87=m CONFIG_SENSORS_JC42=m CONFIG_SENSORS_LM63=m -CONFIG_SENSORS_LM70=m CONFIG_SENSORS_LM73=m CONFIG_SENSORS_LM75=m CONFIG_SENSORS_LM77=m @@ -2371,7 +2367,6 @@ CONFIG_SENSORS_LTC4245=m CONFIG_SENSORS_LTC4261=m CONFIG_SENSORS_LM95241=m -CONFIG_SENSORS_MAX1111=m CONFIG_SENSORS_MAX1619=m CONFIG_SENSORS_MAX6650=m CONFIG_SENSORS_PC87360=m @@ -2387,7 +2382,6 @@ CONFIG_SENSORS_SMSC47M192=m CONFIG_SENSORS_SMSC47B397=m CONFIG_SENSORS_ADS7828=m -CONFIG_SENSORS_ADS7871=m CONFIG_SENSORS_AMC6821=m CONFIG_SENSORS_THMC50=m CONFIG_SENSORS_TMP102=m @@ -2407,10 +2401,8 @@ CONFIG_SENSORS_W83L786NG=m CONFIG_SENSORS_W83627HF=m CONFIG_SENSORS_W83627EHF=m -CONFIG_SENSORS_WM831X=m CONFIG_SENSORS_LIS3_I2C=m CONFIG_SENSORS_APPLESMC=m -CONFIG_SENSORS_MC13783_ADC=m # # ACPI drivers @@ -3200,7 +3192,22 @@ # # Speakup console speech # -# CONFIG_SPEAKUP is not set +CONFIG_SPEAKUP=m +CONFIG_SPEAKUP_SYNTH_ACNTSA=m +CONFIG_SPEAKUP_SYNTH_ACNTPC=m +CONFIG_SPEAKUP_SYNTH_APOLLO=m +CONFIG_SPEAKUP_SYNTH_AUDPTR=m +CONFIG_SPEAKUP_SYNTH_BNS=m +CONFIG_SPEAKUP_SYNTH_DECTLK=m +CONFIG_SPEAKUP_SYNTH_DECEXT=m +CONFIG_SPEAKUP_SYNTH_DECPC=m +CONFIG_SPEAKUP_SYNTH_DTLK=m +CONFIG_SPEAKUP_SYNTH_KEYPC=m +CONFIG_SPEAKUP_SYNTH_LTLK=m +CONFIG_SPEAKUP_SYNTH_SOFT=m +CONFIG_SPEAKUP_SYNTH_SPKOUT=m +CONFIG_SPEAKUP_SYNTH_TXPRT=m +CONFIG_SPEAKUP_SYNTH_DUMMY=m CONFIG_X86_PLATFORM_DEVICES=y CONFIG_ACER_WMI=m CONFIG_ASUS_LAPTOP=m