VirtualBox

Changeset 51302 in vbox for trunk


Ignore:
Timestamp:
May 20, 2014 7:39:48 AM (11 years ago)
Author:
vboxsync
Message:

Solaris/Installer: Add vbox-img and some minor cleanup.

Location:
trunk/src/VBox/Installer/solaris
Files:
3 edited

Legend:

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

    r48282 r51302  
    411411        VBoxAutostart \
    412412        $(if $(VBOX_WITH_WEBSERVICES),vboxwebsrv) \
    413         $(if $(VBOX_WITH_WEBSERVICES),webtest)
     413        $(if $(VBOX_WITH_WEBSERVICES),webtest) \
     414        $(if $(VBOX_WITH_VBOX_IMG)$(VBOX_WITH_TESTCASES),vbox-img)
    414415
    415416# Guest Additions
  • trunk/src/VBox/Installer/solaris/VBox.sh

    r44580 r51302  
    4747        exec "$INSTALL_DIR/VBoxQtconfig" "$@"
    4848        ;;
     49    vbox-img)
     50        exec "$INSTALL_DIR/vbox-img" "$0"
     51        ;;
    4952    *)
    5053        echo "Unknown application - $APP"
     
    5356esac
    5457exit 0
     58
  • trunk/src/VBox/Installer/solaris/makepackage.sh

    r47894 r51302  
    9797}
    9898
     99create_hardlink()
     100{
     101    if test -f "$VBOX_INSTALLED_DIR/amd64/$1" || test -f "$VBOX_INSTALLED_DIR/i386/$1"; then
     102        ln -f ./VBoxISAExec "$VBOX_INSTALLED_DIR/$1"
     103    fi
     104}
    99105
    100106# Prepare file list
     
    109115fi
    110116
    111 # Create relative hardlinks
     117# Create relative hardlinks for executables to either the 32-bit or 64-bit subfolders
    112118cd "$VBOX_INSTALLED_DIR"
    113 ln -f ./VBoxISAExec $VBOX_INSTALLED_DIR/VBoxManage
    114 ln -f ./VBoxISAExec $VBOX_INSTALLED_DIR/VBoxSDL
    115 ln -f ./VBoxISAExec $VBOX_INSTALLED_DIR/VBoxBalloonCtrl
    116 ln -f ./VBoxISAExec $VBOX_INSTALLED_DIR/VBoxAutostart
    117 ln -f ./VBoxISAExec $VBOX_INSTALLED_DIR/vboxwebsrv
    118 ln -f ./VBoxISAExec $VBOX_INSTALLED_DIR/webtest
    119 ln -f ./VBoxISAExec $VBOX_INSTALLED_DIR/VBoxZoneAccess
    120 ln -f ./VBoxISAExec $VBOX_INSTALLED_DIR/VBoxSVC
    121 if test -f $VBOX_INSTALLED_DIR/amd64/VBoxTestOGL || test -f $VBOX_INSTALLED_DIR/i386/VBoxTestOGL; then
    122     ln -f ./VBoxISAExec $VBOX_INSTALLED_DIR/VBoxTestOGL
    123 fi
    124 
    125 if test -f $VBOX_INSTALLED_DIR/amd64/VirtualBox || test -f $VBOX_INSTALLED_DIR/i386/VirtualBox; then
    126     ln -f ./VBoxISAExec $VBOX_INSTALLED_DIR/VirtualBox
    127 fi
    128 if test -f $VBOX_INSTALLED_DIR/amd64/VBoxHeadless || test -f $VBOX_INSTALLED_DIR/i386/VBoxHeadless; then
    129     ln -f ./VBoxISAExec $VBOX_INSTALLED_DIR/VBoxHeadless
    130     ln -fs ./VBoxHeadless $VBOX_INSTALLED_DIR/VBoxVRDP
    131 fi
     119create_hardlink VBoxManage
     120create_hardlink VBoxSDL
     121create_hardlink VBoxAutostart
     122create_hardlink vboxwebsrv
     123create_hardlink webtest
     124create_hardlink VBoxZoneAccess
     125create_hardlink VBoxSVC
     126create_hardlink VBoxBalloonCtrl
     127create_hardlink VBoxTestOGL
     128create_hardlink VirtualBox
     129create_hardlink vbox-img
     130create_hardlink VBoxHeadless
    132131
    133132# Exclude directories to not cause install-time conflicts with existing system directories
     
    184183dirlist_fixup prototype  '$3 == "var/svc/manifest/application/virtualbox"'                              '$6 = "root"'
    185184
    186 # hardening requires some executables to be marked setuid.
     185# Hardening requires some executables to be marked setuid.
    187186if test -n "$HARDENED"; then
    188187    $VBOX_AWK 'NF == 6 \
     
    233232pkgtrans -s -o /var/spool/pkg "`pwd`/$VBOX_PKGFILE" "$VBOX_PKGNAME"
    234233
    235 # $5 if exist would contain the path to the VBI package to include in the .tar.gz
     234# $5 if exists would contain the path to the VBI package to include in the .tar.gz
    236235#if [ -f LICENSE ]; then
    237236#    VBOX_LICENSEFILE=LICENSE
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