Changeset 67736 in vbox for trunk/src/VBox/Additions/linux
- Timestamp:
- Jun 30, 2017 1:43:48 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/linux/installer/vboxadd.sh
r66423 r67736 16 16 # 17 17 18 # X-Start-Before is a Debian Addition which we use when converting to 19 # a systemd unit. X-Service-Type is our own invention, also for systemd. 18 20 19 21 # chkconfig: 345 10 90 … … 26 28 # Default-Start: 2 3 4 5 27 29 # Default-Stop: 0 1 6 30 # X-Start-Before: display-manager 31 # X-Service-Type: oneshot 28 32 # Description: VirtualBox Linux Additions kernel modules 29 33 ### END INIT INFO … … 250 254 # multi-architecture installations 251 255 rm -f /etc/ld.so.conf.d/00vboxvideo.conf 256 rm -Rf /var/lib/VBoxGuestAdditions/lib 252 257 if /usr/bin/VBoxClient --check3d 2>/dev/null; then 253 258 mkdir -p /var/lib/VBoxGuestAdditions/lib 254 259 ln -sf "${INSTALL_DIR}/lib/VBoxOGL.so" /var/lib/VBoxGuestAdditions/lib/libGL.so.1 255 ln -sf "${INSTALL_DIR}/lib/VBoxEGL.so" /var/lib/VBoxGuestAdditions/lib/libEGL.so.1256 260 # SELinux for the OpenGL libraries, so that gdm can load them during the 257 261 # acceleration support check. This prevents an "Oh no, something has gone … … 260 264 if command -v semanage > /dev/null; then 261 265 semanage fcontext -a -t lib_t "/var/lib/VBoxGuestAdditions/lib/libGL.so.1" 262 semanage fcontext -a -t lib_t "/var/lib/VBoxGuestAdditions/lib/libEGL.so.1"263 266 fi 264 267 chcon -h -t lib_t "/var/lib/VBoxGuestAdditions/lib/libGL.so.1" 265 chcon -h -t lib_t "/var/lib/VBoxGuestAdditions/lib/libEGL.so.1"266 268 fi 267 269 echo "/var/lib/VBoxGuestAdditions/lib" > /etc/ld.so.conf.d/00vboxvideo.conf
Note:
See TracChangeset
for help on using the changeset viewer.