# HG changeset patch # User Pascal Bellard # Date 1223050179 0 # Node ID 0d30d3d18dcbf1b02912a0533d9308cecf411742 # Parent fd4eda949f1eee04f5d12ab89cebade7d826c47c atl2 kqemu madwifi mISDN ndiswrapper squashfs-module zaptel: fix depmod in post_install diff -r fd4eda949f1e -r 0d30d3d18dcb atl2/receipt --- a/atl2/receipt Fri Oct 03 16:03:56 2008 +0000 +++ b/atl2/receipt Fri Oct 03 16:09:39 2008 +0000 @@ -40,7 +40,7 @@ # Post install/remove commands for Tazpkg. post_install() { - depmod -a -b "$1/" $EXTRAVERSION-slitaz + depmod -a -b "$1/" ${EXTRAVERSION#_}-slitaz } post_remove() diff -r fd4eda949f1e -r 0d30d3d18dcb kqemu/receipt --- a/kqemu/receipt Fri Oct 03 16:03:56 2008 +0000 +++ b/kqemu/receipt Fri Oct 03 16:09:39 2008 +0000 @@ -42,7 +42,7 @@ # Post install/remove commands for Tazpkg. post_install() { - depmod -a -b "$1/" $EXTRAVERSION-slitaz + depmod -a -b "$1/" ${EXTRAVERSION#_}-slitaz } post_remove() diff -r fd4eda949f1e -r 0d30d3d18dcb mISDN/receipt --- a/mISDN/receipt Fri Oct 03 16:03:56 2008 +0000 +++ b/mISDN/receipt Fri Oct 03 16:09:39 2008 +0000 @@ -13,12 +13,12 @@ # Rules to configure and make the package. compile_rules() { - if [ ! -d ../linux/taz ]; then + if [ ! -d $WOK/linux/taz ]; then tazwok cook linux fi - KVERS=$(grep "kernel version" ../linux/linux-*/.config) + KVERS=$(grep "kernel version" $WOK/linux/linux-*/.config) KVERS=${KVERS##* } - KSRC=$(cd ../linux/linux-* ; pwd) + KSRC=$(cd $WOK/linux/linux-* ; pwd) cd $src while read file; do [ -f done.$file ] && continue @@ -35,6 +35,7 @@ drivers/isdn/hardware/mISDN/linux/*.? done sed -i "s,MISDNVERSION,\"$(cat VERSION)\"," drivers/isdn/hardware/mISDN/*.c + sed -i 's/depmod/echo/' Makefile make KVERS=$KVERS LINUX=$KSRC KBUILD_NOPEDANTIC=1 DESTDIR=$PWD/_pkg install } @@ -52,7 +53,7 @@ # Post install/remove commands for Tazpkg. post_install() { - depmod -a -b "$1/" $EXTRAVERSION-slitaz + depmod -a -b "$1/" ${EXTRAVERSION#_}-slitaz } post_remove() diff -r fd4eda949f1e -r 0d30d3d18dcb madwifi/receipt --- a/madwifi/receipt Fri Oct 03 16:03:56 2008 +0000 +++ b/madwifi/receipt Fri Oct 03 16:09:39 2008 +0000 @@ -43,7 +43,7 @@ post_install() { echo "Processing post-install commands..." - depmod -a -b "$1/" $EXTRAVERSION-slitaz + depmod -a -b "$1/" ${EXTRAVERSION#_}-slitaz } post_remove() diff -r fd4eda949f1e -r 0d30d3d18dcb ndiswrapper/receipt --- a/ndiswrapper/receipt Fri Oct 03 16:03:56 2008 +0000 +++ b/ndiswrapper/receipt Fri Oct 03 16:09:39 2008 +0000 @@ -45,7 +45,7 @@ post_install() { echo "Processing post-install commands..." - depmod -a -b "$1/" $EXTRAVERSION-slitaz + depmod -a -b "$1/" ${EXTRAVERSION#_}-slitaz } post_remove() diff -r fd4eda949f1e -r 0d30d3d18dcb squashfs-module/receipt --- a/squashfs-module/receipt Fri Oct 03 16:03:56 2008 +0000 +++ b/squashfs-module/receipt Fri Oct 03 16:09:39 2008 +0000 @@ -20,7 +20,7 @@ # Post install/remove commands for Tazpkg. post_install() { - depmod -a -b "$1/" $EXTRAVERSION-slitaz + depmod -a -b "$1/" ${EXTRAVERSION#_}-slitaz } post_remove() diff -r fd4eda949f1e -r 0d30d3d18dcb zaptel/receipt --- a/zaptel/receipt Fri Oct 03 16:03:56 2008 +0000 +++ b/zaptel/receipt Fri Oct 03 16:09:39 2008 +0000 @@ -41,7 +41,7 @@ $1/$INSTALLED/$PACKAGE/volatile.cpio.gz <