VirtualBox

Changeset 98681 in vbox


Ignore:
Timestamp:
Feb 21, 2023 4:01:22 PM (2 years ago)
Author:
vboxsync
Message:

Installer/*: Similar adjustments for VBOX_WITH_WEBSERVICES. Fix for solaris typo two commits back. bugref:10030

Location:
trunk/src/VBox/Installer
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Installer/linux/install.sh

    r98679 r98681  
    340340    fi
    341341    ln -sf $INSTALLATION_DIR/VBox.sh /usr/bin/VBoxAutostart
    342     ln -sf $INSTALLATION_DIR/VBox.sh /usr/bin/vboxwebsrv
     342    if [ -f $INSTALLATION_DIR/vboxwebsrv ]; then
     343        ln -sf $INSTALLATION_DIR/VBox.sh /usr/bin/vboxwebsrv
     344    fi
    343345    ln -sf $INSTALLATION_DIR/vbox-img /usr/bin/vbox-img
    344346    ln -sf $INSTALLATION_DIR/vboximg-mount /usr/bin/vboximg-mount
  • trunk/src/VBox/Installer/linux/postinst-common.sh

    r98680 r98681  
    7070    install_init_script "${MY_PATH}/vboxautostart-service.sh" vboxautostart-service
    7171fi
    72 install_init_script "${MY_PATH}/vboxweb-service.sh" vboxweb-service
     72if [ -f ${MY_PATH}/vboxweb-service.sh ]; then
     73    install_init_script "${MY_PATH}/vboxweb-service.sh" vboxweb-service
     74fi
    7375finish_init_script_install
    7476
     
    8486fi
    8587delrunlevel vboxweb-service
    86 addrunlevel vboxweb-service
     88if [ -f ${MY_PATH}/vboxweb-service.sh ]; then
     89    addrunlevel vboxweb-service
     90fi
    8791
    8892ln -sf "${MY_PATH}/postinst-common.sh" /sbin/vboxconfig
  • trunk/src/VBox/Installer/solaris/Makefile.kmk

    r98680 r98681  
    179179SOLARIS_SMF_FILES = \
    180180        virtualbox-zoneaccess.xml \
    181         $(if-expr defined(VBOX_WITH_FE_BALLOONCTRL),mvirtualbox-balloonctrl.xml,) \
     181        $(if-expr defined(VBOX_WITH_FE_BALLOONCTRL),virtualbox-balloonctrl.xml,) \
    182182        $(if-expr defined(VBOX_WITH_FE_AUTOSTART),virtualbox-autostart.xml,) \
    183183        $(if-expr defined(VBOX_WITH_WEBSERVICES),virtualbox-webservice.xml,)
     
    689689                $(if-expr !defined(VBOX_WITH_FE_BALLOONCTRL),--without-VBoxBalloonCtrl,) \
    690690                $(if-expr !defined(VBOX_WITH_FE_AUTOSTART),--without-VBoxAutostart,) \
     691                $(if-expr !defined(VBOX_WITH_WEBSERVICES),--without-vboxwebsrv,) \
    691692                $(VBOX_PATH_SI_SCRATCH_PKG) \
    692693                $(PKG_FILENAME) \
     
    740741                $(if-expr !defined(VBOX_WITH_FE_BALLOONCTRL),--without-VBoxBalloonCtrl,) \
    741742                $(if-expr !defined(VBOX_WITH_FE_AUTOSTART),--without-VBoxAutostart,) \
     743                $(if-expr !defined(VBOX_WITH_WEBSERVICES),--without-vboxwebsrv,) \
    742744                $(VBOX_PATH_SI_SCRATCH_PKG) \
    743745                $(PKG_FILENAME_SMF_STYLE) \
  • trunk/src/VBox/Installer/solaris/makepackage.sh

    r98680 r98681  
    2929#
    3030# Usage:
    31 #       makepackage.sh [--hardened] [--ips] [--without-VBoxBugReport] \
     31#       makepackage.sh [--hardened] [--ips] [--without-VBoxBugReport] [--without-VBoxBalloonCtrl] \
     32#           [--without-VBoxAutostart] [--without-vboxwebsrv] \
    3233#           $(PATH_TARGET)/install packagename {$(KBUILD_TARGET_ARCH)|neutral} $(VBOX_SVN_REV)
    3334
     
    4041OPT_WITHOUT_VBoxBalloonCtrl=""
    4142OPT_WITHOUT_VBoxAutostart=""
     43OPT_WITHOUT_vboxwebsrv=""
    4244while [ $# -ge 1 ];
    4345do
     
    5860        --without-VBoxAutostart)
    5961            OPT_WITHOUT_VBoxAutostart="yes"
     62            ;;
     63        --without-vboxwebsrv)
     64            OPT_WITHOUT_vboxwebsrv="yes"
    6065            ;;
    6166        *)
     
    310315
    311316# Add hardlinks for executables to launch the 32-bit or 64-bit executable
    312 for f in VBoxManage VBoxSDL VBoxAutostart vboxwebsrv VBoxZoneAccess VBoxSVC VBoxTestOGL VirtualBox VirtualBoxVM vbox-img VBoxHeadless; do
     317for f in VBoxManage VBoxSDL VBoxAutostart VBoxZoneAccess VBoxSVC VBoxTestOGL VirtualBox VirtualBoxVM vbox-img VBoxHeadless; do
    313318    package_spec_append_hardlink VBoxISAExec $f "$PKG_BASE_DIR" "$VBOX_INSTALLED_DIR"
    314319done
     
    322327    package_spec_append_hardlink VBoxISAExec VBoxAutostart "$PKG_BASE_DIR" "$VBOX_INSTALLED_DIR"
    323328fi
     329if [ -z "${OPT_WITHOUT_vboxwebsrv}" ]; then
     330    package_spec_append_hardlink VBoxISAExec vboxwebsrv "$PKG_BASE_DIR" "$VBOX_INSTALLED_DIR"
     331fi
    324332
    325333package_spec_fixup_content
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