wok-6.x rev 16657

linux64*: update from list_modules.sh, _pkg => install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 14 05:35:49 2014 +0000 (2014-05-14)
parents b4ba409d5d3d
children e67fcec5ae0d
files linux64-acpi/receipt linux64-agp/receipt linux64-aoe/receipt linux64-appletalk/receipt linux64-arcnet/receipt linux64-autofs/receipt linux64-bluetooth/receipt linux64-bridge/receipt linux64-btrfs/receipt linux64-cifs/receipt linux64-coda/receipt linux64-configfs/receipt linux64-cpufreq/receipt linux64-cramfs/receipt linux64-crypto/receipt linux64-cryptoloop/receipt linux64-dialup/receipt linux64-dlm/receipt linux64-drm/receipt linux64-firewire/receipt linux64-gfs2/receipt linux64-hfs/receipt linux64-hfsplus/receipt linux64-hwmon/receipt linux64-input-misc/receipt linux64-input-tablet/receipt linux64-input-touchscreen/receipt linux64-ipv6/receipt linux64-irda/receipt linux64-isdn/receipt linux64-jfs/receipt linux64-joystick/receipt linux64-kvm/receipt linux64-logfs/receipt linux64-md/receipt linux64-media/receipt linux64-memstick/receipt linux64-minix/receipt linux64-mmc/receipt linux64-mwave/receipt linux64-nbd/receipt linux64-ncpfs/receipt linux64-netfilter/receipt linux64-nfsd/receipt linux64-ocfs2/receipt linux64-radio/receipt linux64-reiserfs/receipt linux64-sched/receipt linux64-scsi/receipt linux64-sound/receipt linux64-speakup/receipt linux64-squashfs/receipt linux64-staging/receipt linux64-usb-misc/receipt linux64-usbdsl/receipt linux64-usbip/receipt linux64-uwb/receipt linux64-video/receipt linux64-wan/receipt linux64-wimax/receipt linux64-wireless/receipt linux64-without-modules/receipt linux64-zram/receipt linux64/receipt
line diff
     1.1 --- a/linux64-acpi/receipt	Wed May 14 01:49:30 2014 +0300
     1.2 +++ b/linux64-acpi/receipt	Wed May 14 05:35:49 2014 +0000
     1.3 @@ -15,16 +15,16 @@
     1.4  genpkg_rules()
     1.5  {
     1.6      local path
     1.7 -    _pkg=$install/linux64
     1.8 +    install=$install/linux64
     1.9      path=lib/modules/$VERSION-slitaz/kernel
    1.10      mkdir -p $fs/$path
    1.11      export src
    1.12 -    export _pkg
    1.13 +    export install
    1.14      $wanted_stuff/list_modules.sh drivers/acpi drivers/platform/x86 | \
    1.15      while read module; do
    1.16      	dir=$path/$(dirname $module)
    1.17      	[ -d $fs/$dir ] || mkdir -p $fs/$dir
    1.18 -        cp -a $_pkg/$path/$module $fs/$dir
    1.19 +        cp -a $install/$path/$module $fs/$dir
    1.20      done
    1.21  
    1.22      for i in $(cat $wanted_stuff/modules.list); do
     2.1 --- a/linux64-agp/receipt	Wed May 14 01:49:30 2014 +0300
     2.2 +++ b/linux64-agp/receipt	Wed May 14 05:35:49 2014 +0000
     2.3 @@ -15,15 +15,15 @@
     2.4  genpkg_rules()
     2.5  {
     2.6      local path
     2.7 -    _pkg=$install/linux64
     2.8 +    install=$install/linux64
     2.9      path=lib/modules/$VERSION-slitaz/kernel
    2.10      mkdir -p $fs/$path
    2.11      export src
    2.12 -    export _pkg
    2.13 +    export install
    2.14      $wanted_stuff/list_modules.sh drivers/char/agp | while read module; do
    2.15      	dir=$path/$(dirname $module)
    2.16      	[ -d $fs/$dir ] || mkdir -p $fs/$dir
    2.17 -        cp -a $_pkg/$path/$module $fs/$dir
    2.18 +        cp -a $install/$path/$module $fs/$dir
    2.19      done
    2.20  
    2.21      for i in $(cat $wanted_stuff/modules.list); do
     3.1 --- a/linux64-aoe/receipt	Wed May 14 01:49:30 2014 +0300
     3.2 +++ b/linux64-aoe/receipt	Wed May 14 05:35:49 2014 +0000
     3.3 @@ -15,16 +15,16 @@
     3.4  genpkg_rules()
     3.5  {
     3.6      local path
     3.7 -    _pkg=$install/linux64
     3.8 +    install=$install/linux64
     3.9      path=lib/modules/$VERSION-slitaz/kernel
    3.10      mkdir -p $fs/$path
    3.11      export src
    3.12 -    export _pkg
    3.13 +    export install
    3.14      $wanted_stuff/list_modules.sh drivers/block/aoe/aoe.ko.xz | \
    3.15      while read module; do
    3.16      	dir=$path/$(dirname $module)
    3.17      	[ -d $fs/$dir ] || mkdir -p $fs/$dir
    3.18 -        cp -a $_pkg/$path/$module $fs/$dir
    3.19 +        cp -a $install/$path/$module $fs/$dir
    3.20      done
    3.21  }
    3.22  
     4.1 --- a/linux64-appletalk/receipt	Wed May 14 01:49:30 2014 +0300
     4.2 +++ b/linux64-appletalk/receipt	Wed May 14 05:35:49 2014 +0000
     4.3 @@ -15,18 +15,18 @@
     4.4  genpkg_rules()
     4.5  {
     4.6      local path
     4.7 -    _pkg=$install/linux64
     4.8 +    install=$install/linux64
     4.9      path=lib/modules/$VERSION-slitaz/kernel
    4.10      mkdir -p $fs/$path
    4.11      
    4.12      export src
    4.13 -    export _pkg
    4.14 +    export install
    4.15      
    4.16      $wanted_stuff/list_modules.sh drivers/net/appletalk net/appletalk \
    4.17  	net/802/p8022.ko.xz | while read module; do
    4.18      	dir=$path/$(dirname $module)
    4.19      	[ -d $fs/$dir ] || mkdir -p $fs/$dir
    4.20 -        cp -a $_pkg/$path/$module $fs/$dir
    4.21 +        cp -a $install/$path/$module $fs/$dir
    4.22      done
    4.23  
    4.24      for i in $(cat $wanted_stuff/modules.list); do
     5.1 --- a/linux64-arcnet/receipt	Wed May 14 01:49:30 2014 +0300
     5.2 +++ b/linux64-arcnet/receipt	Wed May 14 05:35:49 2014 +0000
     5.3 @@ -15,18 +15,18 @@
     5.4  genpkg_rules()
     5.5  {
     5.6      local path
     5.7 -    _pkg=$install/linux64
     5.8 +    install=$install/linux64
     5.9      path=lib/modules/$VERSION-slitaz/kernel
    5.10      mkdir -p $fs/$path
    5.11      
    5.12      export src
    5.13 -    export _pkg
    5.14 +    export install
    5.15      
    5.16      $wanted_stuff/list_modules.sh drivers/net/arcnet drivers/net/arcnet/arcnet.ko.xz \
    5.17      drivers/net/arcnet/com90xx.ko.xz drivers/net/arcnet/rfc1051.ko.xz | while read module; do
    5.18      	dir=$path/$(dirname $module)
    5.19      	[ -d $fs/$dir ] || mkdir -p $fs/$dir
    5.20 -        cp -a $_pkg/$path/$module $fs/$dir
    5.21 +        cp -a $install/$path/$module $fs/$dir
    5.22      done
    5.23  
    5.24      for i in $(cat $wanted_stuff/modules.list); do
     6.1 --- a/linux64-autofs/receipt	Wed May 14 01:49:30 2014 +0300
     6.2 +++ b/linux64-autofs/receipt	Wed May 14 05:35:49 2014 +0000
     6.3 @@ -16,15 +16,15 @@
     6.4  genpkg_rules()
     6.5  {
     6.6      local path
     6.7 -    _pkg=$install/linux64
     6.8 +    install=$install/linux64
     6.9      path=lib/modules/$VERSION-slitaz/kernel
    6.10      mkdir -p $fs/$path $fs/etc
    6.11      export src
    6.12 -    export _pkg
    6.13 +    export install
    6.14      $wanted_stuff/list_modules.sh fs/autofs4 | while read module; do
    6.15      	dir=$path/$(dirname $module)
    6.16      	[ -d $fs/$dir ] || mkdir -p $fs/$dir
    6.17 -        cp -a $_pkg/$path/$module $fs/$dir
    6.18 +        cp -a $install/$path/$module $fs/$dir
    6.19      done
    6.20      touch $fs/etc/filesystems
    6.21  }
     7.1 --- a/linux64-bluetooth/receipt	Wed May 14 01:49:30 2014 +0300
     7.2 +++ b/linux64-bluetooth/receipt	Wed May 14 05:35:49 2014 +0000
     7.3 @@ -15,15 +15,15 @@
     7.4  genpkg_rules()
     7.5  {
     7.6      local path
     7.7 -    _pkg=$install/linux64
     7.8 +    install=$install/linux64
     7.9      path=lib/modules/$VERSION-slitaz/kernel
    7.10      mkdir -p $fs/$path
    7.11      export src
    7.12 -    export _pkg
    7.13 +    export install
    7.14      $wanted_stuff/list_modules.sh drivers/bluetooth net/bluetooth | while read module; do
    7.15      	dir=$path/$(dirname $module)
    7.16      	[ -d $fs/$dir ] || mkdir -p $fs/$dir
    7.17 -        cp -a $_pkg/$path/$module $fs/$dir
    7.18 +        cp -a $install/$path/$module $fs/$dir
    7.19      done
    7.20  
    7.21      for i in $(cat $wanted_stuff/modules.list); do
     8.1 --- a/linux64-bridge/receipt	Wed May 14 01:49:30 2014 +0300
     8.2 +++ b/linux64-bridge/receipt	Wed May 14 05:35:49 2014 +0000
     8.3 @@ -15,15 +15,15 @@
     8.4  genpkg_rules()
     8.5  {
     8.6      local path
     8.7 -    _pkg=$install/linux64
     8.8 +    install=$install/linux64
     8.9      path=lib/modules/$VERSION-slitaz/kernel
    8.10      mkdir -p $fs/$path
    8.11      export src
    8.12 -    export _pkg
    8.13 +    export install
    8.14      $wanted_stuff/list_modules.sh net/bridge | while read module; do
    8.15      	dir=$path/$(dirname $module)
    8.16      	[ -d $fs/$dir ] || mkdir -p $fs/$dir
    8.17 -        cp -a $_pkg/$path/$module $fs/$dir
    8.18 +        cp -a $install/$path/$module $fs/$dir
    8.19      done
    8.20  
    8.21      for i in $(cat $wanted_stuff/modules.list); do
     9.1 --- a/linux64-btrfs/receipt	Wed May 14 01:49:30 2014 +0300
     9.2 +++ b/linux64-btrfs/receipt	Wed May 14 05:35:49 2014 +0000
     9.3 @@ -16,15 +16,15 @@
     9.4  genpkg_rules()
     9.5  {
     9.6      local path
     9.7 -    _pkg=$install/linux64
     9.8 +    install=$install/linux64
     9.9      path=lib/modules/$VERSION-slitaz/kernel
    9.10      mkdir -p $fs/$path $fs/etc
    9.11      export src
    9.12 -    export _pkg
    9.13 +    export install
    9.14      $wanted_stuff/list_modules.sh fs/${PACKAGE#*-} | while read module; do
    9.15      	dir=$path/$(dirname $module)
    9.16      	[ -d $fs/$dir ] || mkdir -p $fs/$dir
    9.17 -        cp -a $_pkg/$path/$module $fs/$dir
    9.18 +        cp -a $install/$path/$module $fs/$dir
    9.19      done
    9.20      touch $fs/etc/filesystems
    9.21  
    10.1 --- a/linux64-cifs/receipt	Wed May 14 01:49:30 2014 +0300
    10.2 +++ b/linux64-cifs/receipt	Wed May 14 05:35:49 2014 +0000
    10.3 @@ -16,15 +16,15 @@
    10.4  genpkg_rules()
    10.5  {
    10.6      local path
    10.7 -    _pkg=$install/linux64
    10.8 +    install=$install/linux64
    10.9      path=lib/modules/$VERSION-slitaz/kernel
   10.10      mkdir -p $fs/$path $fs/etc
   10.11      export src
   10.12 -    export _pkg
   10.13 +    export install
   10.14      $wanted_stuff/list_modules.sh fs/cifs | while read module; do
   10.15      	dir=$path/$(dirname $module)
   10.16      	[ -d $fs/$dir ] || mkdir -p $fs/$dir
   10.17 -        cp -a $_pkg/$path/$module $fs/$dir
   10.18 +        cp -a $install/$path/$module $fs/$dir
   10.19      done
   10.20      touch $fs/etc/filesystems
   10.21  }
    11.1 --- a/linux64-coda/receipt	Wed May 14 01:49:30 2014 +0300
    11.2 +++ b/linux64-coda/receipt	Wed May 14 05:35:49 2014 +0000
    11.3 @@ -16,15 +16,15 @@
    11.4  genpkg_rules()
    11.5  {
    11.6      local path
    11.7 -    _pkg=$install/linux64
    11.8 +    install=$install/linux64
    11.9      path=lib/modules/$VERSION-slitaz/kernel
   11.10      mkdir -p $fs/$path $fs/etc
   11.11      export src
   11.12 -    export _pkg
   11.13 +    export install
   11.14      $wanted_stuff/list_modules.sh fs/coda | while read module; do
   11.15      	dir=$path/$(dirname $module)
   11.16      	[ -d $fs/$dir ] || mkdir -p $fs/$dir
   11.17 -        cp -a $_pkg/$path/$module $fs/$dir
   11.18 +        cp -a $install/$path/$module $fs/$dir
   11.19      done
   11.20      touch $fs/etc/filesystems
   11.21  }
    12.1 --- a/linux64-configfs/receipt	Wed May 14 01:49:30 2014 +0300
    12.2 +++ b/linux64-configfs/receipt	Wed May 14 05:35:49 2014 +0000
    12.3 @@ -16,15 +16,15 @@
    12.4  genpkg_rules()
    12.5  {
    12.6      local path
    12.7 -    _pkg=$install/linux64
    12.8 +    install=$install/linux64
    12.9      path=lib/modules/$VERSION-slitaz/kernel
   12.10      mkdir -p $fs/$path $fs/etc
   12.11      export src
   12.12 -    export _pkg
   12.13 +    export install
   12.14      $wanted_stuff/list_modules.sh fs/${PACKAGE#*-} | while read module; do
   12.15      	dir=$path/$(dirname $module)
   12.16      	[ -d $fs/$dir ] || mkdir -p $fs/$dir
   12.17 -        cp -a $_pkg/$path/$module $fs/$dir
   12.18 +        cp -a $install/$path/$module $fs/$dir
   12.19      done
   12.20      touch $fs/etc/filesystems
   12.21  }
    13.1 --- a/linux64-cpufreq/receipt	Wed May 14 01:49:30 2014 +0300
    13.2 +++ b/linux64-cpufreq/receipt	Wed May 14 05:35:49 2014 +0000
    13.3 @@ -15,16 +15,16 @@
    13.4  genpkg_rules()
    13.5  {
    13.6      local path
    13.7 -    _pkg=$install/linux64
    13.8 +    install=$install/linux64
    13.9      path=lib/modules/$VERSION-slitaz/kernel
   13.10      mkdir -p $fs/$path
   13.11      export src
   13.12 -    export _pkg
   13.13 +    export install
   13.14      $wanted_stuff/list_modules.sh drivers/cpufreq | \
   13.15      while read module; do
   13.16      	dir=$path/$(dirname $module)
   13.17      	[ -d $fs/$dir ] || mkdir -p $fs/$dir
   13.18 -        cp -a $_pkg/$path/$module $fs/$dir
   13.19 +        cp -a $install/$path/$module $fs/$dir
   13.20      done
   13.21  }
   13.22  
    14.1 --- a/linux64-cramfs/receipt	Wed May 14 01:49:30 2014 +0300
    14.2 +++ b/linux64-cramfs/receipt	Wed May 14 05:35:49 2014 +0000
    14.3 @@ -16,15 +16,15 @@
    14.4  genpkg_rules()
    14.5  {
    14.6      local path
    14.7 -    _pkg=$install/linux64
    14.8 +    install=$install/linux64
    14.9      path=lib/modules/$VERSION-slitaz/kernel
   14.10      mkdir -p $fs/$path $fs/etc
   14.11      export src
   14.12 -    export _pkg
   14.13 +    export install
   14.14      $wanted_stuff/list_modules.sh fs/cramfs | while read module; do
   14.15      	dir=$path/$(dirname $module)
   14.16      	[ -d $fs/$dir ] || mkdir -p $fs/$dir
   14.17 -        cp -a $_pkg/$path/$module $fs/$dir
   14.18 +        cp -a $install/$path/$module $fs/$dir
   14.19      done
   14.20      touch $fs/etc/filesystems
   14.21  }
    15.1 --- a/linux64-crypto/receipt	Wed May 14 01:49:30 2014 +0300
    15.2 +++ b/linux64-crypto/receipt	Wed May 14 05:35:49 2014 +0000
    15.3 @@ -15,16 +15,16 @@
    15.4  genpkg_rules()
    15.5  {
    15.6      local path
    15.7 -    _pkg=$install/linux64
    15.8 +    install=$install/linux64
    15.9      path=lib/modules/$VERSION-slitaz/kernel
   15.10      mkdir -p $fs/$path
   15.11      export src
   15.12 -    export _pkg
   15.13 +    export install
   15.14      $wanted_stuff/list_modules.sh arch/x86/crypto crypto drivers/crypto | \
   15.15      while read module; do
   15.16      	dir=$path/$(dirname $module)
   15.17      	[ -d $fs/$dir ] || mkdir -p $fs/$dir
   15.18 -        cp -a $_pkg/$path/$module $fs/$dir
   15.19 +        cp -a $install/$path/$module $fs/$dir
   15.20      done
   15.21  
   15.22      for i in $(cat $wanted_stuff/modules.list); do
    16.1 --- a/linux64-cryptoloop/receipt	Wed May 14 01:49:30 2014 +0300
    16.2 +++ b/linux64-cryptoloop/receipt	Wed May 14 05:35:49 2014 +0000
    16.3 @@ -15,16 +15,16 @@
    16.4  genpkg_rules()
    16.5  {
    16.6      local path
    16.7 -    _pkg=$install/linux64
    16.8 +    install=$install/linux64
    16.9      path=lib/modules/$VERSION-slitaz/kernel
   16.10      mkdir -p $fs/$path
   16.11      export src
   16.12 -    export _pkg
   16.13 +    export install
   16.14      $wanted_stuff/list_modules.sh drivers/block/cryptoloop.ko.xz | \
   16.15      while read module; do
   16.16      	dir=$path/$(dirname $module)
   16.17      	[ -d $fs/$dir ] || mkdir -p $fs/$dir
   16.18 -        cp -a $_pkg/$path/$module $fs/$dir
   16.19 +        cp -a $install/$path/$module $fs/$dir
   16.20      done
   16.21  }
   16.22  
    17.1 --- a/linux64-dialup/receipt	Wed May 14 01:49:30 2014 +0300
    17.2 +++ b/linux64-dialup/receipt	Wed May 14 05:35:49 2014 +0000
    17.3 @@ -15,17 +15,17 @@
    17.4  genpkg_rules()
    17.5  {
    17.6      local path
    17.7 -    _pkg=$install/linux64
    17.8 +    install=$install/linux64
    17.9      path=lib/modules/$VERSION-slitaz/kernel
   17.10      mkdir -p $fs/$path
   17.11      export src
   17.12 -    export _pkg
   17.13 +    export install
   17.14      $wanted_stuff/list_modules.sh drivers/tty/serial/serial_cs.ko.xz \
   17.15  	drivers/usb/serial drivers/net/usb/hso.ko.xz | \
   17.16  	while read module; do
   17.17      	dir=$path/$(dirname $module)
   17.18      	[ -d $fs/$dir ] || mkdir -p $fs/$dir
   17.19 -        cp -a $_pkg/$path/$module $fs/$dir
   17.20 +        cp -a $install/$path/$module $fs/$dir
   17.21      done
   17.22  
   17.23      for i in $(cat $wanted_stuff/modules.list); do
    18.1 --- a/linux64-dlm/receipt	Wed May 14 01:49:30 2014 +0300
    18.2 +++ b/linux64-dlm/receipt	Wed May 14 05:35:49 2014 +0000
    18.3 @@ -19,13 +19,13 @@
    18.4  # Rules to gen a SliTaz package suitable for Tazpkg.
    18.5  genpkg_rules()
    18.6  {
    18.7 -    _pkg=$install/linux64
    18.8 +    install=$install/linux64
    18.9      mkdir -p ${fs}/${MOD_PATH} $fs/etc
   18.10  	for module in $MODULES
   18.11  	do
   18.12  		dir=$MOD_PATH/$(dirname $module)
   18.13  		[ -d $fs/$dir ] || mkdir -p $fs/$dir
   18.14 -		cp -a $_pkg/$MOD_PATH/$module $fs/$dir
   18.15 +		cp -a $install/$MOD_PATH/$module $fs/$dir
   18.16  	done
   18.17      touch $fs/etc/filesystems
   18.18  }
    19.1 --- a/linux64-drm/receipt	Wed May 14 01:49:30 2014 +0300
    19.2 +++ b/linux64-drm/receipt	Wed May 14 05:35:49 2014 +0000
    19.3 @@ -15,15 +15,15 @@
    19.4  genpkg_rules()
    19.5  {
    19.6  	local path
    19.7 -	_pkg=$install/linux64
    19.8 +	install=$install/linux64
    19.9  	path=lib/modules/$VERSION-slitaz/kernel
   19.10  	mkdir -p $fs/$path
   19.11  	export src
   19.12 -	export _pkg
   19.13 +	export install
   19.14  	$wanted_stuff/list_modules.sh drivers/gpu/drm | while read module; do
   19.15  		dir=$path/$(dirname $module)
   19.16  		[ -d $fs/$dir ] || mkdir -p $fs/$dir
   19.17 -		cp -a $_pkg/$path/$module $fs/$dir
   19.18 +		cp -a $install/$path/$module $fs/$dir
   19.19  	done
   19.20  
   19.21      for i in $(cat $wanted_stuff/modules.list); do
    20.1 --- a/linux64-firewire/receipt	Wed May 14 01:49:30 2014 +0300
    20.2 +++ b/linux64-firewire/receipt	Wed May 14 05:35:49 2014 +0000
    20.3 @@ -15,15 +15,15 @@
    20.4  genpkg_rules()
    20.5  {
    20.6      local path
    20.7 -    _pkg=$install/linux64
    20.8 +    install=$install/linux64
    20.9      path=lib/modules/$VERSION-slitaz/kernel
   20.10      mkdir -p $fs/$path
   20.11      export src
   20.12 -    export _pkg
   20.13 +    export install
   20.14      $wanted_stuff/list_modules.sh drivers/firewire | while read module; do
   20.15      	dir=$path/$(dirname $module)
   20.16      	[ -d $fs/$dir ] || mkdir -p $fs/$dir
   20.17 -        cp -a $_pkg/$path/$module $fs/$dir
   20.18 +        cp -a $install/$path/$module $fs/$dir
   20.19      done
   20.20  }
   20.21  
    21.1 --- a/linux64-gfs2/receipt	Wed May 14 01:49:30 2014 +0300
    21.2 +++ b/linux64-gfs2/receipt	Wed May 14 05:35:49 2014 +0000
    21.3 @@ -16,15 +16,15 @@
    21.4  genpkg_rules()
    21.5  {
    21.6      local path
    21.7 -    _pkg=$install/linux64
    21.8 +    install=$install/linux64
    21.9      path=lib/modules/$VERSION-slitaz/kernel
   21.10      mkdir -p $fs/$path $fs/etc
   21.11      export src
   21.12 -    export _pkg
   21.13 +    export install
   21.14      $wanted_stuff/list_modules.sh fs/gfs2 | while read module; do
   21.15      	dir=$path/$(dirname $module)
   21.16      	[ -d $fs/$dir ] || mkdir -p $fs/$dir
   21.17 -        cp -a $_pkg/$path/$module $fs/$dir
   21.18 +        cp -a $install/$path/$module $fs/$dir
   21.19      done
   21.20      touch $fs/etc/filesystems
   21.21  }
    22.1 --- a/linux64-hfs/receipt	Wed May 14 01:49:30 2014 +0300
    22.2 +++ b/linux64-hfs/receipt	Wed May 14 05:35:49 2014 +0000
    22.3 @@ -16,15 +16,15 @@
    22.4  genpkg_rules()
    22.5  {
    22.6      local path
    22.7 -    _pkg=$install/linux64
    22.8 +    install=$install/linux64
    22.9      path=lib/modules/$VERSION-slitaz/kernel
   22.10      mkdir -p $fs/$path $fs/etc
   22.11      export src
   22.12 -    export _pkg
   22.13 +    export install
   22.14      $wanted_stuff/list_modules.sh fs/${PACKAGE#*-} | while read module; do
   22.15      	dir=$path/$(dirname $module)
   22.16      	[ -d $fs/$dir ] || mkdir -p $fs/$dir
   22.17 -        cp -a $_pkg/$path/$module $fs/$dir
   22.18 +        cp -a $install/$path/$module $fs/$dir
   22.19      done
   22.20      touch $fs/etc/filesystems
   22.21  }
    23.1 --- a/linux64-hfsplus/receipt	Wed May 14 01:49:30 2014 +0300
    23.2 +++ b/linux64-hfsplus/receipt	Wed May 14 05:35:49 2014 +0000
    23.3 @@ -16,15 +16,15 @@
    23.4  genpkg_rules()
    23.5  {
    23.6      local path
    23.7 -    _pkg=$install/linux64
    23.8 +    install=$install/linux64
    23.9      path=lib/modules/$VERSION-slitaz/kernel
   23.10      mkdir -p $fs/$path $fs/etc
   23.11      export src
   23.12 -    export _pkg
   23.13 +    export install
   23.14      $wanted_stuff/list_modules.sh fs/hfsplus | while read module; do
   23.15      	dir=$path/$(dirname $module)
   23.16      	[ -d $fs/$dir ] || mkdir -p $fs/$dir
   23.17 -        cp -a $_pkg/$path/$module $fs/$dir
   23.18 +        cp -a $install/$path/$module $fs/$dir
   23.19      done
   23.20      touch $fs/etc/filesystems
   23.21  }
    24.1 --- a/linux64-hwmon/receipt	Wed May 14 01:49:30 2014 +0300
    24.2 +++ b/linux64-hwmon/receipt	Wed May 14 05:35:49 2014 +0000
    24.3 @@ -15,15 +15,15 @@
    24.4  genpkg_rules()
    24.5  {
    24.6      local path
    24.7 -    _pkg=$install/linux64
    24.8 +    install=$install/linux64
    24.9      path=lib/modules/$VERSION-slitaz/kernel
   24.10      mkdir -p $fs/$path
   24.11      export src
   24.12 -    export _pkg
   24.13 +    export install
   24.14      $wanted_stuff/list_modules.sh drivers/hwmon | while read module; do
   24.15      	dir=$path/$(dirname $module)
   24.16      	[ -d $fs/$dir ] || mkdir -p $fs/$dir
   24.17 -        cp -a $_pkg/$path/$module $fs/$dir
   24.18 +        cp -a $install/$path/$module $fs/$dir
   24.19      done
   24.20  
   24.21      for i in $(cat $wanted_stuff/modules.list); do
    25.1 --- a/linux64-input-misc/receipt	Wed May 14 01:49:30 2014 +0300
    25.2 +++ b/linux64-input-misc/receipt	Wed May 14 05:35:49 2014 +0000
    25.3 @@ -15,15 +15,15 @@
    25.4  genpkg_rules()
    25.5  {
    25.6      local path
    25.7 -    _pkg=$install/linux64
    25.8 +    install=$install/linux64
    25.9      path=lib/modules/$VERSION-slitaz/kernel
   25.10      mkdir -p $fs/$path
   25.11      export src
   25.12 -    export _pkg
   25.13 +    export install
   25.14      $wanted_stuff/list_modules.sh drivers/input/misc | while read module; do
   25.15      	dir=$path/$(dirname $module)
   25.16      	[ -d $fs/$dir ] || mkdir -p $fs/$dir
   25.17 -        cp -a $_pkg/$path/$module $fs/$dir
   25.18 +        cp -a $install/$path/$module $fs/$dir
   25.19      done
   25.20  
   25.21      for i in $(cat $wanted_stuff/modules.list); do
    26.1 --- a/linux64-input-tablet/receipt	Wed May 14 01:49:30 2014 +0300
    26.2 +++ b/linux64-input-tablet/receipt	Wed May 14 05:35:49 2014 +0000
    26.3 @@ -15,15 +15,15 @@
    26.4  genpkg_rules()
    26.5  {
    26.6      local path
    26.7 -    _pkg=$install/linux64
    26.8 +    install=$install/linux64
    26.9      path=lib/modules/$VERSION-slitaz/kernel
   26.10      mkdir -p $fs/$path
   26.11      export src
   26.12 -    export _pkg
   26.13 +    export install
   26.14      $wanted_stuff/list_modules.sh drivers/input/tablet | while read module; do
   26.15      	dir=$path/$(dirname $module)
   26.16      	[ -d $fs/$dir ] || mkdir -p $fs/$dir
   26.17 -        cp -a $_pkg/$path/$module $fs/$dir
   26.18 +        cp -a $install/$path/$module $fs/$dir
   26.19      done
   26.20  
   26.21  }
    27.1 --- a/linux64-input-touchscreen/receipt	Wed May 14 01:49:30 2014 +0300
    27.2 +++ b/linux64-input-touchscreen/receipt	Wed May 14 05:35:49 2014 +0000
    27.3 @@ -15,16 +15,16 @@
    27.4  genpkg_rules()
    27.5  {
    27.6      local path
    27.7 -    _pkg=$install/linux64
    27.8 +    install=$install/linux64
    27.9      path=lib/modules/$VERSION-slitaz/kernel
   27.10      mkdir -p $fs/$path
   27.11      export src
   27.12 -    export _pkg
   27.13 +    export install
   27.14      $wanted_stuff/list_modules.sh drivers/input/touchscreen | \
   27.15      while read module; do
   27.16      	dir=$path/$(dirname $module)
   27.17      	[ -d $fs/$dir ] || mkdir -p $fs/$dir
   27.18 -        cp -a $_pkg/$path/$module $fs/$dir
   27.19 +        cp -a $install/$path/$module $fs/$dir
   27.20      done
   27.21  
   27.22      for i in $(cat $wanted_stuff/modules.list); do
    28.1 --- a/linux64-ipv6/receipt	Wed May 14 01:49:30 2014 +0300
    28.2 +++ b/linux64-ipv6/receipt	Wed May 14 05:35:49 2014 +0000
    28.3 @@ -15,15 +15,15 @@
    28.4  genpkg_rules()
    28.5  {
    28.6      local path
    28.7 -    _pkg=$install/linux64
    28.8 +    install=$install/linux64
    28.9      path=lib/modules/$VERSION-slitaz/kernel
   28.10      mkdir -p $fs/$path
   28.11      export src
   28.12 -    export _pkg
   28.13 +    export install
   28.14      $wanted_stuff/list_modules.sh net/ipv6 | while read module; do
   28.15      	dir=$path/$(dirname $module)
   28.16      	[ -d $fs/$dir ] || mkdir -p $fs/$dir
   28.17 -        cp -a $_pkg/$path/$module $fs/$dir
   28.18 +        cp -a $install/$path/$module $fs/$dir
   28.19      done
   28.20  
   28.21      for i in $(cat $wanted_stuff/modules.list); do
    29.1 --- a/linux64-irda/receipt	Wed May 14 01:49:30 2014 +0300
    29.2 +++ b/linux64-irda/receipt	Wed May 14 05:35:49 2014 +0000
    29.3 @@ -15,17 +15,17 @@
    29.4  genpkg_rules()
    29.5  {
    29.6      local path
    29.7 -    _pkg=$install/linux64
    29.8 +    install=$install/linux64
    29.9      path=lib/modules/$VERSION-slitaz/kernel
   29.10      mkdir -p $fs/$path
   29.11      
   29.12      export src
   29.13 -    export _pkg
   29.14 +    export install
   29.15      
   29.16      $wanted_stuff/list_modules.sh drivers/net/irda net/irda | while read module; do
   29.17      	dir=$path/$(dirname $module)
   29.18      	[ -d $fs/$dir ] || mkdir -p $fs/$dir
   29.19 -        cp -a $_pkg/$path/$module $fs/$dir
   29.20 +        cp -a $install/$path/$module $fs/$dir
   29.21      done
   29.22  }
   29.23  
    30.1 --- a/linux64-isdn/receipt	Wed May 14 01:49:30 2014 +0300
    30.2 +++ b/linux64-isdn/receipt	Wed May 14 05:35:49 2014 +0000
    30.3 @@ -15,15 +15,15 @@
    30.4  genpkg_rules()
    30.5  {
    30.6      local path
    30.7 -    _pkg=$install/linux64
    30.8 +    install=$install/linux64
    30.9      path=lib/modules/$VERSION-slitaz/kernel
   30.10      mkdir -p $fs/$path
   30.11      export src
   30.12 -    export _pkg
   30.13 +    export install
   30.14      $wanted_stuff/list_modules.sh drivers/isdn | while read module; do
   30.15      	dir=$path/$(dirname $module)
   30.16      	[ -d $fs/$dir ] || mkdir -p $fs/$dir
   30.17 -        cp -a $_pkg/$path/$module $fs/$dir
   30.18 +        cp -a $install/$path/$module $fs/$dir
   30.19      done
   30.20  
   30.21      for i in $(cat $wanted_stuff/modules.list); do
    31.1 --- a/linux64-jfs/receipt	Wed May 14 01:49:30 2014 +0300
    31.2 +++ b/linux64-jfs/receipt	Wed May 14 05:35:49 2014 +0000
    31.3 @@ -16,15 +16,15 @@
    31.4  genpkg_rules()
    31.5  {
    31.6      local path
    31.7 -    _pkg=$install/linux64
    31.8 +    install=$install/linux64
    31.9      path=lib/modules/$VERSION-slitaz/kernel
   31.10      mkdir -p $fs/$path $fs/etc
   31.11      export src
   31.12 -    export _pkg
   31.13 +    export install
   31.14      $wanted_stuff/list_modules.sh fs/jfs | while read module; do
   31.15      	dir=$path/$(dirname $module)
   31.16      	[ -d $fs/$dir ] || mkdir -p $fs/$dir
   31.17 -        cp -a $_pkg/$path/$module $fs/$dir
   31.18 +        cp -a $install/$path/$module $fs/$dir
   31.19      done
   31.20      touch $fs/etc/filesystems
   31.21  }
    32.1 --- a/linux64-joystick/receipt	Wed May 14 01:49:30 2014 +0300
    32.2 +++ b/linux64-joystick/receipt	Wed May 14 05:35:49 2014 +0000
    32.3 @@ -15,17 +15,17 @@
    32.4  genpkg_rules()
    32.5  {
    32.6      local path
    32.7 -    _pkg=$install/linux64
    32.8 +    install=$install/linux64
    32.9      path=lib/modules/$VERSION-slitaz/kernel
   32.10      mkdir -p $fs/$path
   32.11      export src
   32.12 -    export _pkg
   32.13 +    export install
   32.14      $wanted_stuff/list_modules.sh drivers/input/joystick drivers/input/gameport \
   32.15  	drivers/input/input-polldev.ko.xz | \
   32.16  	while read module; do
   32.17      	dir=$path/$(dirname $module)
   32.18      	[ -d $fs/$dir ] || mkdir -p $fs/$dir
   32.19 -        cp -a $_pkg/$path/$module $fs/$dir
   32.20 +        cp -a $install/$path/$module $fs/$dir
   32.21      done
   32.22  
   32.23      for i in $(cat $wanted_stuff/modules.list); do
    33.1 --- a/linux64-kvm/receipt	Wed May 14 01:49:30 2014 +0300
    33.2 +++ b/linux64-kvm/receipt	Wed May 14 05:35:49 2014 +0000
    33.3 @@ -15,11 +15,11 @@
    33.4  genpkg_rules()
    33.5  {
    33.6      local path
    33.7 -    _pkg=$install/linux64
    33.8 +    install=$install/linux64
    33.9      path=lib/modules/$VERSION-slitaz/kernel
   33.10      mkdir -p $fs/$path
   33.11      export src
   33.12 -    export _pkg
   33.13 +    export install
   33.14      $wanted_stuff/list_modules.sh arch/x86/kvm drivers/virtio \
   33.15      drivers/char/hw_random/virtio-rng.ko.xz \
   33.16      drivers/char/virtio_console.ko.xz \
   33.17 @@ -27,7 +27,7 @@
   33.18      while read module; do
   33.19      	dir=$path/$(dirname $module)
   33.20      	[ -d $fs/$dir ] || mkdir -p $fs/$dir
   33.21 -        cp -a $_pkg/$path/$module $fs/$dir
   33.22 +        cp -a $install/$path/$module $fs/$dir
   33.23      done
   33.24  }
   33.25  
    34.1 --- a/linux64-logfs/receipt	Wed May 14 01:49:30 2014 +0300
    34.2 +++ b/linux64-logfs/receipt	Wed May 14 05:35:49 2014 +0000
    34.3 @@ -16,15 +16,15 @@
    34.4  genpkg_rules()
    34.5  {
    34.6      local path
    34.7 -    _pkg=$install/linux64
    34.8 +    install=$install/linux64
    34.9      path=lib/modules/$VERSION-slitaz/kernel
   34.10      mkdir -p $fs/$path $fs/etc
   34.11      export src
   34.12 -    export _pkg
   34.13 +    export install
   34.14      $wanted_stuff/list_modules.sh fs/${PACKAGE#*-} | while read module; do
   34.15      	dir=$path/$(dirname $module)
   34.16      	[ -d $fs/$dir ] || mkdir -p $fs/$dir
   34.17 -        cp -a $_pkg/$path/$module $fs/$dir
   34.18 +        cp -a $install/$path/$module $fs/$dir
   34.19      done
   34.20      touch $fs/etc/filesystems
   34.21  }
    35.1 --- a/linux64-md/receipt	Wed May 14 01:49:30 2014 +0300
    35.2 +++ b/linux64-md/receipt	Wed May 14 05:35:49 2014 +0000
    35.3 @@ -16,18 +16,18 @@
    35.4  genpkg_rules()
    35.5  {
    35.6      local path
    35.7 -    _pkg=$install/linux64
    35.8 +    install=$install/linux64
    35.9      path=lib/modules/$VERSION-slitaz/kernel
   35.10      mkdir -p $fs/$path
   35.11      export src
   35.12 -    export _pkg
   35.13 +    export install
   35.14      $wanted_stuff/list_modules.sh drivers/md | while read module; do
   35.15      	case "$module" in
   35.16  	crypto/*) continue;;
   35.17  	esac
   35.18      	dir=$path/$(dirname $module)
   35.19      	[ -d $fs/$dir ] || mkdir -p $fs/$dir
   35.20 -        cp -a $_pkg/$path/$module $fs/$dir
   35.21 +        cp -a $install/$path/$module $fs/$dir
   35.22      done
   35.23  
   35.24      for i in $(cat $wanted_stuff/modules.list); do
    36.1 --- a/linux64-media/receipt	Wed May 14 01:49:30 2014 +0300
    36.2 +++ b/linux64-media/receipt	Wed May 14 05:35:49 2014 +0000
    36.3 @@ -18,13 +18,13 @@
    36.4  # Rules to gen a SliTaz package suitable for Tazpkg.
    36.5  genpkg_rules()
    36.6  {
    36.7 -	_pkg=$install/linux64
    36.8 +	install=$install/linux64
    36.9  	mkdir -p ${fs}/${MOD_PATH}
   36.10  	for module in $MODULES
   36.11  	do
   36.12  		dir=$MOD_PATH/$(dirname $module)
   36.13  		[ -d $fs/$dir ] || mkdir -p $fs/$dir
   36.14 -		cp -a $_pkg/$MOD_PATH/$module $fs/$dir
   36.15 +		cp -a $install/$MOD_PATH/$module $fs/$dir
   36.16  	done
   36.17  
   36.18  	for i in $(cat $wanted_stuff/modules.list); do
    37.1 --- a/linux64-memstick/receipt	Wed May 14 01:49:30 2014 +0300
    37.2 +++ b/linux64-memstick/receipt	Wed May 14 05:35:49 2014 +0000
    37.3 @@ -15,17 +15,17 @@
    37.4  genpkg_rules()
    37.5  {
    37.6      local path
    37.7 -    _pkg=$install/linux64
    37.8 +    install=$install/linux64
    37.9      path=lib/modules/$VERSION-slitaz/kernel
   37.10      mkdir -p $fs/$path
   37.11      
   37.12      export src
   37.13 -    export _pkg
   37.14 +    export install
   37.15      
   37.16      $wanted_stuff/list_modules.sh drivers/memstick | while read module; do
   37.17      	dir=$path/$(dirname $module)
   37.18      	[ -d $fs/$dir ] || mkdir -p $fs/$dir
   37.19 -        cp -a $_pkg/$path/$module $fs/$dir
   37.20 +        cp -a $install/$path/$module $fs/$dir
   37.21      done
   37.22  
   37.23      for i in $(cat $wanted_stuff/modules.list); do
    38.1 --- a/linux64-minix/receipt	Wed May 14 01:49:30 2014 +0300
    38.2 +++ b/linux64-minix/receipt	Wed May 14 05:35:49 2014 +0000
    38.3 @@ -16,15 +16,15 @@
    38.4  genpkg_rules()
    38.5  {
    38.6      local path
    38.7 -    _pkg=$install/linux64
    38.8 +    install=$install/linux64
    38.9      path=lib/modules/$VERSION-slitaz/kernel
   38.10      mkdir -p $fs/$path $fs/etc
   38.11      export src
   38.12 -    export _pkg
   38.13 +    export install
   38.14      $wanted_stuff/list_modules.sh fs/${PACKAGE#*-} | while read module; do
   38.15      	dir=$path/$(dirname $module)
   38.16      	[ -d $fs/$dir ] || mkdir -p $fs/$dir
   38.17 -        cp -a $_pkg/$path/$module $fs/$dir
   38.18 +        cp -a $install/$path/$module $fs/$dir
   38.19      done
   38.20      touch $fs/etc/filesystems
   38.21  }
    39.1 --- a/linux64-mmc/receipt	Wed May 14 01:49:30 2014 +0300
    39.2 +++ b/linux64-mmc/receipt	Wed May 14 05:35:49 2014 +0000
    39.3 @@ -15,16 +15,16 @@
    39.4  genpkg_rules()
    39.5  {
    39.6      local path
    39.7 -    _pkg=$install/linux64
    39.8 +    install=$install/linux64
    39.9      path=lib/modules/$VERSION-slitaz/kernel
   39.10      mkdir -p $fs/$path
   39.11      export src
   39.12 -    export _pkg
   39.13 +    export install
   39.14      $wanted_stuff/list_modules.sh drivers/mmc drivers/misc/tifm_7xx1.ko.xz drivers/misc/iwmc3200top/iwmc3200top.ko.xz| \
   39.15  	while read module; do
   39.16      	dir=$path/$(dirname $module)
   39.17      	[ -d $fs/$dir ] || mkdir -p $fs/$dir
   39.18 -        cp -a $_pkg/$path/$module $fs/$dir
   39.19 +        cp -a $install/$path/$module $fs/$dir
   39.20      done
   39.21  
   39.22      for i in $(cat $wanted_stuff/modules.list); do
    40.1 --- a/linux64-mwave/receipt	Wed May 14 01:49:30 2014 +0300
    40.2 +++ b/linux64-mwave/receipt	Wed May 14 05:35:49 2014 +0000
    40.3 @@ -15,15 +15,15 @@
    40.4  genpkg_rules()
    40.5  {
    40.6      local path
    40.7 -    _pkg=$install/linux64
    40.8 +    install=$install/linux64
    40.9      path=lib/modules/$VERSION-slitaz/kernel
   40.10      mkdir -p $fs/$path
   40.11      export src
   40.12 -    export _pkg
   40.13 +    export install
   40.14      $wanted_stuff/list_modules.sh drivers/char/mwave | while read module; do
   40.15      	dir=$path/$(dirname $module)
   40.16      	[ -d $fs/$dir ] || mkdir -p $fs/$dir
   40.17 -        cp -a $_pkg/$path/$module $fs/$dir
   40.18 +        cp -a $install/$path/$module $fs/$dir
   40.19      done
   40.20  }
   40.21  
    41.1 --- a/linux64-nbd/receipt	Wed May 14 01:49:30 2014 +0300
    41.2 +++ b/linux64-nbd/receipt	Wed May 14 05:35:49 2014 +0000
    41.3 @@ -15,17 +15,17 @@
    41.4  genpkg_rules()
    41.5  {
    41.6      local path
    41.7 -    _pkg=$install/linux64
    41.8 +    install=$install/linux64
    41.9      path=lib/modules/$VERSION-slitaz/kernel
   41.10      mkdir -p $fs/$path
   41.11      export src
   41.12 -    export _pkg
   41.13 +    export install
   41.14      $wanted_stuff/list_modules.sh drivers/block/nbd.ko.xz \
   41.15      drivers/block/drbd/drbd.ko.xz | \
   41.16      while read module; do
   41.17      	dir=$path/$(dirname $module)
   41.18      	[ -d $fs/$dir ] || mkdir -p $fs/$dir
   41.19 -        cp -a $_pkg/$path/$module $fs/$dir
   41.20 +        cp -a $install/$path/$module $fs/$dir
   41.21      done
   41.22  }
   41.23  
    42.1 --- a/linux64-ncpfs/receipt	Wed May 14 01:49:30 2014 +0300
    42.2 +++ b/linux64-ncpfs/receipt	Wed May 14 05:35:49 2014 +0000
    42.3 @@ -16,15 +16,15 @@
    42.4  genpkg_rules()
    42.5  {
    42.6      local path
    42.7 -    _pkg=$install/linux64
    42.8 +    install=$install/linux64
    42.9      path=lib/modules/$VERSION-slitaz/kernel
   42.10      mkdir -p $fs/$path $fs/etc
   42.11      export src
   42.12 -    export _pkg
   42.13 +    export install
   42.14      $wanted_stuff/list_modules.sh fs/ncpfs | while read module; do
   42.15      	dir=$path/$(dirname $module)
   42.16      	[ -d $fs/$dir ] || mkdir -p $fs/$dir
   42.17 -        cp -a $_pkg/$path/$module $fs/$dir
   42.18 +        cp -a $install/$path/$module $fs/$dir
   42.19      done
   42.20      touch $fs/etc/filesystems
   42.21  }
    43.1 --- a/linux64-netfilter/receipt	Wed May 14 01:49:30 2014 +0300
    43.2 +++ b/linux64-netfilter/receipt	Wed May 14 05:35:49 2014 +0000
    43.3 @@ -15,18 +15,18 @@
    43.4  genpkg_rules()
    43.5  {
    43.6      local path
    43.7 -    _pkg=$install/linux64
    43.8 +    install=$install/linux64
    43.9      path=lib/modules/$VERSION-slitaz/kernel
   43.10      mkdir -p $fs/$path
   43.11      
   43.12      export src
   43.13 -    export _pkg
   43.14 +    export install
   43.15      
   43.16      $wanted_stuff/list_modules.sh net/netfilter net/ipv4/netfilter net/8021q | \
   43.17      while read module; do
   43.18      	dir=$path/$(dirname $module)
   43.19      	[ -d $fs/$dir ] || mkdir -p $fs/$dir
   43.20 -        cp -a $_pkg/$path/$module $fs/$dir
   43.21 +        cp -a $install/$path/$module $fs/$dir
   43.22      done
   43.23      rm -rf $fs/$path/net/ipv6 2> /dev/null
   43.24  
    44.1 --- a/linux64-nfsd/receipt	Wed May 14 01:49:30 2014 +0300
    44.2 +++ b/linux64-nfsd/receipt	Wed May 14 05:35:49 2014 +0000
    44.3 @@ -16,15 +16,15 @@
    44.4  genpkg_rules()
    44.5  {
    44.6      local path
    44.7 -    _pkg=$install/linux64
    44.8 +    install=$install/linux64
    44.9      path=lib/modules/$VERSION-slitaz/kernel
   44.10      mkdir -p $fs/$path $fs/etc
   44.11      export src
   44.12 -    export _pkg
   44.13 +    export install
   44.14      $wanted_stuff/list_modules.sh fs/nfsd | while read module; do
   44.15      	dir=$path/$(dirname $module)
   44.16      	[ -d $fs/$dir ] || mkdir -p $fs/$dir
   44.17 -        cp -a $_pkg/$path/$module $fs/$dir
   44.18 +        cp -a $install/$path/$module $fs/$dir
   44.19      done
   44.20      touch $fs/etc/filesystems
   44.21  }
    45.1 --- a/linux64-ocfs2/receipt	Wed May 14 01:49:30 2014 +0300
    45.2 +++ b/linux64-ocfs2/receipt	Wed May 14 05:35:49 2014 +0000
    45.3 @@ -15,17 +15,17 @@
    45.4  genpkg_rules()
    45.5  {
    45.6      local path
    45.7 -    _pkg=$install/linux64
    45.8 +    install=$install/linux64
    45.9      path=lib/modules/$VERSION-slitaz/kernel
   45.10      mkdir -p $fs/$path
   45.11      
   45.12      export src
   45.13 -    export _pkg
   45.14 +    export install
   45.15      
   45.16      $wanted_stuff/list_modules.sh fs/ocfs2 | while read module; do
   45.17      	dir=$path/$(dirname $module)
   45.18      	[ -d $fs/$dir ] || mkdir -p $fs/$dir
   45.19 -        cp -a $_pkg/$path/$module $fs/$dir
   45.20 +        cp -a $install/$path/$module $fs/$dir
   45.21      done
   45.22  
   45.23      for i in $(cat $wanted_stuff/modules.list); do
    46.1 --- a/linux64-radio/receipt	Wed May 14 01:49:30 2014 +0300
    46.2 +++ b/linux64-radio/receipt	Wed May 14 05:35:49 2014 +0000
    46.3 @@ -15,17 +15,17 @@
    46.4  genpkg_rules()
    46.5  {
    46.6      local path
    46.7 -    _pkg=$install/linux64
    46.8 +    install=$install/linux64
    46.9      path=lib/modules/$VERSION-slitaz/kernel
   46.10      mkdir -p $fs/$path
   46.11      
   46.12      export src
   46.13 -    export _pkg
   46.14 +    export install
   46.15      
   46.16      $wanted_stuff/list_modules.sh  drivers/media/radio | while read module; do
   46.17      	dir=$path/$(dirname $module)
   46.18      	[ -d $fs/$dir ] || mkdir -p $fs/$dir
   46.19 -        cp -a $_pkg/$path/$module $fs/$dir
   46.20 +        cp -a $install/$path/$module $fs/$dir
   46.21      done
   46.22  
   46.23      for i in $(cat $wanted_stuff/modules.list); do
    47.1 --- a/linux64-reiserfs/receipt	Wed May 14 01:49:30 2014 +0300
    47.2 +++ b/linux64-reiserfs/receipt	Wed May 14 05:35:49 2014 +0000
    47.3 @@ -16,15 +16,15 @@
    47.4  genpkg_rules()
    47.5  {
    47.6      local path
    47.7 -    _pkg=$install/linux64
    47.8 +    install=$install/linux64
    47.9      path=lib/modules/$VERSION-slitaz/kernel
   47.10      mkdir -p $fs/$path $fs/etc
   47.11      export src
   47.12 -    export _pkg
   47.13 +    export install
   47.14      $wanted_stuff/list_modules.sh fs/reiserfs | while read module; do
   47.15      	dir=$path/$(dirname $module)
   47.16      	[ -d $fs/$dir ] || mkdir -p $fs/$dir
   47.17 -        cp -a $_pkg/$path/$module $fs/$dir
   47.18 +        cp -a $install/$path/$module $fs/$dir
   47.19      done
   47.20      touch $fs/etc/filesystems
   47.21  }
    48.1 --- a/linux64-sched/receipt	Wed May 14 01:49:30 2014 +0300
    48.2 +++ b/linux64-sched/receipt	Wed May 14 05:35:49 2014 +0000
    48.3 @@ -15,17 +15,17 @@
    48.4  genpkg_rules()
    48.5  {
    48.6      local path
    48.7 -    _pkg=$install/linux64
    48.8 +    install=$install/linux64
    48.9      path=lib/modules/$VERSION-slitaz/kernel
   48.10      mkdir -p $fs/$path
   48.11      
   48.12      export src
   48.13 -    export _pkg
   48.14 +    export install
   48.15      
   48.16      $wanted_stuff/list_modules.sh net/sched | while read module; do
   48.17      	dir=$path/$(dirname $module)
   48.18      	[ -d $fs/$dir ] || mkdir -p $fs/$dir
   48.19 -        cp -a $_pkg/$path/$module $fs/$dir
   48.20 +        cp -a $install/$path/$module $fs/$dir
   48.21      done
   48.22  }
   48.23  
    49.1 --- a/linux64-scsi/receipt	Wed May 14 01:49:30 2014 +0300
    49.2 +++ b/linux64-scsi/receipt	Wed May 14 05:35:49 2014 +0000
    49.3 @@ -15,15 +15,15 @@
    49.4  genpkg_rules()
    49.5  {
    49.6      local path
    49.7 -    _pkg=$install/linux64
    49.8 +    install=$install/linux64
    49.9      path=lib/modules/$VERSION-slitaz/kernel
   49.10      mkdir -p $fs/$path
   49.11      export src
   49.12 -    export _pkg
   49.13 +    export install
   49.14      $wanted_stuff/list_modules.sh drivers/scsi | while read module; do
   49.15      	dir=$path/$(dirname $module)
   49.16      	[ -d $fs/$dir ] || mkdir -p $fs/$dir
   49.17 -        cp -a $_pkg/$path/$module $fs/$dir
   49.18 +        cp -a $install/$path/$module $fs/$dir
   49.19      done
   49.20  }
   49.21  
    50.1 --- a/linux64-sound/receipt	Wed May 14 01:49:30 2014 +0300
    50.2 +++ b/linux64-sound/receipt	Wed May 14 05:35:49 2014 +0000
    50.3 @@ -15,19 +15,19 @@
    50.4  genpkg_rules()
    50.5  {
    50.6      local path
    50.7 -    _pkg=$install/linux64
    50.8 +    install=$install/linux64
    50.9      path=lib/modules/$VERSION-slitaz/kernel
   50.10      mkdir -p $fs/$path
   50.11      export src
   50.12 -    export _pkg
   50.13 +    export install
   50.14      $wanted_stuff/list_modules.sh sound | while read module; do
   50.15      	dir=$path/$(dirname $module)
   50.16      	[ -d $fs/$dir ] || mkdir -p $fs/$dir
   50.17 -        cp -a $_pkg/$path/$module $fs/$dir
   50.18 +        cp -a $install/$path/$module $fs/$dir
   50.19      done
   50.20  	mkdir $fs/lib/firmware
   50.21  	for i in ess korg sun yamaha; do
   50.22 -		cp -a $_pkg/lib/firmware/$i $fs/lib/firmware
   50.23 +		cp -a $install/lib/firmware/$i $fs/lib/firmware
   50.24  	done
   50.25  
   50.26      for i in $(cat $wanted_stuff/modules.list); do
    51.1 --- a/linux64-speakup/receipt	Wed May 14 01:49:30 2014 +0300
    51.2 +++ b/linux64-speakup/receipt	Wed May 14 05:35:49 2014 +0000
    51.3 @@ -15,15 +15,15 @@
    51.4  genpkg_rules()
    51.5  {
    51.6      local path
    51.7 -    _pkg=$install/linux64
    51.8 +    install=$install/linux64
    51.9      path=lib/modules/$VERSION-slitaz/kernel
   51.10      mkdir -p $fs/$path
   51.11      export src
   51.12 -    export _pkg
   51.13 +    export install
   51.14      $wanted_stuff/list_modules.sh drivers/staging/speakup | while read module; do
   51.15      	dir=$path/$(dirname $module)
   51.16      	[ -d $fs/$dir ] || mkdir -p $fs/$dir
   51.17 -        cp -a $_pkg/$path/$module $fs/$dir
   51.18 +        cp -a $install/$path/$module $fs/$dir
   51.19      done
   51.20  
   51.21      for i in $(cat $wanted_stuff/modules.list); do
    52.1 --- a/linux64-squashfs/receipt	Wed May 14 01:49:30 2014 +0300
    52.2 +++ b/linux64-squashfs/receipt	Wed May 14 05:35:49 2014 +0000
    52.3 @@ -16,15 +16,15 @@
    52.4  genpkg_rules()
    52.5  {
    52.6      local path
    52.7 -    _pkg=$install/linux64
    52.8 +    install=$install/linux64
    52.9      path=lib/modules/$VERSION-slitaz/kernel
   52.10      mkdir -p $fs/$path $fs/etc
   52.11      export src
   52.12 -    export _pkg
   52.13 +    export install
   52.14      $wanted_stuff/list_modules.sh fs/squashfs | while read module; do
   52.15      	dir=$path/$(dirname $module)
   52.16      	[ -d $fs/$dir ] || mkdir -p $fs/$dir
   52.17 -        cp -a $_pkg/$path/$module $fs/$dir
   52.18 +        cp -a $install/$path/$module $fs/$dir
   52.19      done
   52.20      touch $fs/etc/filesystems
   52.21  }
    53.1 --- a/linux64-staging/receipt	Wed May 14 01:49:30 2014 +0300
    53.2 +++ b/linux64-staging/receipt	Wed May 14 05:35:49 2014 +0000
    53.3 @@ -15,17 +15,17 @@
    53.4  genpkg_rules()
    53.5  {
    53.6      local path
    53.7 -    _pkg=$install/linux64
    53.8 +    install=$install/linux64
    53.9      path=lib/modules/$VERSION-slitaz/kernel
   53.10      mkdir -p $fs/$path
   53.11      
   53.12      export src
   53.13 -    export _pkg
   53.14 +    export install
   53.15      
   53.16      $wanted_stuff/list_modules.sh drivers/staging | while read module; do
   53.17      	dir=$path/$(dirname $module)
   53.18      	[ -d $fs/$dir ] || mkdir -p $fs/$dir
   53.19 -        cp -a $_pkg/$path/$module $fs/$dir
   53.20 +        cp -a $install/$path/$module $fs/$dir
   53.21      done
   53.22  
   53.23      for i in $(cat $wanted_stuff/modules.list); do
    54.1 --- a/linux64-usb-misc/receipt	Wed May 14 01:49:30 2014 +0300
    54.2 +++ b/linux64-usb-misc/receipt	Wed May 14 05:35:49 2014 +0000
    54.3 @@ -15,15 +15,15 @@
    54.4  genpkg_rules()
    54.5  {
    54.6      local path
    54.7 -    _pkg=$install/linux64
    54.8 +    install=$install/linux64
    54.9      path=lib/modules/$VERSION-slitaz/kernel
   54.10      mkdir -p $fs/$path
   54.11      export src
   54.12 -    export _pkg
   54.13 +    export install
   54.14      $wanted_stuff/list_modules.sh drivers/usb/misc | while read module; do
   54.15      	dir=$path/$(dirname $module)
   54.16      	[ -d $fs/$dir ] || mkdir -p $fs/$dir
   54.17 -        cp -a $_pkg/$path/$module $fs/$dir
   54.18 +        cp -a $install/$path/$module $fs/$dir
   54.19      done
   54.20  
   54.21  }
    55.1 --- a/linux64-usbdsl/receipt	Wed May 14 01:49:30 2014 +0300
    55.2 +++ b/linux64-usbdsl/receipt	Wed May 14 05:35:49 2014 +0000
    55.3 @@ -15,18 +15,18 @@
    55.4  genpkg_rules()
    55.5  {
    55.6      local path
    55.7 -    _pkg=$install/linux64
    55.8 +    install=$install/linux64
    55.9      path=lib/modules/$VERSION-slitaz/kernel
   55.10      mkdir -p $fs/$path
   55.11      
   55.12      export src
   55.13 -    export _pkg
   55.14 +    export install
   55.15      
   55.16      $wanted_stuff/list_modules.sh drivers/usb/atm net/atm | \
   55.17      while read module; do
   55.18      	dir=$path/$(dirname $module)
   55.19      	[ -d $fs/$dir ] || mkdir -p $fs/$dir
   55.20 -        cp -a $_pkg/$path/$module $fs/$dir
   55.21 +        cp -a $install/$path/$module $fs/$dir
   55.22      done
   55.23  }
   55.24  
    56.1 --- a/linux64-usbip/receipt	Wed May 14 01:49:30 2014 +0300
    56.2 +++ b/linux64-usbip/receipt	Wed May 14 05:35:49 2014 +0000
    56.3 @@ -16,15 +16,15 @@
    56.4  genpkg_rules()
    56.5  {
    56.6      local path
    56.7 -    _pkg=$install/linux64
    56.8 +    install=$install/linux64
    56.9      path=lib/modules/$VERSION-slitaz/kernel
   56.10      mkdir -p $fs/$path
   56.11      export src
   56.12 -    export _pkg
   56.13 +    export install
   56.14      $wanted_stuff/list_modules.sh drivers/staging/usbip | while read module; do
   56.15      	dir=$path/$(dirname $module)
   56.16      	[ -d $fs/$dir ] || mkdir -p $fs/$dir
   56.17 -        cp -a $_pkg/$path/$module $fs/$dir
   56.18 +        cp -a $install/$path/$module $fs/$dir
   56.19      done
   56.20  }
   56.21  
    57.1 --- a/linux64-uwb/receipt	Wed May 14 01:49:30 2014 +0300
    57.2 +++ b/linux64-uwb/receipt	Wed May 14 05:35:49 2014 +0000
    57.3 @@ -15,18 +15,18 @@
    57.4  genpkg_rules()
    57.5  {
    57.6      local path
    57.7 -    _pkg=$install/linux64
    57.8 +    install=$install/linux64
    57.9      path=lib/modules/$VERSION-slitaz/kernel
   57.10      mkdir -p $fs/$path
   57.11      
   57.12      export src
   57.13 -    export _pkg
   57.14 +    export install
   57.15      
   57.16      $wanted_stuff/list_modules.sh drivers/uwb drivers/usb/wusbcore \
   57.17      drivers/usb/host/whci | while read module; do
   57.18      	dir=$path/$(dirname $module)
   57.19      	[ -d $fs/$dir ] || mkdir -p $fs/$dir
   57.20 -        cp -a $_pkg/$path/$module $fs/$dir
   57.21 +        cp -a $install/$path/$module $fs/$dir
   57.22      done
   57.23  }
   57.24  
    58.1 --- a/linux64-video/receipt	Wed May 14 01:49:30 2014 +0300
    58.2 +++ b/linux64-video/receipt	Wed May 14 05:35:49 2014 +0000
    58.3 @@ -18,13 +18,13 @@
    58.4  # Rules to gen a SliTaz package suitable for Tazpkg.
    58.5  genpkg_rules()
    58.6  {
    58.7 -	_pkg=$install/linux64
    58.8 +	install=$install/linux64
    58.9  	mkdir -p ${fs}/${MOD_PATH}
   58.10  	for module in $MODULES
   58.11  	do
   58.12  		dir=$MOD_PATH/$(dirname $module)
   58.13  		[ -d $fs/$dir ] || mkdir -p $fs/$dir
   58.14 -		cp -a $_pkg/$MOD_PATH/$module $fs/$dir
   58.15 +		cp -a $install/$MOD_PATH/$module $fs/$dir
   58.16  	done
   58.17  }
   58.18  
    59.1 --- a/linux64-wan/receipt	Wed May 14 01:49:30 2014 +0300
    59.2 +++ b/linux64-wan/receipt	Wed May 14 05:35:49 2014 +0000
    59.3 @@ -15,17 +15,17 @@
    59.4  genpkg_rules()
    59.5  {
    59.6      local path
    59.7 -    _pkg=$install/linux64
    59.8 +    install=$install/linux64
    59.9      path=lib/modules/$VERSION-slitaz/kernel
   59.10      mkdir -p $fs/$path
   59.11      
   59.12      export src
   59.13 -    export _pkg
   59.14 +    export install
   59.15      
   59.16      $wanted_stuff/list_modules.sh drivers/net/wan | while read module; do
   59.17      	dir=$path/$(dirname $module)
   59.18      	[ -d $fs/$dir ] || mkdir -p $fs/$dir
   59.19 -        cp -a $_pkg/$path/$module $fs/$dir
   59.20 +        cp -a $install/$path/$module $fs/$dir
   59.21      done
   59.22  
   59.23      for i in $(cat $wanted_stuff/modules.list); do
    60.1 --- a/linux64-wimax/receipt	Wed May 14 01:49:30 2014 +0300
    60.2 +++ b/linux64-wimax/receipt	Wed May 14 05:35:49 2014 +0000
    60.3 @@ -15,17 +15,17 @@
    60.4  genpkg_rules()
    60.5  {
    60.6      local path
    60.7 -    _pkg=$install/linux64
    60.8 +    install=$install/linux64
    60.9      path=lib/modules/$VERSION-slitaz/kernel
   60.10      mkdir -p $fs/$path
   60.11      
   60.12      export src
   60.13 -    export _pkg
   60.14 +    export install
   60.15      
   60.16      $wanted_stuff/list_modules.sh drivers/net/wimax net/wimax | while read module; do
   60.17      	dir=$path/$(dirname $module)
   60.18      	[ -d $fs/$dir ] || mkdir -p $fs/$dir
   60.19 -        cp -a $_pkg/$path/$module $fs/$dir
   60.20 +        cp -a $install/$path/$module $fs/$dir
   60.21      done
   60.22  
   60.23      for i in $(cat $wanted_stuff/modules.list); do
    61.1 --- a/linux64-wireless/receipt	Wed May 14 01:49:30 2014 +0300
    61.2 +++ b/linux64-wireless/receipt	Wed May 14 05:35:49 2014 +0000
    61.3 @@ -15,12 +15,12 @@
    61.4  genpkg_rules()
    61.5  {
    61.6      local path
    61.7 -    _pkg=$install/linux64
    61.8 +    install=$install/linux64
    61.9      path=lib/modules/$VERSION-slitaz/kernel
   61.10      mkdir -p $fs/$path
   61.11      
   61.12      export src
   61.13 -    export _pkg
   61.14 +    export install
   61.15      
   61.16      $wanted_stuff/list_modules.sh drivers/net/wireless drivers/staging/wlan-ng \
   61.17      drivers/staging/echo drivers/leds net/wireless net/mac80211 \
   61.18 @@ -30,7 +30,7 @@
   61.19  	drivers/staging/sm7xx/sm7xx.ko.xz | while read module; do
   61.20      	dir=$path/$(dirname $module)
   61.21      	[ -d $fs/$dir ] || mkdir -p $fs/$dir
   61.22 -        cp -a $_pkg/$path/$module $fs/$dir
   61.23 +        cp -a $install/$path/$module $fs/$dir
   61.24      done
   61.25  
   61.26      for i in $(cat $wanted_stuff/modules.list); do
    62.1 --- a/linux64-without-modules/receipt	Wed May 14 01:49:30 2014 +0300
    62.2 +++ b/linux64-without-modules/receipt	Wed May 14 05:35:49 2014 +0000
    62.3 @@ -12,8 +12,8 @@
    62.4  # Rules to gen a SliTaz package suitable for Tazpkg.
    62.5  genpkg_rules()
    62.6  {
    62.7 -	_pkg=$install/linux64
    62.8 +	install=$install/linux64
    62.9  	mkdir -p $fs/boot   
   62.10 -	cp -a $_pkg/bzImage $fs/boot/vmlinuz-$VERSION-slitaz-without-modules
   62.11 +	cp -a $install/bzImage $fs/boot/vmlinuz-$VERSION-slitaz-without-modules
   62.12  }
   62.13  
    63.1 --- a/linux64-zram/receipt	Wed May 14 01:49:30 2014 +0300
    63.2 +++ b/linux64-zram/receipt	Wed May 14 05:35:49 2014 +0000
    63.3 @@ -16,16 +16,16 @@
    63.4  genpkg_rules()
    63.5  {
    63.6  	local path
    63.7 -	_pkg=$install/linux64
    63.8 +	install=$install/linux64
    63.9  	path=lib/modules/$VERSION-slitaz/kernel
   63.10  	mkdir -p $fs/$path $fs/etc/init.d
   63.11  	export src
   63.12 -	export _pkg
   63.13 +	export install
   63.14  	$wanted_stuff/list_modules.sh drivers/staging/zram | \
   63.15  	while read module; do
   63.16  		dir=$path/$(dirname $module)
   63.17  		[ -d $fs/$dir ] || mkdir -p $fs/$dir
   63.18 -		cp -a $_pkg/$path/$module $fs/$dir
   63.19 +		cp -a $install/$path/$module $fs/$dir
   63.20  	done
   63.21  	install -o root -m 755 $stuff/compcache $fs/etc/init.d/
   63.22  	install -o root -m 644 $stuff/compcache.conf $fs/etc/
    64.1 --- a/linux64/receipt	Wed May 14 01:49:30 2014 +0300
    64.2 +++ b/linux64/receipt	Wed May 14 05:35:49 2014 +0000
    64.3 @@ -19,23 +19,23 @@
    64.4  genpkg_rules()
    64.5  {
    64.6      local path
    64.7 -    _pkg=$install/linux64
    64.8 -    cp -a $_pkg/boot $fs
    64.9 +    install=$install/linux64
   64.10 +    cp -a $install/boot $fs
   64.11      path=$fs/lib/modules/$VERSION-slitaz/kernel
   64.12      mkdir -p $path
   64.13 -    cp -a $_pkg/lib/modules/$VERSION-slitaz/mo* \
   64.14 +    cp -a $install/lib/modules/$VERSION-slitaz/mo* \
   64.15  		$fs/lib/modules/$VERSION-slitaz
   64.16  
   64.17      # Get the base modules
   64.18      export src
   64.19 -    export _pkg
   64.20 +    export install
   64.21      mkdir -p $WOK/$PACKAGE/source/tmp
   64.22      $wanted_stuff/list_modules.sh \
   64.23  	$(cat $stuff/modules64.list) > $WOK/$PACKAGE/source/tmp/modules.list
   64.24      while read module; do
   64.25      	dir=$(dirname $module)
   64.26      	[ -d $path/$dir ] || mkdir -p $path/$dir
   64.27 -        cp -a $_pkg/lib/modules/$VERSION-slitaz/kernel/$module $path/$dir
   64.28 +        cp -a $install/lib/modules/$VERSION-slitaz/kernel/$module $path/$dir
   64.29      done < $WOK/$PACKAGE/source/tmp/modules.list
   64.30      # Remove unresolved links
   64.31      rm -f $fs/lib/modules/$VERSION-slitaz/build
   64.32 @@ -47,7 +47,7 @@
   64.33      done
   64.34      # Fixed modules.dep to use right path
   64.35      # saves 100kb of space too
   64.36 -    sed -i "s|$_pkg||g" $fs/lib/modules/$VERSION-slitaz/modules.dep
   64.37 +    sed -i "s|$install||g" $fs/lib/modules/$VERSION-slitaz/modules.dep
   64.38      sed -i "s|99.98.$VERSION-slitaz|$VERSION-slitaz|g" $fs/lib/modules/$VERSION-slitaz/modules.dep
   64.39      # Check and echo any module in kernel .config that's not added to 
   64.40      # one of linux-* pkgs