VirtualBox

Changeset 98680 in vbox for trunk/src/VBox/Installer/solaris


Ignore:
Timestamp:
Feb 21, 2023 3:51:34 PM (22 months ago)
Author:
vboxsync
Message:

Installer/*: Check VBOX_WITH_FE_AUTOSTART before assuming VBoxAutostart and service files are there. bugref:10030

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

Legend:

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

    r98677 r98680  
    123123        $(VBOX_PATH_SOL_INST_SRC)/pkginstall.sh \
    124124        $(if $(VBOX_WITH_FE_BALLOONCTRL),$(VBOX_PATH_SOL_INST_SRC)/smf-vboxballoonctrl.sh) \
    125         $(VBOX_PATH_SOL_INST_SRC)/smf-vboxautostart.sh \
     125        $(if $(VBOX_WITH_FE_AUTOSTART),$(VBOX_PATH_SOL_INST_SRC)/smf-vboxautostart.sh) \
    126126        $(if $(VBOX_WITH_WEBSERVICES),$(VBOX_PATH_SOL_INST_SRC)/smf-vboxwebsrv.sh,)
    127127
     
    180180        virtualbox-zoneaccess.xml \
    181181        $(if-expr defined(VBOX_WITH_FE_BALLOONCTRL),mvirtualbox-balloonctrl.xml,) \
    182         virtualbox-autostart.xml \
     182        $(if-expr defined(VBOX_WITH_FE_AUTOSTART),virtualbox-autostart.xml,) \
    183183        $(if-expr defined(VBOX_WITH_WEBSERVICES),virtualbox-webservice.xml,)
    184184
     
    434434        pkginstall.sh \
    435435        $(if $(VBOX_WITH_FE_BALLOONCTRL),smf-vboxballoonctrl.sh) \
    436         smf-vboxautostart.sh \
     436        $(if $(VBOX_WITH_FE_AUTOSTART),smf-vboxautostart.sh) \
    437437        $(if $(VBOX_WITH_WEBSERVICES),smf-vboxwebsrv.sh)
    438438
     
    491491        $(if $(VBOX_WITH_FE_BUGREPORT),VBoxBugReport) \
    492492        $(if $(VBOX_WITH_FE_BALLOONCTRL),VBoxBalloonCtrl) \
    493         VBoxAutostart \
     493        $(if $(VBOX_WITH_FE_AUTOSTART),VBoxAutostart) \
    494494        $(if $(VBOX_WITH_WEBSERVICES),vboxwebsrv) \
    495495        $(if $(VBOX_WITH_VBOX_IMG)$(VBOX_WITH_TESTCASES),vbox-img)
     
    688688                $(if-expr !defined(VBOX_WITH_FE_BUGREPORT),--without-VBoxBugReport,) \
    689689                $(if-expr !defined(VBOX_WITH_FE_BALLOONCTRL),--without-VBoxBalloonCtrl,) \
     690                $(if-expr !defined(VBOX_WITH_FE_AUTOSTART),--without-VBoxAutostart,) \
    690691                $(VBOX_PATH_SI_SCRATCH_PKG) \
    691692                $(PKG_FILENAME) \
     
    738739                $(if-expr !defined(VBOX_WITH_FE_BUGREPORT),--without-VBoxBugReport,) \
    739740                $(if-expr !defined(VBOX_WITH_FE_BALLOONCTRL),--without-VBoxBalloonCtrl,) \
     741                $(if-expr !defined(VBOX_WITH_FE_AUTOSTART),--without-VBoxAutostart,) \
    740742                $(VBOX_PATH_SI_SCRATCH_PKG) \
    741743                $(PKG_FILENAME_SMF_STYLE) \
  • trunk/src/VBox/Installer/solaris/makepackage.sh

    r98677 r98680  
    3939OPT_WITHOUT_VBoxBugReport=""
    4040OPT_WITHOUT_VBoxBalloonCtrl=""
     41OPT_WITHOUT_VBoxAutostart=""
    4142while [ $# -ge 1 ];
    4243do
     
    5455        --without-VBoxBalloonCtrl)
    5556            OPT_WITHOUT_VBoxBalloonCtrl="yes"
     57            ;;
     58        --without-VBoxAutostart)
     59            OPT_WITHOUT_VBoxAutostart="yes"
    5660            ;;
    5761        *)
     
    315319    package_spec_append_hardlink VBoxISAExec VBoxBalloonCtrl "$PKG_BASE_DIR" "$VBOX_INSTALLED_DIR"
    316320fi
     321if [ -z "${OPT_WITHOUT_VBoxAutostart}" ]; then
     322    package_spec_append_hardlink VBoxISAExec VBoxAutostart "$PKG_BASE_DIR" "$VBOX_INSTALLED_DIR"
     323fi
    317324
    318325package_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