wok rev 1455

atl2 kqemu madwifi mISDN ndiswrapper squashfs-module zaptel: fix depmod in post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Oct 03 16:09:39 2008 +0000 (2008-10-03)
parents fd4eda949f1e
children 8c61e59b4295
files atl2/receipt kqemu/receipt mISDN/receipt madwifi/receipt ndiswrapper/receipt squashfs-module/receipt zaptel/receipt
line diff
     1.1 --- a/atl2/receipt	Fri Oct 03 16:03:56 2008 +0000
     1.2 +++ b/atl2/receipt	Fri Oct 03 16:09:39 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/" $EXTRAVERSION-slitaz
     1.8 +	depmod -a -b "$1/" ${EXTRAVERSION#_}-slitaz
     1.9  }
    1.10  
    1.11  post_remove()
     2.1 --- a/kqemu/receipt	Fri Oct 03 16:03:56 2008 +0000
     2.2 +++ b/kqemu/receipt	Fri Oct 03 16:09:39 2008 +0000
     2.3 @@ -42,7 +42,7 @@
     2.4  # Post install/remove commands for Tazpkg.
     2.5  post_install()
     2.6  {
     2.7 -	depmod -a -b "$1/" $EXTRAVERSION-slitaz
     2.8 +	depmod -a -b "$1/" ${EXTRAVERSION#_}-slitaz
     2.9  }
    2.10  
    2.11  post_remove()
     3.1 --- a/mISDN/receipt	Fri Oct 03 16:03:56 2008 +0000
     3.2 +++ b/mISDN/receipt	Fri Oct 03 16:09:39 2008 +0000
     3.3 @@ -13,12 +13,12 @@
     3.4  # Rules to configure and make the package.
     3.5  compile_rules()
     3.6  {
     3.7 -	if [ ! -d ../linux/taz ]; then
     3.8 +	if [ ! -d $WOK/linux/taz ]; then
     3.9  		tazwok cook linux
    3.10  	fi
    3.11 -	KVERS=$(grep "kernel version" ../linux/linux-*/.config)
    3.12 +	KVERS=$(grep "kernel version" $WOK/linux/linux-*/.config)
    3.13  	KVERS=${KVERS##* }
    3.14 -	KSRC=$(cd ../linux/linux-* ; pwd)
    3.15 +	KSRC=$(cd $WOK/linux/linux-* ; pwd)
    3.16  	cd $src
    3.17  	while read file; do
    3.18  		[ -f done.$file ] && continue
    3.19 @@ -35,6 +35,7 @@
    3.20  		drivers/isdn/hardware/mISDN/linux/*.?
    3.21  	done
    3.22  	sed -i "s,MISDNVERSION,\"$(cat VERSION)\"," drivers/isdn/hardware/mISDN/*.c
    3.23 +	sed -i 's/depmod/echo/' Makefile
    3.24  	make KVERS=$KVERS LINUX=$KSRC KBUILD_NOPEDANTIC=1 DESTDIR=$PWD/_pkg install
    3.25  }
    3.26  
    3.27 @@ -52,7 +53,7 @@
    3.28  # Post install/remove commands for Tazpkg.
    3.29  post_install()
    3.30  {
    3.31 -	depmod -a -b "$1/" $EXTRAVERSION-slitaz
    3.32 +	depmod -a -b "$1/" ${EXTRAVERSION#_}-slitaz
    3.33  }
    3.34  
    3.35  post_remove()
     4.1 --- a/madwifi/receipt	Fri Oct 03 16:03:56 2008 +0000
     4.2 +++ b/madwifi/receipt	Fri Oct 03 16:09:39 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/" $EXTRAVERSION-slitaz
     4.8 +	depmod -a -b "$1/" ${EXTRAVERSION#_}-slitaz
     4.9  }
    4.10  
    4.11  post_remove()
     5.1 --- a/ndiswrapper/receipt	Fri Oct 03 16:03:56 2008 +0000
     5.2 +++ b/ndiswrapper/receipt	Fri Oct 03 16:09:39 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/" $EXTRAVERSION-slitaz
     5.8 +	depmod -a -b "$1/" ${EXTRAVERSION#_}-slitaz
     5.9  }
    5.10  
    5.11  post_remove()
     6.1 --- a/squashfs-module/receipt	Fri Oct 03 16:03:56 2008 +0000
     6.2 +++ b/squashfs-module/receipt	Fri Oct 03 16:09:39 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/" $EXTRAVERSION-slitaz
     6.8 +	depmod -a -b "$1/" ${EXTRAVERSION#_}-slitaz
     6.9  }
    6.10  
    6.11  post_remove()
     7.1 --- a/zaptel/receipt	Fri Oct 03 16:03:56 2008 +0000
     7.2 +++ b/zaptel/receipt	Fri Oct 03 16:09:39 2008 +0000
     7.3 @@ -41,7 +41,7 @@
     7.4  		$1/$INSTALLED/$PACKAGE/volatile.cpio.gz <<EOT
     7.5  etc/zaptel.conf
     7.6  EOT
     7.7 -	depmod -a -b "$1/" $EXTRAVERSION-slitaz
     7.8 +	depmod -a -b "$1/" ${EXTRAVERSION#_}-slitaz
     7.9  }
    7.10  
    7.11  post_remove()