wok-current rev 1286

Force module version in depmod
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Aug 20 15:28:36 2008 +0000 (2008-08-20)
parents 1f3b7c0e6144
children 12e8e6cc0e05
files atl2/receipt kqemu/receipt mISDN/receipt madwifi/receipt ndiswrapper/receipt squashfs-module/receipt squashfs/receipt zaptel/receipt
line diff
     1.1 --- a/atl2/receipt	Wed Aug 20 15:13:11 2008 +0000
     1.2 +++ b/atl2/receipt	Wed Aug 20 15:28:36 2008 +0000
     1.3 @@ -40,7 +40,7 @@
     1.4  # Post install/remove commands for Tazpkg.
     1.5  post_install()
     1.6  {
     1.7 -	depmod -a -b /$1
     1.8 +	depmod -a -b "$1/" $EXTRAVERSION-slitaz
     1.9  }
    1.10  
    1.11  post_remove()
     2.1 --- a/kqemu/receipt	Wed Aug 20 15:13:11 2008 +0000
     2.2 +++ b/kqemu/receipt	Wed Aug 20 15:28:36 2008 +0000
     2.3 @@ -42,11 +42,11 @@
     2.4  # Post install/remove commands for Tazpkg.
     2.5  post_install()
     2.6  {
     2.7 -	depmod -a -b "$1/"
     2.8 +	depmod -a -b "$1/" $EXTRAVERSION-slitaz
     2.9  }
    2.10  
    2.11  post_remove()
    2.12  {
    2.13 -	depmod -a
    2.14 +	depmod -a 
    2.15  }
    2.16  
     3.1 --- a/mISDN/receipt	Wed Aug 20 15:13:11 2008 +0000
     3.2 +++ b/mISDN/receipt	Wed Aug 20 15:28:36 2008 +0000
     3.3 @@ -46,7 +46,7 @@
     3.4  # Post install/remove commands for Tazpkg.
     3.5  post_install()
     3.6  {
     3.7 -	depmod -a -b "$1/"
     3.8 +	depmod -a -b "$1/" $EXTRAVERSION-slitaz
     3.9  }
    3.10  
    3.11  post_remove()
     4.1 --- a/madwifi/receipt	Wed Aug 20 15:13:11 2008 +0000
     4.2 +++ b/madwifi/receipt	Wed Aug 20 15:28:36 2008 +0000
     4.3 @@ -43,7 +43,7 @@
     4.4  post_install()
     4.5  {
     4.6  	echo "Processing post-install commands..."
     4.7 -	depmod -a  -b /$1
     4.8 +	depmod -a -b "$1/" $EXTRAVERSION-slitaz
     4.9  }
    4.10  
    4.11  post_remove()
     5.1 --- a/ndiswrapper/receipt	Wed Aug 20 15:13:11 2008 +0000
     5.2 +++ b/ndiswrapper/receipt	Wed Aug 20 15:28:36 2008 +0000
     5.3 @@ -45,7 +45,7 @@
     5.4  post_install()
     5.5  {
     5.6  	echo "Processing post-install commands..."
     5.7 -	depmod -a  -b /$1
     5.8 +	depmod -a -b "$1/" $EXTRAVERSION-slitaz
     5.9  }
    5.10  
    5.11  post_remove()
     6.1 --- a/squashfs-module/receipt	Wed Aug 20 15:13:11 2008 +0000
     6.2 +++ b/squashfs-module/receipt	Wed Aug 20 15:28:36 2008 +0000
     6.3 @@ -20,7 +20,7 @@
     6.4  # Post install/remove commands for Tazpkg.
     6.5  post_install()
     6.6  {
     6.7 -	depmod -a -b "$1/"
     6.8 +	depmod -a -b "$1/" $EXTRAVERSION-slitaz
     6.9  }
    6.10  
    6.11  post_remove()
     7.1 --- a/squashfs/receipt	Wed Aug 20 15:13:11 2008 +0000
     7.2 +++ b/squashfs/receipt	Wed Aug 20 15:28:36 2008 +0000
     7.3 @@ -98,14 +98,3 @@
     7.4  {
     7.5  	cp -a _pkg/usr _pkg/sbin $fs
     7.6  }
     7.7 -
     7.8 -# Post install/remove commands for Tazpkg.
     7.9 -post_install()
    7.10 -{
    7.11 -	depmod -a -b "$1/"
    7.12 -}
    7.13 -
    7.14 -post_remove()
    7.15 -{
    7.16 -	depmod -a
    7.17 -}
     8.1 --- a/zaptel/receipt	Wed Aug 20 15:13:11 2008 +0000
     8.2 +++ b/zaptel/receipt	Wed Aug 20 15:28:36 2008 +0000
     8.3 @@ -43,7 +43,7 @@
     8.4  		$1/$INSTALLED/$PACKAGE/volatile.cpio.gz <<EOT
     8.5  etc/zaptel.conf
     8.6  EOT
     8.7 -	depmod -a -b "$1/"
     8.8 +	depmod -a -b "$1/" $EXTRAVERSION-slitaz
     8.9  }
    8.10  
    8.11  post_remove()