VirtualBox

Changeset 8867 in vbox for trunk/src/VBox/Installer


Ignore:
Timestamp:
May 16, 2008 4:50:01 AM (17 years ago)
Author:
vboxsync
Message:

Solaris installer: Added desktop entry for launching VirtualBox.

Location:
trunk/src/VBox/Installer/solaris
Files:
1 added
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Installer/solaris/Makefile.kmk

    r8760 r8867  
    4949solaris-doc_MODE = a+r,u+w
    5050solaris-doc_SOURCES = \
    51         $(if $(VBOX_OSE),,$(PATH_ROOT)/doc/License.txt=>LICENSE)
     51        $(if $(VBOX_OSE),,$(PATH_ROOT)/doc/License.txt=>LICENSE) \
     52        $(PATH_ROOT)/src/VBox/Frontends/VirtualBox/images/$(if $(VBOX_OSE),OSE,NonOSE)/VirtualBox_64px.png=>VBox.png
    5253
    5354#
     
    107108        $(if $(VBOX_WITH_QTGUI),qtgcc/lib/libqt-mt.so.3,) \
    108109        $(if $(VBOX_WITH_QTGUI),qtgcc/bin/qtconfig,) \
     110        $(if $(VBOX_WITH_QTGUI),virtualbox.desktop,) \
     111        VBox.png \
    109112        autoresponse \
    110113        vboxdrv.conf \
     
    181184                vboxdevlink.sed \
    182185                VBox.sh \
     186                virtualbox.desktop \
    183187                sdkfiles \
    184188                $(PATH_ROOT)/doc/ReadMe-Solaris.txt \
     
    280284        $(QUIET)$(INSTALL) -m 0755 $(PATH_CURRENT)/vboxdrv.sh                                                   $(SOLARIS_INST_DIR)/vboxdrv.sh
    281285        $(QUIET)$(INSTALL) -m 0755 $(PATH_CURRENT)/VBox.sh                                                      $(SOLARIS_INST_DIR)/VBox.sh
     286        $(QUIET)$(if $(VBOX_WITH_QTGUI),$(INSTALL) -m 0644 $(PATH_CURRENT)/virtualbox.desktop                   $(SOLARIS_INST_DIR)/virtualbox.desktop,)
     287        $(QUIET)$(INSTALL) -m 0644 $(PATH_BIN)/VBox.png                                                         $(SOLARIS_INST_DIR)/VBox.png
    282288        $(QUIET)$(INSTALL) -m 0755 $(PATH_CURRENT)/postinstall.sh                                               $(SOLARIS_INST_DIR)/postinstall.sh
    283289        $(QUIET)$(INSTALL) -m 0755 $(PATH_CURRENT)/preremove.sh                                                 $(SOLARIS_INST_DIR)/preremove.sh
  • trunk/src/VBox/Installer/solaris/makepackage.sh

    r8320 r8867  
    7373$VBOX_AWK 'NF == 6 && $3 == "opt/VirtualBox/vboxdrv.conf=vboxdrv.conf" { $3 = "platform/i86pc/kernel/drv/vboxdrv.conf=vboxdrv.conf" } { print }' prototype2 > prototype
    7474
     75# desktop links and icons
     76$VBOX_AWK 'NF == 6 && $3 == "opt/VirtualBox/virtualbox.desktop=virtualbox.desktop" { $3 = "usr/share/applications/virtualbox.desktop=virtualbox.desktop" } { print }' prototype > prototype2
     77$VBOX_AWK 'NF == 6 && $3 == "opt/VirtualBox/VBox.png=VBox.png" { $3 = "usr/share/pixmaps/VBox.png=VBox.png" } { print }' prototype2 > prototype
     78
     79
    7580rm prototype2
    7681
  • trunk/src/VBox/Installer/solaris/postinstall.sh

    r8526 r8867  
    4949/usr/sbin/installf -f $PKGINST
    5050
     51# We need to touch the desktop link inorder to add it to the menu right away
     52if test -f /usr/share/applications/virtualbox.desktop; then
     53    touch /usr/share/applications/virtualbox.desktop
     54fi
     55
     56# create /dev link for vboxdrv (only possible from global zone)
    5157if test "$currentzone" = "global"; then
    5258    /usr/sbin/devfsadm -i vboxdrv
  • trunk/src/VBox/Installer/solaris/vboxdrv.sh

    r8526 r8867  
    7676            abort "## Failed to load VirtualBox kernel module."
    7777        elif test -c "/devices/pseudo/$MODNAME@0:$MODNAME"; then
    78             info "VirtualBox kernel module successfully loaded."
     78            info "VirtualBox kernel module loaded."
    7979        else
    8080            abort "Aborting due to attach failure."
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