# HG changeset patch # User Christopher Rogers # Date 1289095816 0 # Node ID 730c9d6f415eb9c73acb76f70ef51e76a50c05e6 # Parent 5b982ce8d9d3bfc45bb56bf5f9b3df5ec8305bb3 Fixed post_install function in virtualbox-ose to use the right kernel version. diff -r 5b982ce8d9d3 -r 730c9d6f415e virtualbox-ose/receipt --- a/virtualbox-ose/receipt Sat Nov 06 22:41:17 2010 +0000 +++ b/virtualbox-ose/receipt Sun Nov 07 02:10:16 2010 +0000 @@ -162,7 +162,7 @@ { KERNEL_VERSION=`grep ^VERSION= $1/var/lib/tazpkg/installed/linux/receipt | cut -d "=" -f2 | sed -e 's/"//g'` - chroot "$1/" depmod -a $KERNEL_VERSION + chroot "$1/" depmod -a $KERNEL_VERSION-slitaz [ -n "$1" ] || for i in $MODULE_LIST; do modprobe $i ; done grep -qs vboxdrv $1/etc/rcS.conf || sed -i 's/LOAD_MODULES="/&$MODULE_LIST /' $1/etc/rcS.conf