wok-current rev 7159

Fixed post_install function in virtualbox-ose to use the right kernel version.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Nov 07 02:10:16 2010 +0000 (2010-11-07)
parents 5b982ce8d9d3
children 68a741976835
files virtualbox-ose/receipt
line diff
     1.1 --- a/virtualbox-ose/receipt	Sat Nov 06 22:41:17 2010 +0000
     1.2 +++ b/virtualbox-ose/receipt	Sun Nov 07 02:10:16 2010 +0000
     1.3 @@ -162,7 +162,7 @@
     1.4  {
     1.5  	KERNEL_VERSION=`grep  ^VERSION= $1/var/lib/tazpkg/installed/linux/receipt | cut -d "=" -f2 | sed -e 's/"//g'`
     1.6  
     1.7 -	chroot "$1/" depmod -a $KERNEL_VERSION
     1.8 +	chroot "$1/" depmod -a $KERNEL_VERSION-slitaz
     1.9  	[ -n "$1" ] || for i in $MODULE_LIST; do modprobe $i ; done
    1.10  	grep -qs vboxdrv $1/etc/rcS.conf ||
    1.11  	sed -i 's/LOAD_MODULES="/&$MODULE_LIST /' $1/etc/rcS.conf