VirtualBox

Changeset 59005 in vbox


Ignore:
Timestamp:
Dec 5, 2015 9:51:38 AM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
104533
Message:

bugref:8153: vboxvideo: ABI issues / software rendering on Linux guests: second attempt at installing our 3D library at Additions start-time. I had assumed that vboxguest.sh was executed automatically. This seems not to be the case, so add a new system service to execute it with the start 3D option.

Location:
trunk/src/VBox/Additions/solaris
Files:
3 edited
1 copied

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/solaris/Installer/makepackage.sh

    r44528 r59005  
    117117filelist_fixup prototype '$3 == "var/svc/manifest/application/virtualbox/vboxservice.xml"'                   '$2 = "manifest";$6 = "sys"'
    118118filelist_fixup prototype '$3 == "var/svc/manifest/application/virtualbox/vboxmslnk.xml"'                     '$2 = "manifest";$6 = "sys"'
     119filelist_fixup prototype '$3 == "var/svc/manifest/application/virtualbox/vboxsetup3d.xml"'                   '$2 = "manifest";$6 = "sys"'
    119120
    120121# vboxguest
  • trunk/src/VBox/Additions/solaris/Installer/postinstall.sh

    r59001 r59005  
    345345    /usr/sbin/devfsadm -i vboxguest
    346346
    347     # Setup VBoxService and vboxmslnk and start the services automatically
     347    # Setup VBoxService, vboxmslnk and vboxsetup3d and start the services automatically
    348348    echo "Configuring services (this might take a while)..."
    349349    cmax=32
     
    356356    # 1 second intervals to see if our service has been successfully imported and timeout after 'cmax' seconds.
    357357    /usr/sbin/svcadm restart svc:system/manifest-import:default
    358     /usr/bin/svcs virtualbox/vboxservice virtualbox/vboxmslnk >/dev/null 2>&1
     358    /usr/bin/svcs virtualbox/vboxservice virtualbox/vboxmslnk virtualbox/vboxsetup3d >/dev/null 2>&1
    359359    while test "$?" -ne 0;
    360360    do
     
    365365            break
    366366        fi
    367         /usr/bin/svcs virtualbox/vboxservice virtualbox/vboxmslnk >/dev/null 2>&1
     367        /usr/bin/svcs virtualbox/vboxservice virtualbox/vboxmslnk virtualbox/vboxsetup3d >/dev/null 2>&1
    368368    done
    369369    if test "$success" -eq 0; then
     
    371371        /usr/sbin/svcadm enable -s virtualbox/vboxservice
    372372        /usr/sbin/svcadm enable -s virtualbox/vboxmslnk
     373        /usr/sbin/svcadm enable -s virtualbox/vboxsetup3d
    373374    else
    374375        echo "## Service import failed."
  • trunk/src/VBox/Additions/solaris/Installer/vboxsetup3d.xml

    r58880 r59005  
    22<!--
    33#
    4 # Solaris SMF service manifest for VBoxService (timesync).
     4# Solaris SMF service manifest for setting up 3D pass-through.
    55#
    6     Copyright (C) 2008-2012 Oracle Corporation
     6    Copyright (C) 2008-2015 Oracle Corporation
    77
    88    This file is part of VirtualBox Open Source Edition (OSE), as
     
    2525<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
    2626
    27 <service_bundle type='manifest' name='SUNWvboxguest:vboxservice'>
     27<service_bundle type='manifest' name='SUNWvboxguest:vboxsetup3d'>
    2828
    2929<service
    30     name='application/virtualbox/vboxservice'
     30    name='application/virtualbox/vboxsetup3d'
    3131    type='service'
    3232    version='1'>
     
    5757        type='method'
    5858        name='start'
    59         exec='/usr/bin/VBoxService'
     59        exec='/usr/sbin/vboxguest.sh 3dstart'
    6060        timeout_seconds='30' />
    6161
     
    6363        type='method'
    6464        name='stop'
    65         exec=':kill'
     65        exec='/usr/sbin/vboxguest.sh 3dstop'
    6666        timeout_seconds='60' />
     67
     68    <property_group name='startd' type='framework'>
     69        <propval name='duration' type='astring' value='transient' />
     70    </property_group>
    6771
    6872    <template>
    6973        <common_name>
    70             <loctext xml:lang='C'>VirtualBox Service.</loctext>
     74            <loctext xml:lang='C'>VirtualBox 3D pass-through set-up.</loctext>
    7175        </common_name>
    7276    </template>
  • trunk/src/VBox/Additions/solaris/Makefile.kmk

    r56938 r59005  
    131131        $(VBOX_PATH_SOLARIS_ADDITION_INSTALLER)/vboxservice.xml \
    132132        $(PATH_ROOT)/src/VBox/Additions/solaris/Mouse/vboxmslnk.xml \
     133        $(VBOX_PATH_SOLARIS_ADDITION_INSTALLER)/vboxsetup3d.xml \
    133134        $(VBOX_BRAND_LICENSE_TXT)=>LICENSE
    134135
     
    216217
    217218SOLARIS_ADD_USRSBIN_LINKS = \
    218         vboxmslnk
     219        vboxmslnk \
     220        vboxguest.sh
    219221
    220222SOLARIS_ADD_COMMON = \
     
    226228SOLARIS_ADD_SERVICES = \
    227229        vboxservice.xml \
    228         vboxmslnk.xml
     230        vboxmslnk.xml \
     231        vboxsetup3d.xml
    229232
    230233ifdef VBOX_COMPRESS
     
    281284                $(VBOX_PATH_SOLARIS_ADDITION_INSTALLER)/vboxservice.xml \
    282285                $(PATH_ROOT)/src/VBox/Additions/solaris/Mouse/vboxmslnk.xml \
     286                $(VBOX_PATH_SOLARIS_ADDITION_INSTALLER)/vboxsetup3d.xml \
    283287                $(VBOX_PATH_SOLARIS_ADDITION_INSTALLER)/VBox.sh \
    284288                $(VBOX_PATH_X11_ADDITION_INSTALLER)/98vboxadd-xclient \
     
    326330        $(QUIET)$(INSTALL) -m 0644 $(VBOX_PATH_SOLARIS_ADDITION_INSTALLER)/vboxservice.xml                    $(SOLARIS_ADD_SERVICESINST_DIR)/vboxservice.xml
    327331        $(QUIET)$(INSTALL) -m 0644      $(PATH_ROOT)/src/VBox/Additions/solaris/Mouse/vboxmslnk.xml                      $(SOLARIS_ADD_SERVICESINST_DIR)/vboxmslnk.xml
     332        $(QUIET)$(INSTALL) -m 0644 $(VBOX_PATH_SOLARIS_ADDITION_INSTALLER)/vboxsetup3d.xml                    $(SOLARIS_ADD_SERVICESINST_DIR)/vboxsetup3d.xml
    328333        $(QUIET)$(SOLARIS_ADDINST_OUT_DIR)/makepackage.sh $(SOLARIS_ADDINST_OUT_DIR) $(PKGFILENAME) $(VBOX_SVN_REV) $(VBOX_SOL_PKG_DEV)
    329334        $(QUIET)$(INSTALL) -m 0644 $(SOLARIS_ADDINST_OUT_DIR)/$(PKGFILENAME) $(PATH_STAGE_BIN)/additions/$(PKGFILENAME)
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette