wok rev 2926

linux modules depends on depmod
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu May 07 09:37:08 2009 +0200 (2009-05-07)
parents 8785eea6ab59
children 9723cd73a081
files atl1e/receipt atl2/receipt aufs-module/receipt compat-wireless/receipt compcache/receipt kqemu/receipt linux-acpi/receipt linux-agp/receipt linux-appletalk/receipt linux-bluetooth/receipt linux-cifs/receipt linux-coda/receipt linux-cpufreq/receipt linux-cramfs/receipt linux-crypto/receipt linux-cryptoloop/receipt linux-gfs2/receipt linux-hfsplus/receipt linux-ieee1394/receipt linux-ipv6/receipt linux-isdn/receipt linux-jfs/receipt linux-joystick/receipt linux-kvm/receipt linux-md/receipt linux-memstick/receipt linux-mmc/receipt linux-mwave/receipt linux-ncpfs/receipt linux-netfilter/receipt linux-reiserfs/receipt linux-sched/receipt linux-scsi/receipt linux-sound/receipt linux-tickless/receipt linux-udf/receipt linux-usbdsl/receipt linux-video/receipt linux-wireless/receipt linux/receipt mISDN/receipt madwifi/receipt ndiswrapper-driver/receipt nvidia/receipt rt2860sta/receipt squashfs-module/receipt usbip-module/receipt zaptel/receipt
line diff
     1.1 --- a/atl1e/receipt	Thu May 07 09:09:46 2009 +0200
     1.2 +++ b/atl1e/receipt	Thu May 07 09:37:08 2009 +0200
     1.3 @@ -30,5 +30,5 @@
     1.4  
     1.5  post_install()
     1.6  {
     1.7 -	depmod -a -b "$1/" ${EXTRAVERSION#_}-slitaz
     1.8 +	chroot "$1/" depmod -a ${EXTRAVERSION#_}-slitaz
     1.9  }
     2.1 --- a/atl2/receipt	Thu May 07 09:09:46 2009 +0200
     2.2 +++ b/atl2/receipt	Thu May 07 09:37:08 2009 +0200
     2.3 @@ -5,7 +5,7 @@
     2.4  CATEGORY="system-tools"
     2.5  SHORT_DESC="Driver for the Atheros L2"
     2.6  MAINTAINER="erjo@slitaz.org"
     2.7 -DEPENDS=""
     2.8 +DEPENDS="linux"
     2.9  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    2.10  WEB_SITE="http://atl2.sf.net/"
    2.11  WGET_URL="http://people.redhat.com/csnook/atl2/atl2-2.0.4.tar.bz2"
    2.12 @@ -40,7 +40,7 @@
    2.13  # Post install/remove commands for Tazpkg.
    2.14  post_install()
    2.15  {
    2.16 -	depmod -a -b "$1/" ${EXTRAVERSION#_}-slitaz
    2.17 +	chroot "$1/" depmod -a ${EXTRAVERSION#_}-slitaz
    2.18  }
    2.19  
    2.20  post_remove()
     3.1 --- a/aufs-module/receipt	Thu May 07 09:09:46 2009 +0200
     3.2 +++ b/aufs-module/receipt	Thu May 07 09:37:08 2009 +0200
     3.3 @@ -5,6 +5,7 @@
     3.4  CATEGORY="base-system"
     3.5  SHORT_DESC="Stackable unification FileSystem Linux kernel module."
     3.6  MAINTAINER="pascal.bellard@slitaz.org"
     3.7 +DEPENDS="linux"
     3.8  WEB_SITE="http://aufs.sourceforge.net/"
     3.9  WANTED="aufs"
    3.10  
    3.11 @@ -17,7 +18,7 @@
    3.12  # Post install/remove commands for Tazpkg.
    3.13  post_install()
    3.14  {
    3.15 -	depmod -a -b "$1/"
    3.16 +	chroot "$1/" depmod -a ${EXTRAVERSION#_}-slitaz
    3.17  }
    3.18  
    3.19  post_remove()
     4.1 --- a/compat-wireless/receipt	Thu May 07 09:09:46 2009 +0200
     4.2 +++ b/compat-wireless/receipt	Thu May 07 09:37:08 2009 +0200
     4.3 @@ -8,6 +8,7 @@
     4.4  WEB_SITE="http://wireless.kernel.org/"
     4.5  TARBALL="$PACKAGE-old-$VERSION.tar.bz2"
     4.6  WGET_URL="${WEB_SITE}download/$PACKAGE-2.6/$TARBALL"
     4.7 +DEPENDS="linux"
     4.8  BUILD_DEPENDS="lzma"
     4.9  PROVIDE="linux-wireless"
    4.10  
    4.11 @@ -53,7 +54,7 @@
    4.12  # Post install/remove commands for Tazpkg.
    4.13  post_install()
    4.14  {
    4.15 -	depmod -a -b "$1/"
    4.16 +	chroot "$1/" depmod -a ${EXTRAVERSION#_}-slitaz
    4.17  }
    4.18  
    4.19  post_remove()
     5.1 --- a/compcache/receipt	Thu May 07 09:09:46 2009 +0200
     5.2 +++ b/compcache/receipt	Thu May 07 09:37:08 2009 +0200
     5.3 @@ -8,6 +8,7 @@
     5.4  TARBALL="$PACKAGE-$VERSION.tar.gz"
     5.5  WEB_SITE="http://code.google.com/p/compcache/"
     5.6  WGET_URL="http://compcache.googlecode.com/files/$TARBALL"
     5.7 +DEPENDS="linux"
     5.8  BUILD_DEPENDS="lzma"
     5.9  
    5.10  # Rules to configure and make the package.
    5.11 @@ -47,7 +48,7 @@
    5.12  post_install()
    5.13  {
    5.14      echo "Processing post-install commands..."
    5.15 -    depmod -a -b "$1/" ${EXTRAVERSION#_}-slitaz
    5.16 +    chroot "$1/" depmod -a ${EXTRAVERSION#_}-slitaz
    5.17  }
    5.18  
    5.19  post_remove()
     6.1 --- a/kqemu/receipt	Thu May 07 09:09:46 2009 +0200
     6.2 +++ b/kqemu/receipt	Thu May 07 09:37:08 2009 +0200
     6.3 @@ -8,6 +8,7 @@
     6.4  TARBALL="$PACKAGE-$VERSION.tar.gz"
     6.5  WEB_SITE="http://bellard.org/qemu"
     6.6  WGET_URL="$WEB_SITE/$TARBALL"
     6.7 +DEPENDS="linux"
     6.8  BUILD_DEPENDS="gcc3"
     6.9  SUGGESTED="qemu"
    6.10  
    6.11 @@ -42,7 +43,7 @@
    6.12  # Post install/remove commands for Tazpkg.
    6.13  post_install()
    6.14  {
    6.15 -	depmod -a -b "$1/" ${EXTRAVERSION#_}-slitaz
    6.16 +	chroot "$1/" depmod -a ${EXTRAVERSION#_}-slitaz
    6.17  }
    6.18  
    6.19  post_remove()
     7.1 --- a/linux-acpi/receipt	Thu May 07 09:09:46 2009 +0200
     7.2 +++ b/linux-acpi/receipt	Thu May 07 09:37:08 2009 +0200
     7.3 @@ -4,6 +4,7 @@
     7.4  VERSION="2.6.25.5"
     7.5  CATEGORY="base-system"
     7.6  SHORT_DESC="The Linux kernel acpi modules."
     7.7 +DEPENDS="linux"
     7.8  MAINTAINER="pascal.bellard@slitaz.org"
     7.9  WANTED="linux"
    7.10  WEB_SITE="http://www.kernel.org/"
    7.11 @@ -30,7 +31,7 @@
    7.12  # Post install/remove commands for Tazpkg.
    7.13  post_install()
    7.14  {
    7.15 -	depmod -a -b "$1/" $VERSION-slitaz
    7.16 + 	chroot "$1/" depmod -a $VERSION-slitaz
    7.17  }
    7.18  
    7.19  post_remove()
     8.1 --- a/linux-agp/receipt	Thu May 07 09:09:46 2009 +0200
     8.2 +++ b/linux-agp/receipt	Thu May 07 09:37:08 2009 +0200
     8.3 @@ -5,6 +5,7 @@
     8.4  CATEGORY="base-system"
     8.5  SHORT_DESC="The Linux kernel AGP modules."
     8.6  MAINTAINER="erjo@slitaz.org"
     8.7 +DEPENDS="linux"
     8.8  WANTED="linux"
     8.9  WEB_SITE="http://www.kernel.org/"
    8.10  
    8.11 @@ -26,7 +27,7 @@
    8.12  # Post install/remove commands for Tazpkg.
    8.13  post_install()
    8.14  {
    8.15 -	depmod -a -b "$1/" $VERSION-slitaz
    8.16 + 	chroot "$1/" depmod -a $VERSION-slitaz
    8.17  }
    8.18  
    8.19  post_remove()
     9.1 --- a/linux-appletalk/receipt	Thu May 07 09:09:46 2009 +0200
     9.2 +++ b/linux-appletalk/receipt	Thu May 07 09:37:08 2009 +0200
     9.3 @@ -5,6 +5,7 @@
     9.4  CATEGORY="base-system"
     9.5  SHORT_DESC="The Linux kernel appletalk modules."
     9.6  MAINTAINER="pascal.bellard@slitaz.org"
     9.7 +DEPENDS="linux"
     9.8  WANTED="linux"
     9.9  WEB_SITE="http://www.kernel.org/"
    9.10  
    9.11 @@ -30,7 +31,7 @@
    9.12  # Post install/remove commands for Tazpkg.
    9.13  post_install()
    9.14  {
    9.15 -	depmod -a -b "$1/" $VERSION-slitaz
    9.16 + 	chroot "$1/" depmod -a $VERSION-slitaz
    9.17  }
    9.18  
    9.19  post_remove()
    10.1 --- a/linux-bluetooth/receipt	Thu May 07 09:09:46 2009 +0200
    10.2 +++ b/linux-bluetooth/receipt	Thu May 07 09:37:08 2009 +0200
    10.3 @@ -5,6 +5,7 @@
    10.4  CATEGORY="base-system"
    10.5  SHORT_DESC="The Linux kernel bluetooth modules."
    10.6  MAINTAINER="pascal.bellard@slitaz.org"
    10.7 +DEPENDS="linux"
    10.8  WANTED="linux"
    10.9  WEB_SITE="http://www.kernel.org/"
   10.10  
   10.11 @@ -26,7 +27,7 @@
   10.12  # Post install/remove commands for Tazpkg.
   10.13  post_install()
   10.14  {
   10.15 -	depmod -a -b "$1/" $VERSION-slitaz
   10.16 + 	chroot "$1/" depmod -a $VERSION-slitaz
   10.17  }
   10.18  
   10.19  post_remove()
    11.1 --- a/linux-cifs/receipt	Thu May 07 09:09:46 2009 +0200
    11.2 +++ b/linux-cifs/receipt	Thu May 07 09:37:08 2009 +0200
    11.3 @@ -5,6 +5,7 @@
    11.4  CATEGORY="base-system"
    11.5  SHORT_DESC="The Linux kernel cifs module."
    11.6  MAINTAINER="pascal.bellard@slitaz.org"
    11.7 +DEPENDS="linux"
    11.8  WANTED="linux"
    11.9  WEB_SITE="http://www.kernel.org/"
   11.10  CONFIG_FILES="/etc/filesystems"
   11.11 @@ -30,7 +31,7 @@
   11.12  {
   11.13  	grep -qs ^${PACKAGE#*-}$ $1/etc/filesystems || \
   11.14  		echo "${PACKAGE#*-}" >> $1/etc/filesystems
   11.15 -	depmod -a -b "$1/" $VERSION-slitaz
   11.16 + 	chroot "$1/" depmod -a $VERSION-slitaz
   11.17  }
   11.18  
   11.19  post_remove()
    12.1 --- a/linux-coda/receipt	Thu May 07 09:09:46 2009 +0200
    12.2 +++ b/linux-coda/receipt	Thu May 07 09:37:08 2009 +0200
    12.3 @@ -5,6 +5,7 @@
    12.4  CATEGORY="base-system"
    12.5  SHORT_DESC="The Linux kernel coda module."
    12.6  MAINTAINER="pascal.bellard@slitaz.org"
    12.7 +DEPENDS="linux"
    12.8  WANTED="linux"
    12.9  WEB_SITE="http://www.kernel.org/"
   12.10  
   12.11 @@ -26,7 +27,7 @@
   12.12  # Post install/remove commands for Tazpkg.
   12.13  post_install()
   12.14  {
   12.15 -	depmod -a -b "$1/" $VERSION-slitaz
   12.16 + 	chroot "$1/" depmod -a $VERSION-slitaz
   12.17  }
   12.18  
   12.19  post_remove()
    13.1 --- a/linux-cpufreq/receipt	Thu May 07 09:09:46 2009 +0200
    13.2 +++ b/linux-cpufreq/receipt	Thu May 07 09:37:08 2009 +0200
    13.3 @@ -5,6 +5,7 @@
    13.4  CATEGORY="base-system"
    13.5  SHORT_DESC="The Linux kernel cpufreq modules."
    13.6  MAINTAINER="pascal.bellard@slitaz.org"
    13.7 +DEPENDS="linux"
    13.8  WANTED="linux"
    13.9  WEB_SITE="http://www.kernel.org/"
   13.10  
   13.11 @@ -27,7 +28,7 @@
   13.12  # Post install/remove commands for Tazpkg.
   13.13  post_install()
   13.14  {
   13.15 -	depmod -a -b "$1/" $VERSION-slitaz
   13.16 + 	chroot "$1/" depmod -a $VERSION-slitaz
   13.17  }
   13.18  
   13.19  post_remove()
    14.1 --- a/linux-cramfs/receipt	Thu May 07 09:09:46 2009 +0200
    14.2 +++ b/linux-cramfs/receipt	Thu May 07 09:37:08 2009 +0200
    14.3 @@ -5,6 +5,7 @@
    14.4  CATEGORY="base-system"
    14.5  SHORT_DESC="The Linux kernel cramfs module."
    14.6  MAINTAINER="pascal.bellard@slitaz.org"
    14.7 +DEPENDS="linux"
    14.8  WANTED="linux"
    14.9  WEB_SITE="http://www.kernel.org/"
   14.10  
   14.11 @@ -26,7 +27,7 @@
   14.12  # Post install/remove commands for Tazpkg.
   14.13  post_install()
   14.14  {
   14.15 -	depmod -a -b "$1/" $VERSION-slitaz
   14.16 + 	chroot "$1/" depmod -a $VERSION-slitaz
   14.17  }
   14.18  
   14.19  post_remove()
    15.1 --- a/linux-crypto/receipt	Thu May 07 09:09:46 2009 +0200
    15.2 +++ b/linux-crypto/receipt	Thu May 07 09:37:08 2009 +0200
    15.3 @@ -5,6 +5,7 @@
    15.4  CATEGORY="base-system"
    15.5  SHORT_DESC="The Linux kernel crypto modules."
    15.6  MAINTAINER="pascal.bellard@slitaz.org"
    15.7 +DEPENDS="linux"
    15.8  WANTED="linux"
    15.9  WEB_SITE="http://www.kernel.org/"
   15.10  
   15.11 @@ -27,7 +28,7 @@
   15.12  # Post install/remove commands for Tazpkg.
   15.13  post_install()
   15.14  {
   15.15 -	depmod -a -b "$1/" $VERSION-slitaz
   15.16 + 	chroot "$1/" depmod -a $VERSION-slitaz
   15.17  }
   15.18  
   15.19  post_remove()
    16.1 --- a/linux-cryptoloop/receipt	Thu May 07 09:09:46 2009 +0200
    16.2 +++ b/linux-cryptoloop/receipt	Thu May 07 09:37:08 2009 +0200
    16.3 @@ -5,6 +5,7 @@
    16.4  CATEGORY="base-system"
    16.5  SHORT_DESC="The Linux kernel cryptoloop modules."
    16.6  MAINTAINER="pascal.bellard@slitaz.org"
    16.7 +DEPENDS="linux"
    16.8  WANTED="linux"
    16.9  WEB_SITE="http://www.kernel.org/"
   16.10  DEPENDS="linux-crypto"
   16.11 @@ -28,7 +29,7 @@
   16.12  # Post install/remove commands for Tazpkg.
   16.13  post_install()
   16.14  {
   16.15 -	depmod -a -b "$1/" $VERSION-slitaz
   16.16 + 	chroot "$1/" depmod -a $VERSION-slitaz
   16.17  }
   16.18  
   16.19  post_remove()
    17.1 --- a/linux-gfs2/receipt	Thu May 07 09:09:46 2009 +0200
    17.2 +++ b/linux-gfs2/receipt	Thu May 07 09:37:08 2009 +0200
    17.3 @@ -5,6 +5,7 @@
    17.4  CATEGORY="base-system"
    17.5  SHORT_DESC="The Linux kernel gfs2 module."
    17.6  MAINTAINER="pascal.bellard@slitaz.org"
    17.7 +DEPENDS="linux"
    17.8  WANTED="linux"
    17.9  WEB_SITE="http://www.kernel.org/"
   17.10  
   17.11 @@ -26,7 +27,7 @@
   17.12  # Post install/remove commands for Tazpkg.
   17.13  post_install()
   17.14  {
   17.15 -	depmod -a -b "$1/" $VERSION-slitaz
   17.16 + 	chroot "$1/" depmod -a $VERSION-slitaz
   17.17  }
   17.18  
   17.19  post_remove()
    18.1 --- a/linux-hfsplus/receipt	Thu May 07 09:09:46 2009 +0200
    18.2 +++ b/linux-hfsplus/receipt	Thu May 07 09:37:08 2009 +0200
    18.3 @@ -5,6 +5,7 @@
    18.4  CATEGORY="base-system"
    18.5  SHORT_DESC="The Linux kernel hfsplus module."
    18.6  MAINTAINER="pascal.bellard@slitaz.org"
    18.7 +DEPENDS="linux"
    18.8  WANTED="linux"
    18.9  WEB_SITE="http://www.kernel.org/"
   18.10  CONFIG_FILES="/etc/filesystems"
   18.11 @@ -30,7 +31,7 @@
   18.12  {
   18.13  	grep -qs ^${PACKAGE#*-}$ $1/etc/filesystems || \
   18.14  		echo "${PACKAGE#*-}" >> $1/etc/filesystems
   18.15 -	depmod -a -b "$1/" $VERSION-slitaz
   18.16 + 	chroot "$1/" depmod -a $VERSION-slitaz
   18.17  }
   18.18  
   18.19  post_remove()
    19.1 --- a/linux-ieee1394/receipt	Thu May 07 09:09:46 2009 +0200
    19.2 +++ b/linux-ieee1394/receipt	Thu May 07 09:37:08 2009 +0200
    19.3 @@ -5,6 +5,7 @@
    19.4  CATEGORY="base-system"
    19.5  SHORT_DESC="The Linux kernel ieee1394 modules."
    19.6  MAINTAINER="pascal.bellard@slitaz.org"
    19.7 +DEPENDS="linux"
    19.8  WANTED="linux"
    19.9  WEB_SITE="http://www.kernel.org/"
   19.10  
   19.11 @@ -26,7 +27,7 @@
   19.12  # Post install/remove commands for Tazpkg.
   19.13  post_install()
   19.14  {
   19.15 -	depmod -a -b "$1/" $VERSION-slitaz
   19.16 + 	chroot "$1/" depmod -a $VERSION-slitaz
   19.17  }
   19.18  
   19.19  post_remove()
    20.1 --- a/linux-ipv6/receipt	Thu May 07 09:09:46 2009 +0200
    20.2 +++ b/linux-ipv6/receipt	Thu May 07 09:37:08 2009 +0200
    20.3 @@ -5,6 +5,7 @@
    20.4  CATEGORY="base-system"
    20.5  SHORT_DESC="The Linux kernel ipv6 modules."
    20.6  MAINTAINER="pascal.bellard@slitaz.org"
    20.7 +DEPENDS="linux"
    20.8  WANTED="linux"
    20.9  WEB_SITE="http://www.kernel.org/"
   20.10  
   20.11 @@ -26,7 +27,7 @@
   20.12  # Post install/remove commands for Tazpkg.
   20.13  post_install()
   20.14  {
   20.15 -	depmod -a -b "$1/" $VERSION-slitaz
   20.16 + 	chroot "$1/" depmod -a $VERSION-slitaz
   20.17  }
   20.18  
   20.19  post_remove()
    21.1 --- a/linux-isdn/receipt	Thu May 07 09:09:46 2009 +0200
    21.2 +++ b/linux-isdn/receipt	Thu May 07 09:37:08 2009 +0200
    21.3 @@ -5,6 +5,7 @@
    21.4  CATEGORY="base-system"
    21.5  SHORT_DESC="The Linux kernel isdn modules."
    21.6  MAINTAINER="pascal.bellard@slitaz.org"
    21.7 +DEPENDS="linux"
    21.8  WANTED="linux"
    21.9  WEB_SITE="http://www.kernel.org/"
   21.10  
   21.11 @@ -26,7 +27,7 @@
   21.12  # Post install/remove commands for Tazpkg.
   21.13  post_install()
   21.14  {
   21.15 -	depmod -a -b "$1/" $VERSION-slitaz
   21.16 + 	chroot "$1/" depmod -a $VERSION-slitaz
   21.17  }
   21.18  
   21.19  post_remove()
    22.1 --- a/linux-jfs/receipt	Thu May 07 09:09:46 2009 +0200
    22.2 +++ b/linux-jfs/receipt	Thu May 07 09:37:08 2009 +0200
    22.3 @@ -5,6 +5,7 @@
    22.4  CATEGORY="base-system"
    22.5  SHORT_DESC="The Linux kernel jfs module."
    22.6  MAINTAINER="pascal.bellard@slitaz.org"
    22.7 +DEPENDS="linux"
    22.8  WANTED="linux"
    22.9  WEB_SITE="http://www.kernel.org/"
   22.10  CONFIG_FILES="/etc/filesystems"
   22.11 @@ -30,7 +31,7 @@
   22.12  {
   22.13  	grep -qs ^${PACKAGE#*-}$ $1/etc/filesystems || \
   22.14  		echo "${PACKAGE#*-}" >> $1/etc/filesystems
   22.15 -	depmod -a -b "$1/" $VERSION-slitaz
   22.16 + 	chroot "$1/" depmod -a $VERSION-slitaz
   22.17  }
   22.18  
   22.19  post_remove()
    23.1 --- a/linux-joystick/receipt	Thu May 07 09:09:46 2009 +0200
    23.2 +++ b/linux-joystick/receipt	Thu May 07 09:37:08 2009 +0200
    23.3 @@ -5,6 +5,7 @@
    23.4  CATEGORY="base-system"
    23.5  SHORT_DESC="The Linux kernel joystick modules."
    23.6  MAINTAINER="pascal.bellard@slitaz.org"
    23.7 +DEPENDS="linux"
    23.8  WANTED="linux"
    23.9  WEB_SITE="http://www.kernel.org/"
   23.10  
   23.11 @@ -27,7 +28,7 @@
   23.12  # Post install/remove commands for Tazpkg.
   23.13  post_install()
   23.14  {
   23.15 -	depmod -a -b "$1/" $VERSION-slitaz
   23.16 + 	chroot "$1/" depmod -a $VERSION-slitaz
   23.17  }
   23.18  
   23.19  post_remove()
    24.1 --- a/linux-kvm/receipt	Thu May 07 09:09:46 2009 +0200
    24.2 +++ b/linux-kvm/receipt	Thu May 07 09:37:08 2009 +0200
    24.3 @@ -5,6 +5,7 @@
    24.4  CATEGORY="base-system"
    24.5  SHORT_DESC="The Linux kernel kvm and virtio modules."
    24.6  MAINTAINER="pascal.bellard@slitaz.org"
    24.7 +DEPENDS="linux"
    24.8  WANTED="linux"
    24.9  WEB_SITE="http://www.kernel.org/"
   24.10  
   24.11 @@ -27,7 +28,7 @@
   24.12  # Post install/remove commands for Tazpkg.
   24.13  post_install()
   24.14  {
   24.15 -	depmod -a -b "$1/" $VERSION-slitaz
   24.16 + 	chroot "$1/" depmod -a $VERSION-slitaz
   24.17  }
   24.18  
   24.19  post_remove()
    25.1 --- a/linux-md/receipt	Thu May 07 09:09:46 2009 +0200
    25.2 +++ b/linux-md/receipt	Thu May 07 09:37:08 2009 +0200
    25.3 @@ -5,6 +5,7 @@
    25.4  CATEGORY="base-system"
    25.5  SHORT_DESC="The Linux kernel md modules."
    25.6  MAINTAINER="pascal.bellard@slitaz.org"
    25.7 +DEPENDS="linux"
    25.8  WANTED="linux"
    25.9  WEB_SITE="http://www.kernel.org/"
   25.10  DEPENDS="linux-crypto"
   25.11 @@ -30,7 +31,7 @@
   25.12  # Post install/remove commands for Tazpkg.
   25.13  post_install()
   25.14  {
   25.15 -	depmod -a -b "$1/" $VERSION-slitaz
   25.16 + 	chroot "$1/" depmod -a $VERSION-slitaz
   25.17  }
   25.18  
   25.19  post_remove()
    26.1 --- a/linux-memstick/receipt	Thu May 07 09:09:46 2009 +0200
    26.2 +++ b/linux-memstick/receipt	Thu May 07 09:37:08 2009 +0200
    26.3 @@ -5,6 +5,7 @@
    26.4  CATEGORY="base-system"
    26.5  SHORT_DESC="The Linux kernel sony memory stick modules."
    26.6  MAINTAINER="pascal.bellard@slitaz.org"
    26.7 +DEPENDS="linux"
    26.8  WANTED="linux"
    26.9  WEB_SITE="http://www.kernel.org/"
   26.10  
   26.11 @@ -29,7 +30,7 @@
   26.12  # Post install/remove commands for Tazpkg.
   26.13  post_install()
   26.14  {
   26.15 -	depmod -a -b "$1/" $VERSION-slitaz
   26.16 + 	chroot "$1/" depmod -a $VERSION-slitaz
   26.17  }
   26.18  
   26.19  post_remove()
    27.1 --- a/linux-mmc/receipt	Thu May 07 09:09:46 2009 +0200
    27.2 +++ b/linux-mmc/receipt	Thu May 07 09:37:08 2009 +0200
    27.3 @@ -5,6 +5,7 @@
    27.4  CATEGORY="base-system"
    27.5  SHORT_DESC="The Linux kernel mmc modules (card reader)."
    27.6  MAINTAINER="pascal.bellard@slitaz.org"
    27.7 +DEPENDS="linux"
    27.8  WANTED="linux"
    27.9  WEB_SITE="http://www.kernel.org/"
   27.10  
   27.11 @@ -26,7 +27,7 @@
   27.12  # Post install/remove commands for Tazpkg.
   27.13  post_install()
   27.14  {
   27.15 -	depmod -a -b "$1/" $VERSION-slitaz
   27.16 + 	chroot "$1/" depmod -a $VERSION-slitaz
   27.17  }
   27.18  
   27.19  post_remove()
    28.1 --- a/linux-mwave/receipt	Thu May 07 09:09:46 2009 +0200
    28.2 +++ b/linux-mwave/receipt	Thu May 07 09:37:08 2009 +0200
    28.3 @@ -5,6 +5,7 @@
    28.4  CATEGORY="base-system"
    28.5  SHORT_DESC="The Linux kernel ACP Modem driver module (for IBM Thinkpad)"
    28.6  MAINTAINER="pascal.bellard@slitaz.org"
    28.7 +DEPENDS="linux"
    28.8  WANTED="linux"
    28.9  WEB_SITE="http://www.kernel.org/"
   28.10  
   28.11 @@ -26,7 +27,7 @@
   28.12  # Post install/remove commands for Tazpkg.
   28.13  post_install()
   28.14  {
   28.15 -	depmod -a -b "$1/" $VERSION-slitaz
   28.16 + 	chroot "$1/" depmod -a $VERSION-slitaz
   28.17  }
   28.18  
   28.19  post_remove()
    29.1 --- a/linux-ncpfs/receipt	Thu May 07 09:09:46 2009 +0200
    29.2 +++ b/linux-ncpfs/receipt	Thu May 07 09:37:08 2009 +0200
    29.3 @@ -5,6 +5,7 @@
    29.4  CATEGORY="base-system"
    29.5  SHORT_DESC="The Linux kernel ncpfs module."
    29.6  MAINTAINER="pascal.bellard@slitaz.org"
    29.7 +DEPENDS="linux"
    29.8  WANTED="linux"
    29.9  WEB_SITE="http://www.kernel.org/"
   29.10  CONFIG_FILES="/etc/filesystems"
   29.11 @@ -29,7 +30,7 @@
   29.12  {
   29.13  	grep -qs ^${PACKAGE#*-}$ $1/etc/filesystems || \
   29.14  		echo "${PACKAGE#*-}" >> $1/etc/filesystems
   29.15 -	depmod -a -b "$1/" $VERSION-slitaz
   29.16 + 	chroot "$1/" depmod -a $VERSION-slitaz
   29.17  }
   29.18  
   29.19  post_remove()
    30.1 --- a/linux-netfilter/receipt	Thu May 07 09:09:46 2009 +0200
    30.2 +++ b/linux-netfilter/receipt	Thu May 07 09:37:08 2009 +0200
    30.3 @@ -5,6 +5,7 @@
    30.4  CATEGORY="base-system"
    30.5  SHORT_DESC="The Linux kernel netfilter modules."
    30.6  MAINTAINER="pascal.bellard@slitaz.org"
    30.7 +DEPENDS="linux"
    30.8  WANTED="linux"
    30.9  WEB_SITE="http://www.kernel.org/"
   30.10  
   30.11 @@ -30,7 +31,7 @@
   30.12  # Post install/remove commands for Tazpkg.
   30.13  post_install()
   30.14  {
   30.15 -	depmod -a -b "$1/" $VERSION-slitaz
   30.16 + 	chroot "$1/" depmod -a $VERSION-slitaz
   30.17  }
   30.18  
   30.19  post_remove()
    31.1 --- a/linux-reiserfs/receipt	Thu May 07 09:09:46 2009 +0200
    31.2 +++ b/linux-reiserfs/receipt	Thu May 07 09:37:08 2009 +0200
    31.3 @@ -5,6 +5,7 @@
    31.4  CATEGORY="base-system"
    31.5  SHORT_DESC="The Linux kernel reiserfs module."
    31.6  MAINTAINER="pascal.bellard@slitaz.org"
    31.7 +DEPENDS="linux"
    31.8  WANTED="linux"
    31.9  WEB_SITE="http://www.kernel.org/"
   31.10  CONFIG_FILES="/etc/filesystems"
   31.11 @@ -30,7 +31,7 @@
   31.12  {
   31.13  	grep -qs ^${PACKAGE#*-}$ $1/etc/filesystems || \
   31.14  		echo "${PACKAGE#*-}" >> $1/etc/filesystems
   31.15 -	depmod -a -b "$1/" $VERSION-slitaz
   31.16 + 	chroot "$1/" depmod -a $VERSION-slitaz
   31.17  }
   31.18  
   31.19  post_remove()
    32.1 --- a/linux-sched/receipt	Thu May 07 09:09:46 2009 +0200
    32.2 +++ b/linux-sched/receipt	Thu May 07 09:37:08 2009 +0200
    32.3 @@ -5,6 +5,7 @@
    32.4  CATEGORY="base-system"
    32.5  SHORT_DESC="The Linux kernel sched modules."
    32.6  MAINTAINER="pascal.bellard@slitaz.org"
    32.7 +DEPENDS="linux"
    32.8  WANTED="linux"
    32.9  WEB_SITE="http://www.kernel.org/"
   32.10  
   32.11 @@ -29,7 +30,7 @@
   32.12  # Post install/remove commands for Tazpkg.
   32.13  post_install()
   32.14  {
   32.15 -	depmod -a -b "$1/" $VERSION-slitaz
   32.16 + 	chroot "$1/" depmod -a $VERSION-slitaz
   32.17  }
   32.18  
   32.19  post_remove()
    33.1 --- a/linux-scsi/receipt	Thu May 07 09:09:46 2009 +0200
    33.2 +++ b/linux-scsi/receipt	Thu May 07 09:37:08 2009 +0200
    33.3 @@ -5,6 +5,7 @@
    33.4  CATEGORY="base-system"
    33.5  SHORT_DESC="The Linux kernel scsi modules."
    33.6  MAINTAINER="pascal.bellard@slitaz.org"
    33.7 +DEPENDS="linux"
    33.8  WANTED="linux"
    33.9  WEB_SITE="http://www.kernel.org/"
   33.10  
   33.11 @@ -27,7 +28,7 @@
   33.12  # Post install/remove commands for Tazpkg.
   33.13  post_install()
   33.14  {
   33.15 -	depmod -a -b "$1/" $VERSION-slitaz
   33.16 + 	chroot "$1/" depmod -a $VERSION-slitaz
   33.17  }
   33.18  
   33.19  post_remove()
    34.1 --- a/linux-sound/receipt	Thu May 07 09:09:46 2009 +0200
    34.2 +++ b/linux-sound/receipt	Thu May 07 09:37:08 2009 +0200
    34.3 @@ -5,6 +5,7 @@
    34.4  CATEGORY="base-system"
    34.5  SHORT_DESC="The Linux kernel sound modules."
    34.6  MAINTAINER="pascal.bellard@slitaz.org"
    34.7 +DEPENDS="linux"
    34.8  WANTED="linux"
    34.9  WEB_SITE="http://www.kernel.org/"
   34.10  
   34.11 @@ -27,7 +28,7 @@
   34.12  # Post install/remove commands for Tazpkg.
   34.13  post_install()
   34.14  {
   34.15 -	depmod -a -b "$1/" $VERSION-slitaz
   34.16 + 	chroot "$1/" depmod -a $VERSION-slitaz
   34.17  }
   34.18  
   34.19  post_remove()
    35.1 --- a/linux-tickless/receipt	Thu May 07 09:09:46 2009 +0200
    35.2 +++ b/linux-tickless/receipt	Thu May 07 09:37:08 2009 +0200
    35.3 @@ -4,6 +4,7 @@
    35.4  VERSION="2.6.25.5"
    35.5  CATEGORY="base-system"
    35.6  SHORT_DESC="The Linux kernel and modules."
    35.7 +DEPENDS="linux"
    35.8  BUILD_DEPENDS="slitaz-toolchain perl"
    35.9  MAINTAINER="pascal.bellard@slitaz.org"
   35.10  SOURCE="linux"
   35.11 @@ -82,7 +83,7 @@
   35.12  post_install()
   35.13  {
   35.14      echo "Processing post-install commands..."
   35.15 -    depmod -a -b "$1/" $VERSION-slitaz
   35.16 +    chroot "$1/" depmod -a $VERSION-slitaz
   35.17      if [ -f "$1/boot/grub/menu.lst" ]; then
   35.18      	root_dev=`cat $1/boot/grub/menu.lst | grep root= | sed 's/.*root=\([^ ]*\).*/\1/'`
   35.19  		grub_dev=`cat $1/boot/grub/menu.lst | grep "root ("`
    36.1 --- a/linux-udf/receipt	Thu May 07 09:09:46 2009 +0200
    36.2 +++ b/linux-udf/receipt	Thu May 07 09:37:08 2009 +0200
    36.3 @@ -5,6 +5,7 @@
    36.4  CATEGORY="base-system"
    36.5  SHORT_DESC="The Linux kernel udf module."
    36.6  MAINTAINER="pascal.bellard@slitaz.org"
    36.7 +DEPENDS="linux"
    36.8  WANTED="linux"
    36.9  WEB_SITE="http://www.kernel.org/"
   36.10  
   36.11 @@ -26,7 +27,7 @@
   36.12  # Post install/remove commands for Tazpkg.
   36.13  post_install()
   36.14  {
   36.15 -	depmod -a -b "$1/" $VERSION-slitaz
   36.16 + 	chroot "$1/" depmod -a $VERSION-slitaz
   36.17  }
   36.18  
   36.19  post_remove()
    37.1 --- a/linux-usbdsl/receipt	Thu May 07 09:09:46 2009 +0200
    37.2 +++ b/linux-usbdsl/receipt	Thu May 07 09:37:08 2009 +0200
    37.3 @@ -5,6 +5,7 @@
    37.4  CATEGORY="base-system"
    37.5  SHORT_DESC="The Linux kernel usb dsl modem modules."
    37.6  MAINTAINER="pascal.bellard@slitaz.org"
    37.7 +DEPENDS="linux"
    37.8  WANTED="linux"
    37.9  WEB_SITE="http://www.kernel.org/"
   37.10  
   37.11 @@ -30,7 +31,7 @@
   37.12  # Post install/remove commands for Tazpkg.
   37.13  post_install()
   37.14  {
   37.15 -	depmod -a -b "$1/" $VERSION-slitaz
   37.16 + 	chroot "$1/" depmod -a $VERSION-slitaz
   37.17  }
   37.18  
   37.19  post_remove()
    38.1 --- a/linux-video/receipt	Thu May 07 09:09:46 2009 +0200
    38.2 +++ b/linux-video/receipt	Thu May 07 09:37:08 2009 +0200
    38.3 @@ -5,6 +5,7 @@
    38.4  CATEGORY="base-system"
    38.5  SHORT_DESC="The Linux kernel video modules."
    38.6  MAINTAINER="pascal.bellard@slitaz.org"
    38.7 +DEPENDS="linux"
    38.8  WANTED="linux"
    38.9  WEB_SITE="http://www.kernel.org/"
   38.10  
   38.11 @@ -27,7 +28,7 @@
   38.12  # Post install/remove commands for Tazpkg.
   38.13  post_install()
   38.14  {
   38.15 -	depmod -a -b "$1/" $VERSION-slitaz
   38.16 + 	chroot "$1/" depmod -a $VERSION-slitaz
   38.17  }
   38.18  
   38.19  post_remove()
    39.1 --- a/linux-wireless/receipt	Thu May 07 09:09:46 2009 +0200
    39.2 +++ b/linux-wireless/receipt	Thu May 07 09:37:08 2009 +0200
    39.3 @@ -5,6 +5,7 @@
    39.4  CATEGORY="base-system"
    39.5  SHORT_DESC="The Linux kernel wireless modules."
    39.6  MAINTAINER="pascal.bellard@slitaz.org"
    39.7 +DEPENDS="linux"
    39.8  WANTED="linux"
    39.9  WEB_SITE="http://www.kernel.org/"
   39.10  DEPENDS="linux-crypto wireless_tools"
   39.11 @@ -31,7 +32,7 @@
   39.12  # Post install/remove commands for Tazpkg.
   39.13  post_install()
   39.14  {
   39.15 -	depmod -a -b "$1/" $VERSION-slitaz
   39.16 + 	chroot "$1/" depmod -a $VERSION-slitaz
   39.17  }
   39.18  
   39.19  post_remove()
    40.1 --- a/linux/receipt	Thu May 07 09:09:46 2009 +0200
    40.2 +++ b/linux/receipt	Thu May 07 09:37:08 2009 +0200
    40.3 @@ -4,6 +4,7 @@
    40.4  VERSION="2.6.25.5"
    40.5  CATEGORY="base-system"
    40.6  SHORT_DESC="The Linux kernel and modules."
    40.7 +DEPENDS="depmod"
    40.8  BUILD_DEPENDS="slitaz-toolchain perl"
    40.9  MAINTAINER="pascal.bellard@slitaz.org"
   40.10  TARBALL="$PACKAGE-$VERSION.tar.bz2"
   40.11 @@ -89,7 +90,7 @@
   40.12  post_install()
   40.13  {
   40.14      echo "Processing post-install commands..."
   40.15 -    depmod -a -b "$1/" $VERSION-slitaz
   40.16 +    chroot "$1/" depmod -a $VERSION-slitaz
   40.17      if [ -f "$1/boot/grub/menu.lst" ]; then
   40.18      	root_dev=`cat $1/boot/grub/menu.lst | grep root= | sed 's/.*root=\([^ ]*\).*/\1/'`
   40.19  		grub_dev=`cat $1/boot/grub/menu.lst | grep "root ("`
    41.1 --- a/mISDN/receipt	Thu May 07 09:09:46 2009 +0200
    41.2 +++ b/mISDN/receipt	Thu May 07 09:37:08 2009 +0200
    41.3 @@ -8,6 +8,7 @@
    41.4  TARBALL="$PACKAGE-$VERSION.tar.gz"
    41.5  WEB_SITE="http://www.misdn.org/"
    41.6  WGET_URL="${WEB_SITE}downloads/releases/$TARBALL"
    41.7 +DEPENDS="linux"
    41.8  BUILD_DEPENDS="linux"
    41.9  
   41.10  # Rules to configure and make the package.
   41.11 @@ -53,7 +54,7 @@
   41.12  # Post install/remove commands for Tazpkg.
   41.13  post_install()
   41.14  {
   41.15 -	depmod -a -b "$1/" ${EXTRAVERSION#_}-slitaz
   41.16 +	chroot "$1/" depmod -a ${EXTRAVERSION#_}-slitaz
   41.17  }
   41.18  
   41.19  post_remove()
    42.1 --- a/madwifi/receipt	Thu May 07 09:09:46 2009 +0200
    42.2 +++ b/madwifi/receipt	Thu May 07 09:37:08 2009 +0200
    42.3 @@ -5,7 +5,7 @@
    42.4  CATEGORY="system-tools"
    42.5  SHORT_DESC="Driver for Atheros-based WLAN cards"
    42.6  MAINTAINER="erjo@slitaz.org"
    42.7 -DEPENDS=""
    42.8 +DEPENDS="linux"
    42.9  SOURCE="madwifi-hal-0.10.5.6-r3861-20080903"
   42.10  TARBALL="$SOURCE.tar.gz"
   42.11  WEB_SITE="http://madwifi.org"
   42.12 @@ -47,7 +47,7 @@
   42.13  post_install()
   42.14  {
   42.15  	echo "Processing post-install commands..."
   42.16 -	depmod -a -b "$1/" ${EXTRAVERSION#_}-slitaz
   42.17 +	chroot "$1/" depmod -a ${EXTRAVERSION#_}-slitaz
   42.18  }
   42.19  
   42.20  post_remove()
    43.1 --- a/ndiswrapper-driver/receipt	Thu May 07 09:09:46 2009 +0200
    43.2 +++ b/ndiswrapper-driver/receipt	Thu May 07 09:37:08 2009 +0200
    43.3 @@ -48,7 +48,7 @@
    43.4  post_install()
    43.5  {
    43.6  	echo "Processing post-install commands..."
    43.7 -	depmod -a -b "$1/" ${EXTRAVERSION#_}-slitaz
    43.8 +	chroot "$1/" depmod -a ${EXTRAVERSION#_}-slitaz
    43.9  }
   43.10  
   43.11  post_remove()
    44.1 --- a/nvidia/receipt	Thu May 07 09:09:46 2009 +0200
    44.2 +++ b/nvidia/receipt	Thu May 07 09:37:08 2009 +0200
    44.3 @@ -51,7 +51,7 @@
    44.4  # Post install/remove commands for Tazpkg.
    44.5  post_install()
    44.6  {
    44.7 -  depmod -a -b "$1/" ${EXTRAVERSION#_}-slitaz
    44.8 +	chroot "$1/" depmod -a ${EXTRAVERSION#_}-slitaz
    44.9  }
   44.10  
   44.11  post_remove()
    45.1 --- a/rt2860sta/receipt	Thu May 07 09:09:46 2009 +0200
    45.2 +++ b/rt2860sta/receipt	Thu May 07 09:37:08 2009 +0200
    45.3 @@ -32,5 +32,5 @@
    45.4  
    45.5  post_install()
    45.6  {
    45.7 -	depmod -a -b "$1/" ${EXTRAVERSION#_}-slitaz
    45.8 +	chroot "$1/" depmod -a ${EXTRAVERSION#_}-slitaz
    45.9  }
    46.1 --- a/squashfs-module/receipt	Thu May 07 09:09:46 2009 +0200
    46.2 +++ b/squashfs-module/receipt	Thu May 07 09:37:08 2009 +0200
    46.3 @@ -5,6 +5,7 @@
    46.4  CATEGORY="base-system"
    46.5  SHORT_DESC="Linux squashfs module."
    46.6  MAINTAINER="pascal.bellard@slitaz.org"
    46.7 +DEPENDS="linux"
    46.8  WEB_SITE="http://squashfs.sourceforge.net/"
    46.9  WANTED="squashfs"
   46.10  
   46.11 @@ -20,7 +21,7 @@
   46.12  # Post install/remove commands for Tazpkg.
   46.13  post_install()
   46.14  {
   46.15 -	depmod -a -b "$1/" ${EXTRAVERSION#_}-slitaz
   46.16 +	chroot "$1/" depmod -a ${EXTRAVERSION#_}-slitaz
   46.17  }
   46.18  
   46.19  post_remove()
    47.1 --- a/usbip-module/receipt	Thu May 07 09:09:46 2009 +0200
    47.2 +++ b/usbip-module/receipt	Thu May 07 09:37:08 2009 +0200
    47.3 @@ -5,6 +5,7 @@
    47.4  CATEGORY="base-system"
    47.5  SHORT_DESC="general USB device sharing system over IP network, kernel modules."
    47.6  MAINTAINER="pascal.bellard@slitaz.org"
    47.7 +DEPENDS="linux"
    47.8  WEB_SITE="http://usbip.sourceforge.net/"
    47.9  WANTED="usbip"
   47.10  
   47.11 @@ -20,7 +21,7 @@
   47.12  # Post install/remove commands for Tazpkg.
   47.13  post_install()
   47.14  {
   47.15 -	depmod -a -b "$1/"
   47.16 +	chroot "$1/" depmod -a ${EXTRAVERSION#_}-slitaz
   47.17  }
   47.18  
   47.19  post_remove()
    48.1 --- a/zaptel/receipt	Thu May 07 09:09:46 2009 +0200
    48.2 +++ b/zaptel/receipt	Thu May 07 09:37:08 2009 +0200
    48.3 @@ -6,7 +6,7 @@
    48.4  SHORT_DESC="Zapata Telephony Interface Driver."
    48.5  MAINTAINER="pascal.bellard@slitaz.org"
    48.6  WEB_SITE="http://www.digium.com/"
    48.7 -DEPENDS="libusb newt"
    48.8 +DEPENDS="libusb newt linux"
    48.9  WANTED="bristuff"
   48.10  CONFIG_FILES="/etc/zaptel.conf"
   48.11  
   48.12 @@ -45,7 +45,7 @@
   48.13  # Post install/remove commands for Tazpkg.
   48.14  post_install()
   48.15  {
   48.16 -	depmod -a -b "$1/" ${EXTRAVERSION#_}-slitaz
   48.17 +	chroot "$1/" depmod -a ${EXTRAVERSION#_}-slitaz
   48.18  }
   48.19  
   48.20  post_remove()