diff options
author | tnut <thierryn1 at hispeed dot ch> | 2010-11-05 09:32:12 +0100 |
---|---|---|
committer | tnut <thierryn1 at hispeed dot ch> | 2010-11-05 09:32:12 +0100 |
commit | 09d5980043aebd4309b79173805a7c2f00e70301 (patch) | |
tree | 4013df7a61835d37c76461204a16b74215c3d137 /acompiler/virtualbox-module/Pkgfile | |
parent | 9fa39ca42c295fb1f51d6af338a4127d7e9cd91d (diff) | |
download | nutyx-extra-09d5980043aebd4309b79173805a7c2f00e70301.tar.gz nutyx-extra-09d5980043aebd4309b79173805a7c2f00e70301.tar.bz2 nutyx-extra-09d5980043aebd4309b79173805a7c2f00e70301.tar.xz nutyx-extra-09d5980043aebd4309b79173805a7c2f00e70301.zip |
virtualbox-module, ajout du module vboxnetadp.ko et petits ajustement du Pkgfile pour pouvoir le builder sur n'importe quel kernel
Diffstat (limited to 'acompiler/virtualbox-module/Pkgfile')
-rwxr-xr-x | acompiler/virtualbox-module/Pkgfile | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/acompiler/virtualbox-module/Pkgfile b/acompiler/virtualbox-module/Pkgfile index fe195a7d2..fad56be03 100755 --- a/acompiler/virtualbox-module/Pkgfile +++ b/acompiler/virtualbox-module/Pkgfile @@ -14,16 +14,17 @@ source=(http://download.virtualbox.org/virtualbox/$version/${_name}-${version}-$ build() { - sh "VirtualBox-${version}-${_build}-Linux_x86.run" --target "$SRC" --keep --noexec - tar xfj VirtualBox.tar.bz2 - - mkdir -p $PKG/lib/modules/`uname -r`/kernel/drivers/misc/ - cd $SRC/src/vboxhost/ - - KERNELRELEASE=${_kernel} KERN_DIR=/usr/src/linux-`echo ${_kernel}|sed "s/-NuTyX//"` make - - install -D -m 0644 vboxdrv.ko \ - $PKG/lib/modules/`uname -r`/kernel/drivers/misc/vboxdrv.ko - install -D -m 0644 vboxnetflt.ko \ - $PKG/lib/modules/`uname -r`/kernel/drivers/misc/vboxnetflt.ko + sh "VirtualBox-${version}-${_build}-Linux_x86.run" --target "$SRC" --keep --noexec + tar xfj VirtualBox.tar.bz2 + + mkdir -p $PKG/lib/modules/${_kernel}/kernel/drivers/misc/ + cd $SRC/src/vboxhost/ + + KERNELRELEASE=${_kernel} KERN_DIR=/usr/src/linux-`echo ${_kernel}|sed "s/-NuTyX//"` make + + for i in vboxdrv.ko vboxnetflt.ko vboxnetadp.ko + do + install -D -m0644 $i \ + $PKG/lib/modules/${_kernel}/kernel/drivers/misc/$i + done } |