VirtualBox

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


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

Installer/solaris: Check VBOX_WITH_FE_BALLOONCTRL before assuming VBoxBalloonCtrl is there. Fix for previous committ regarding VBoxBugReport. bugref:10030

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

Legend:

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

    r98676 r98677  
    122122        $(VBOX_PATH_SOL_INST_SRC)/VBox.sh \
    123123        $(VBOX_PATH_SOL_INST_SRC)/pkginstall.sh \
    124         $(VBOX_PATH_SOL_INST_SRC)/smf-vboxballoonctrl.sh \
     124        $(if $(VBOX_WITH_FE_BALLOONCTRL),$(VBOX_PATH_SOL_INST_SRC)/smf-vboxballoonctrl.sh) \
    125125        $(VBOX_PATH_SOL_INST_SRC)/smf-vboxautostart.sh \
    126126        $(if $(VBOX_WITH_WEBSERVICES),$(VBOX_PATH_SOL_INST_SRC)/smf-vboxwebsrv.sh,)
     
    179179SOLARIS_SMF_FILES = \
    180180        virtualbox-zoneaccess.xml \
    181         virtualbox-balloonctrl.xml \
     181        $(if-expr defined(VBOX_WITH_FE_BALLOONCTRL),mvirtualbox-balloonctrl.xml,) \
    182182        virtualbox-autostart.xml \
    183183        $(if-expr defined(VBOX_WITH_WEBSERVICES),virtualbox-webservice.xml,)
     
    433433        VBox.sh \
    434434        pkginstall.sh \
    435         smf-vboxballoonctrl.sh \
     435        $(if $(VBOX_WITH_FE_BALLOONCTRL),smf-vboxballoonctrl.sh) \
    436436        smf-vboxautostart.sh \
    437         $(if $(VBOX_WITH_WEBSERVICES),smf-vboxwebsrv.sh,)
     437        $(if $(VBOX_WITH_WEBSERVICES),smf-vboxwebsrv.sh)
    438438
    439439
     
    490490        $(if $(VBOX_WITH_HEADLESS),VBoxHeadless) \
    491491        $(if $(VBOX_WITH_FE_BUGREPORT),VBoxBugReport) \
    492         VBoxBalloonCtrl \
     492        $(if $(VBOX_WITH_FE_BALLOONCTRL),VBoxBalloonCtrl) \
    493493        VBoxAutostart \
    494494        $(if $(VBOX_WITH_WEBSERVICES),vboxwebsrv) \
     
    686686        $(VBOX_PATH_SI_SCRATCH_PKG)/makepackage.sh \
    687687                $(if-expr defined(VBOX_WITH_HARDENING),--hardened,) \
     688                $(if-expr !defined(VBOX_WITH_FE_BUGREPORT),--without-VBoxBugReport,) \
     689                $(if-expr !defined(VBOX_WITH_FE_BALLOONCTRL),--without-VBoxBalloonCtrl,) \
    688690                $(VBOX_PATH_SI_SCRATCH_PKG) \
    689691                $(PKG_FILENAME) \
     
    735737                $(if-expr defined(VBOX_WITH_HARDENING),--hardened,) \
    736738                $(if-expr !defined(VBOX_WITH_FE_BUGREPORT),--without-VBoxBugReport,) \
     739                $(if-expr !defined(VBOX_WITH_FE_BALLOONCTRL),--without-VBoxBalloonCtrl,) \
    737740                $(VBOX_PATH_SI_SCRATCH_PKG) \
    738741                $(PKG_FILENAME_SMF_STYLE) \
  • trunk/src/VBox/Installer/solaris/makepackage.sh

    r98676 r98677  
    3838PACKAGE_SPEC="prototype"
    3939OPT_WITHOUT_VBoxBugReport=""
     40OPT_WITHOUT_VBoxBalloonCtrl=""
    4041while [ $# -ge 1 ];
    4142do
     
    4849            PACKAGE_SPEC="virtualbox.p5m"
    4950            ;;
    50         --without-VBoxBugReport
     51        --without-VBoxBugReport)
    5152            OPT_WITHOUT_VBoxBugReport="yes"
     53            ;;
     54        --without-VBoxBalloonCtrl)
     55            OPT_WITHOUT_VBoxBalloonCtrl="yes"
    5256            ;;
    5357        *)
     
    246250    # Manifest class action scripts
    247251    package_spec_fixup_filelist '$3 == "/var/svc/manifest/application/virtualbox/virtualbox-webservice.xml"'    '$2 = "manifest";$6 = "sys"'
    248     package_spec_fixup_filelist '$3 == "/var/svc/manifest/application/virtualbox/virtualbox-balloonctrl.xml"'   '$2 = "manifest";$6 = "sys"'
     252    if [ -z "${OPT_WITHOUT_VBoxBalloonCtrl}" ]; then
     253        package_spec_fixup_filelist '$3 == "/var/svc/manifest/application/virtualbox/virtualbox-balloonctrl.xml"'   '$2 = "manifest";$6 = "sys"'
     254    fi
    249255    package_spec_fixup_filelist '$3 == "/var/svc/manifest/application/virtualbox/virtualbox-zoneaccess.xml"'    '$2 = "manifest";$6 = "sys"'
    250256
     
    300306
    301307# Add hardlinks for executables to launch the 32-bit or 64-bit executable
    302 for f in VBoxManage VBoxSDL VBoxAutostart vboxwebsrv VBoxZoneAccess VBoxSVC VBoxBalloonCtrl VBoxTestOGL VirtualBox VirtualBoxVM vbox-img VBoxHeadless; do
     308for f in VBoxManage VBoxSDL VBoxAutostart vboxwebsrv VBoxZoneAccess VBoxSVC VBoxTestOGL VirtualBox VirtualBoxVM vbox-img VBoxHeadless; do
    303309    package_spec_append_hardlink VBoxISAExec $f "$PKG_BASE_DIR" "$VBOX_INSTALLED_DIR"
    304310done
     
    306312    package_spec_append_hardlink VBoxISAExec VBoxBugReport "$PKG_BASE_DIR" "$VBOX_INSTALLED_DIR"
    307313fi
     314if [ -z "${OPT_WITHOUT_VBoxBalloonCtrl}" ]; then
     315    package_spec_append_hardlink VBoxISAExec VBoxBalloonCtrl "$PKG_BASE_DIR" "$VBOX_INSTALLED_DIR"
     316fi
    308317
    309318package_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