diff options
author | tnut <tnut at nutyx dot com> | 2011-07-01 19:34:43 +0200 |
---|---|---|
committer | tnut <tnut at nutyx dot com> | 2011-07-01 19:34:43 +0200 |
commit | 2a380d592e346419b10aec7d7e150788a0a8a6a3 (patch) | |
tree | 7e248a464b3473db933a1996f2d0d741b856233b | |
parent | a90260ceb209aa264ecea1b750250d0a95f55bed (diff) | |
download | nutyx-pakxe-2a380d592e346419b10aec7d7e150788a0a8a6a3.tar.gz nutyx-pakxe-2a380d592e346419b10aec7d7e150788a0a8a6a3.tar.bz2 nutyx-pakxe-2a380d592e346419b10aec7d7e150788a0a8a6a3.tar.xz nutyx-pakxe-2a380d592e346419b10aec7d7e150788a0a8a6a3.zip |
virtualbox-module ds ouvert
-rw-r--r-- | base/virtualbox-module/.footprint.i686 | 9 | ||||
-rw-r--r-- | base/virtualbox-module/.footprint.x86_64 | 9 | ||||
-rw-r--r-- | base/virtualbox-module/.md5sum.i686 | 1 | ||||
-rw-r--r-- | base/virtualbox-module/.md5sum.x86_64 | 1 | ||||
-rwxr-xr-x | base/virtualbox-module/Pkgfile | 34 | ||||
-rwxr-xr-x | base/virtualbox-module/post-install | 18 |
6 files changed, 0 insertions, 72 deletions
diff --git a/base/virtualbox-module/.footprint.i686 b/base/virtualbox-module/.footprint.i686 deleted file mode 100644 index 5f72358b1..000000000 --- a/base/virtualbox-module/.footprint.i686 +++ /dev/null @@ -1,9 +0,0 @@ -drwxr-xr-x root/root lib/ -drwxr-xr-x root/root lib/modules/ -drwxr-xr-x root/root lib/modules/<kernel-version>/ -drwxr-xr-x root/root lib/modules/<kernel-version>/kernel/ -drwxr-xr-x root/root lib/modules/<kernel-version>/kernel/drivers/ -drwxr-xr-x root/root lib/modules/<kernel-version>/kernel/drivers/misc/ --rw-r--r-- root/root lib/modules/<kernel-version>/kernel/drivers/misc/vboxdrv.ko --rw-r--r-- root/root lib/modules/<kernel-version>/kernel/drivers/misc/vboxnetadp.ko --rw-r--r-- root/root lib/modules/<kernel-version>/kernel/drivers/misc/vboxnetflt.ko diff --git a/base/virtualbox-module/.footprint.x86_64 b/base/virtualbox-module/.footprint.x86_64 deleted file mode 100644 index 5f72358b1..000000000 --- a/base/virtualbox-module/.footprint.x86_64 +++ /dev/null @@ -1,9 +0,0 @@ -drwxr-xr-x root/root lib/ -drwxr-xr-x root/root lib/modules/ -drwxr-xr-x root/root lib/modules/<kernel-version>/ -drwxr-xr-x root/root lib/modules/<kernel-version>/kernel/ -drwxr-xr-x root/root lib/modules/<kernel-version>/kernel/drivers/ -drwxr-xr-x root/root lib/modules/<kernel-version>/kernel/drivers/misc/ --rw-r--r-- root/root lib/modules/<kernel-version>/kernel/drivers/misc/vboxdrv.ko --rw-r--r-- root/root lib/modules/<kernel-version>/kernel/drivers/misc/vboxnetadp.ko --rw-r--r-- root/root lib/modules/<kernel-version>/kernel/drivers/misc/vboxnetflt.ko diff --git a/base/virtualbox-module/.md5sum.i686 b/base/virtualbox-module/.md5sum.i686 deleted file mode 100644 index 37e783bf1..000000000 --- a/base/virtualbox-module/.md5sum.i686 +++ /dev/null @@ -1 +0,0 @@ -6c71a946009f0ab9f95b86ddda7bdd16 VirtualBox-4.0.10-72479-Linux_x86.run diff --git a/base/virtualbox-module/.md5sum.x86_64 b/base/virtualbox-module/.md5sum.x86_64 deleted file mode 100644 index 1293c3a4b..000000000 --- a/base/virtualbox-module/.md5sum.x86_64 +++ /dev/null @@ -1 +0,0 @@ -fdb63afa11039900e321ffaa8e56b73c VirtualBox-4.0.10-72479-Linux_amd64.run diff --git a/base/virtualbox-module/Pkgfile b/base/virtualbox-module/Pkgfile deleted file mode 100755 index aecffc957..000000000 --- a/base/virtualbox-module/Pkgfile +++ /dev/null @@ -1,34 +0,0 @@ -# Description: Modules kernel pour virtualbox -# URL: http://www.virtualbox.org -# Maintainer: NutyX core team -# Packager: thierryn1 at hispeed dot ch - -name=virtualbox-module -version=4.0.10 -release=1 -_name=VirtualBox -_kernel=`uname -r` -_build=72479 - -[ "`uname -m`" == "i686" ] && _ARCH=x86 -[ "`uname -m`" == "x86_64" ] && _ARCH=amd64 - -source=(http://download.virtualbox.org/virtualbox/$version/${_name}-${version}-${_build}-Linux_${_ARCH}.run) - - - -build() { - sh "VirtualBox-${version}-${_build}-Linux_${_ARCH}.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 -} diff --git a/base/virtualbox-module/post-install b/base/virtualbox-module/post-install deleted file mode 100755 index 2932233e5..000000000 --- a/base/virtualbox-module/post-install +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/sh -# Mettre a jour les modules -depmod - -# Si pas de groupe vboxusers on en creer un -/usr/bin/getent group vboxusers || /usr/sbin/groupadd -g 80 vboxusers - -# Ajout du module dans /etc/sysconfig/modules -if ! grep "vboxdrv" /etc/sysconfig/modules >/dev/null; then - sed -i '/End/ i vboxdrv' /etc/sysconfig/modules -fi -if ! grep "vboxnetflt" /etc/sysconfig/modules >/dev/null; then - sed -i '/End/ i vboxnetflt' /etc/sysconfig/modules -fi - - -# End of File - |