- Timestamp:
- Oct 13, 2017 6:29:42 PM (7 years ago)
- Location:
- trunk/src/VBox
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/linux/installer/install.sh.in
r67818 r69086 21 21 # built matches the one loaded and 2 is returned otherwise. E.g. VBoxClient 22 22 # running will prevent vboxguest reloading. 23 # * If the kernel modules cannot be built (run the installer with KERN_DIR=/) or 24 # loaded (run with KERN_VER=<installed non-current version>) then 1 is returned. 23 # * If the kernel modules cannot be built (run the installer with KERN_VER=none) 24 # or loaded (run with KERN_VER=<installed non-current version>) then 1 is 25 # returned. 25 26 26 27 PATH=$PATH:/bin:/sbin:/usr/sbin -
trunk/src/VBox/Additions/linux/installer/vboxadd.sh
r68849 r69086 418 418 #!/bin/sh 419 419 test -d "/lib/modules/\${1}/build" || exit 0 420 KERN_DIR="/lib/modules/\${1}/build" MODULE_DIR="/lib/modules/\${1}/misc" \ 421 /sbin/rcvboxadd quicksetup 420 KERN_VER="\${1}" /sbin/rcvboxadd quicksetup 422 421 exit 0 423 422 EOF -
trunk/src/VBox/Installer/linux/install.sh
r67054 r69086 19 19 # * After successful installation, 0 is returned if the vboxdrv module version 20 20 # built matches the one loaded. 21 # * If the kernel modules cannot be built (run the installer with KERN_ DIR=/) or22 # loaded (run with KERN_DIR=/lib/modules/<installed non-current version>/build)21 # * If the kernel modules cannot be built (run the installer with KERN_VER=none) 22 # or loaded (run with KERN_VER=<installed non-current version>) 23 23 # then 1 is returned. 24 24 -
trunk/src/VBox/Installer/linux/rpm/VirtualBox.tmpl.spec
r68128 r69086 111 111 --save-module-symvers /tmp/vboxdrv-Module.symvers \ 112 112 --module-source `pwd`/src/vboxhost/vboxdrv \ 113 KBUILD_VERBOSE= KERN_ DIR=$d/build MODULE_DIR=$RPM_BUILD_ROOT/$d/misc-j4 \113 KBUILD_VERBOSE= KERN_VER=${d%/lib/modules/} INSTALL_MODULE_PATH=$RPM_BUILD_ROOT -j4 \ 114 114 %INSTMOD% 115 115 ./src/vboxhost/build_in_tmp \ 116 116 --use-module-symvers /tmp/vboxdrv-Module.symvers \ 117 117 --module-source `pwd`/src/vboxhost/vboxnetflt \ 118 KBUILD_VERBOSE= KERN_ DIR=$d/build MODULE_DIR=$RPM_BUILD_ROOT/$d/misc-j4 \118 KBUILD_VERBOSE= KERN_VER=${d%/lib/modules/} INSTALL_MODULE_PATH=$RPM_BUILD_ROOT -j4 \ 119 119 %INSTMOD% 120 120 ./src/vboxhost/build_in_tmp \ 121 121 --use-module-symvers /tmp/vboxdrv-Module.symvers \ 122 122 --module-source `pwd`/src/vboxhost/vboxnetadp \ 123 KBUILD_VERBOSE= KERN_ DIR=$d/build MODULE_DIR=$RPM_BUILD_ROOT/$d/misc-j4 \123 KBUILD_VERBOSE= KERN_VER=${d%/lib/modules/} INSTALL_MODULE_PATH=$RPM_BUILD_ROOT -j4 \ 124 124 %INSTMOD% 125 125 ./src/vboxhost/build_in_tmp \ 126 126 --use-module-symvers /tmp/vboxdrv-Module.symvers \ 127 127 --module-source `pwd`/src/vboxhost/vboxpci \ 128 KBUILD_VERBOSE= KERN_ DIR=$d/build MODULE_DIR=$RPM_BUILD_ROOT/$d/misc-j4 \128 KBUILD_VERBOSE= KERN_VER=${d%/lib/modules/} INSTALL_MODULE_PATH=$RPM_BUILD_ROOT -j4 \ 129 129 %INSTMOD% 130 130 fi
Note:
See TracChangeset
for help on using the changeset viewer.