virtualbox: fixed some minor issues

This commit is contained in:
Jose V Beneyto 2008-12-23 20:27:07 +01:00
parent 47efcfa7c2
commit 478cfbfd24
2 changed files with 6 additions and 3 deletions

View File

@ -6,13 +6,13 @@
name=virtualbox
version=2.1.0
release=2
release=3
source=(http://download.virtualbox.org/$name/$version/VirtualBox-$version-OSE.tar.bz2 \
$name 60-vboxdrv.rules $name.desktop)
build() {
KVER=$(uname -r)
KDIR=/usr/src/linux
[ ! -z $KDIR ] && KARG="KERN_DIR=$KDIR"
local QT3GUI QT4GUI
if [ "$(pkginfo -i | grep '^qt3 ')" ]; then
@ -37,7 +37,7 @@ build() {
kmk all
# compile kernel modules
cd out/linux.x86/release/bin/src
make KERN_DIR=$KDIR
make $KARG
# install kernel modules
install -D -m 0644 vboxdrv.ko $PKG/lib/modules/$KVER/kernel/drivers/misc/vboxdrv.ko
install -D -m 0644 vboxnetflt.ko $PKG/lib/modules/$KVER/kernel/drivers/misc/vboxnetflt.ko

View File

@ -45,6 +45,9 @@ POST-INSTALL
PRECAUTION
To use an alternative kernel directory you should type something like:
# env KDIR=/not-default-path/src/linux pkgmk
If you have problems trying to update virtualbox (xalan-c not found...) use
this command to solve it:
# prt-get update -fr xerces-c xalan-c