VirtualBox

Changeset 42468 in vbox


Ignore:
Timestamp:
Jul 31, 2012 6:53:42 AM (12 years ago)
Author:
vboxsync
Message:

Additions/solaris/installer and vboxms: add SMF service description for running vboxmslnk automatically.

Location:
trunk/src/VBox/Additions/solaris
Files:
1 added
2 edited

Legend:

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

    r41698 r42468  
    8484ln -f ./VBoxISAExec $VBOX_INSTALLED_DIR/VBoxClient
    8585ln -f ./VBoxISAExec $VBOX_INSTALLED_DIR/VBoxControl
     86ln -f ./VBoxISAExec $VBOX_INSTALLED_DIR/vboxmslnk
    8687
    8788# prepare file list
     
    115116# Manifest class action scripts
    116117filelist_fixup prototype '$3 == "var/svc/manifest/application/virtualbox/vboxservice.xml"'                   '$2 = "manifest";$6 = "sys"'
     118filelist_fixup prototype '$3 == "var/svc/manifest/application/virtualbox/vboxmslnk.xml"'                     '$2 = "manifest";$6 = "sys"'
    117119
    118120# vboxguest
    119121filelist_fixup prototype '$3 == "usr/kernel/drv/vboxguest"'                                                  '$6="sys"'
    120122filelist_fixup prototype '$3 == "usr/kernel/drv/amd64/vboxguest"'                                            '$6="sys"'
     123
     124# vboxms
     125filelist_fixup prototype '$3 == "usr/kernel/drv/vboxms"'                                                     '$6="sys"'
     126filelist_fixup prototype '$3 == "usr/kernel/drv/amd64/vboxms"'                                               '$6="sys"'
    121127
    122128# Use 'root' as group so as to match attributes with the previous installation and prevent a conflict. Otherwise pkgadd bails out thinking
  • trunk/src/VBox/Additions/solaris/Makefile.kmk

    r42425 r42468  
    6969
    7070SOLARIS_ADD_USRBIN_DIR                  := $(SOLARIS_ADDINST_OUT_DIR)/usr/bin
     71SOLARIS_ADD_USRSBIN_DIR                 := $(SOLARIS_ADDINST_OUT_DIR)/usr/sbin
    7172SOLARIS_ADD_ETCFS_DIR                   := $(SOLARIS_ADDINST_OUT_DIR)/etc/fs/vboxfs
    7273SOLARIS_ADD_SERVICESINST_DIR            := $(SOLARIS_ADDINST_OUT_DIR)/var/svc/manifest/application/virtualbox
     
    129130        $(VBOX_PATH_X11_ADDITION_INSTALLER)/vboxclient.desktop \
    130131        $(VBOX_PATH_SOLARIS_ADDITION_INSTALLER)/vboxservice.xml \
     132        $(PATH_ROOT)/src/VBox/Additions/solaris/Mouse/vboxmslnk.xml \
    131133        $(VBOX_BRAND_LICENSE_TXT)=>LICENSE
    132134
     
    143145        usr \
    144146        usr/bin \
     147        usr/sbin \
    145148        usr/lib \
    146149        usr/lib/amd64 \
     
    221224        VBoxControl
    222225
     226SOLARIS_ADD_USRSBIN_LINKS = \
     227        vboxmslnk
     228
    223229SOLARIS_ADD_COMMON = \
    224230        vboxclient.desktop \
     
    228234
    229235SOLARIS_ADD_SERVICES = \
    230         vboxservice.xml
     236        vboxservice.xml \
     237        vboxmslnk.xml
    231238
    232239ifdef VBOX_COMPRESS
     
    262269        $(addprefix $(SOLARIS_VBOXADDINST_DIR)/,$(SOLARIS_ADD_COMMON)) \
    263270        $(addprefix $(SOLARIS_ADD_SERVICESINST_DIR)/,$(SOLARIS_ADD_SERVICES)) \
    264         $(addprefix $(SOLARIS_ADD_USRBIN_DIR)/,$(SOLARIS_ADD_USRBIN_LINKS))
     271        $(addprefix $(SOLARIS_ADD_USRBIN_DIR)/,$(SOLARIS_ADD_USRBIN_LINKS)) \
     272        $(addprefix $(SOLARIS_ADD_USRSBIN_DIR)/,$(SOLARIS_ADD_USRSBIN_LINKS))
    265273
    266274
     
    281289                $(VBOX_PATH_SOLARIS_ADDITION_INSTALLER)/vboxguest.sh \
    282290                $(VBOX_PATH_SOLARIS_ADDITION_INSTALLER)/vboxservice.xml \
     291                $(PATH_ROOT)/src/VBox/Additions/solaris/Mouse/vboxmslnk.xml \
    283292                $(VBOX_PATH_SOLARIS_ADDITION_INSTALLER)/VBox.sh \
    284293                $(VBOX_PATH_X11_ADDITION_INSTALLER)/98vboxadd-xclient \
     
    325334endif
    326335        $(QUIET)$(INSTALL) -m 0644 $(VBOX_PATH_SOLARIS_ADDITION_INSTALLER)/vboxservice.xml                    $(SOLARIS_ADD_SERVICESINST_DIR)/vboxservice.xml
     336        $(QUIET)$(INSTALL) -m 0644      $(PATH_ROOT)/src/VBox/Additions/solaris/Mouse/vboxmslnk.xml                      $(SOLARIS_ADD_SERVICESINST_DIR)/vboxmslnk.xml
    327337        $(QUIET)$(SOLARIS_ADDINST_OUT_DIR)/makepackage.sh $(SOLARIS_ADDINST_OUT_DIR) $(PKGFILENAME) $(VBOX_SVN_REV) $(VBOX_SOL_PKG_DEV)
    328338        $(QUIET)$(INSTALL) -m 0644 $(SOLARIS_ADDINST_OUT_DIR)/$(PKGFILENAME) $(PATH_STAGE_BIN)/additions/$(PKGFILENAME)
     
    410420        $(LN_SYMLINK) -f ../..$(SOLARIS_VBOXADDINST_SUBDIR)/$< $@
    411421
     422#
     423# Symlinks from /usr/sbin/ to /opt/VirtualBoxAdditions
     424#
     425$(addprefix $(SOLARIS_ADD_USRSBIN_DIR)/,$(SOLARIS_ADD_USRSBIN_LINKS)): \
     426                $(SOLARIS_ADD_USRSBIN_DIR)/% : % | $$(dir $$@)
     427        $(LN_SYMLINK) -f ../..$(SOLARIS_VBOXADDINST_SUBDIR)/$< $@
Note: See TracChangeset for help on using the changeset viewer.

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