]> git.pld-linux.org Git - packages/VirtualBox.git/blob - VirtualBox-export_modules.patch
8af47b6233145c16ba7541082e6b6e5e29262942
[packages/VirtualBox.git] / VirtualBox-export_modules.patch
1 diff -ur VirtualBox-2.2.4_OSE.orig/src/VBox/Additions/linux/export_modules VirtualBox-2.2.4_OSE/src/VBox/Additions/linux/export_modules
2 --- VirtualBox-2.2.4_OSE.orig/src/VBox/Additions/linux/export_modules   2009-06-20 23:10:03.959703221 +0200
3 +++ VirtualBox-2.2.4_OSE/src/VBox/Additions/linux/export_modules        2009-06-20 23:39:32.927402856 +0200
4 @@ -31,6 +31,7 @@
5  PATH_ROOT="`cd \`dirname $0\`/../../../..; pwd`"
6  PATH_VBOXADD="$PATH_ROOT/src/VBox/Additions/linux/module"
7  PATH_VBOXVFS="$PATH_ROOT/src/VBox/Additions/linux/sharedfolders"
8 +PATH_VBOXVIDEO_DRM="$PATH_ROOT/src/VBox/Additions/linux/drm"
9  
10  VBOX_VERSION_MAJOR=`sed -e "s/^ *VBOX_VERSION_MAJOR *= \+\([0-9]\+\)/\1/;t;d" $PATH_ROOT/Config.kmk`
11  VBOX_VERSION_MINOR=`sed -e "s/^ *VBOX_VERSION_MINOR *= \+\([0-9]\+\)/\1/;t;d" $PATH_ROOT/Config.kmk`
12 @@ -38,6 +39,7 @@
13  
14  . $PATH_VBOXADD/files_vboxadd
15  . $PATH_VBOXVFS/files_vboxvfs
16 +. $PATH_VBOXVIDEO_DRM/files_vboxvideo_drm
17  
18  # Temporary path for creating the modules, will be removed later
19  mkdir $PATH_TMP || exit 1
20 @@ -71,6 +73,15 @@
21      install -D -m 0755 `echo $f|cut -d'=' -f1` "$PATH_TMP/vboxvfs/`echo $f|cut -d'>' -f2`"
22  done
23  
24 +# vboxvideo_drm (VirtualBox guest kernel module for DRI)
25 +mkdir $PATH_TMP/vboxvideo_drm || exit 1
26 +for f in $FILES_VBOXVIDEO_DRM_NOBIN; do
27 +    install -D -m 0644 `echo $f|cut -d'=' -f1` "$PATH_TMP/vboxvideo_drm/`echo $f|cut -d'>' -f2`"
28 +done
29 +for f in $FILES_VBOXVIDEO_DRM_BIN; do
30 +    install -D -m 0755 `echo $f|cut -d'=' -f1` "$PATH_TMP/vboxvideo_drm/`echo $f|cut -d'>' -f2`"
31 +done
32 +
33  # Only temporary, omit from archive
34  rm $PATH_TMP/version-generated.h
35  
This page took 0.025991 seconds and 3 git commands to generate.