Changeset 61918 in vbox for trunk/src/VBox/Installer/solaris
- Timestamp:
- Jun 28, 2016 3:12:23 PM (9 years ago)
- svn:sync-xref-src-repo-rev:
- 108356
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Installer/solaris/vboxconfig.sh
r61880 r61918 1182 1182 fi 1183 1183 fi 1184 1185 # remove the S10 legacy library links1186 for l in `find /opt/VirtualBox -name "lib*" -type l`; do rm $l; done1187 1184 } 1188 1185 … … 1193 1190 { 1194 1191 infoprint "Detected Solaris $HOST_OS_MAJORVERSION Version $HOST_OS_MINORVERSION" 1192 1193 # Install the S10 legacy library links. 1194 # We do this early so that when we invoke services or other VirtualBox processes, the dependent libraries are resolved. 1195 if test -d "/opt/VirtualBox/legacy/"; then 1196 if test "$HOST_OS_MAJORVERSION" -eq 10; then 1197 for lib in `ls -1 /opt/VirtualBox/legacy/`; do 1198 /usr/sbin/installf -c none $PKGINST /opt/VirtualBox/$lib=legacy/$lib s 1199 done 1200 for lib in `ls -1 /opt/VirtualBox/amd64/legacy/`; do 1201 /usr/sbin/installf -c none $PKGINST /opt/VirtualBox/amd64/$lib=legacy/$lib s 1202 done 1203 fi 1204 fi 1205 1195 1206 infoprint "Loading VirtualBox kernel modules..." 1196 1207 install_drivers … … 1250 1261 else 1251 1262 subprint "Skipped for targetted installs." 1252 fi1253 fi1254 1255 # Install the S10 legacy library links if necessary1256 if test -d /opt/VirtualBox/legacy/; then1257 if ldd /opt/VirtualBox/amd64/VBoxRT-x86.so | grep "not found" > /dev/null; then1258 for lib in `ls -1 /opt/VirtualBox/legacy/`; do1259 ln -sf legacy/$lib /opt/VirtualBox/$lib1260 done1261 fi1262 if ldd /opt/VirtualBox/amd64/VBoxRT.so | grep "not found" > /dev/null; then1263 for lib in `ls -1 /opt/VirtualBox/amd64/legacy/`; do1264 ln -sf legacy/$lib /opt/VirtualBox/amd64/$lib1265 done1266 1263 fi 1267 1264 fi
Note:
See TracChangeset
for help on using the changeset viewer.