VirtualBox

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


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

Installer/*: Check VBOX_WITH_FE_BUGREPORT before assuming VBoxBugReport is there. bugref:10030

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

Legend:

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

    r98429 r98676  
    489489SOLARIS_STRIP_EXES += \
    490490        $(if $(VBOX_WITH_HEADLESS),VBoxHeadless) \
    491         VBoxBugReport \
     491        $(if $(VBOX_WITH_FE_BUGREPORT),VBoxBugReport) \
    492492        VBoxBalloonCtrl \
    493493        VBoxAutostart \
     
    734734                --ips \
    735735                $(if-expr defined(VBOX_WITH_HARDENING),--hardened,) \
     736                $(if-expr !defined(VBOX_WITH_FE_BUGREPORT),--without-VBoxBugReport,) \
    736737                $(VBOX_PATH_SI_SCRATCH_PKG) \
    737738                $(PKG_FILENAME_SMF_STYLE) \
  • trunk/src/VBox/Installer/solaris/makepackage.sh

    r98103 r98676  
    2929#
    3030# Usage:
    31 #       makepackage.sh [--hardened] [--ips] $(PATH_TARGET)/install packagename {$(KBUILD_TARGET_ARCH)|neutral} $(VBOX_SVN_REV)
     31#       makepackage.sh [--hardened] [--ips] [--without-VBoxBugReport] \
     32#           $(PATH_TARGET)/install packagename {$(KBUILD_TARGET_ARCH)|neutral} $(VBOX_SVN_REV)
    3233
    3334
     
    3637IPS_PACKAGE=""
    3738PACKAGE_SPEC="prototype"
     39OPT_WITHOUT_VBoxBugReport=""
    3840while [ $# -ge 1 ];
    3941do
     
    4648            PACKAGE_SPEC="virtualbox.p5m"
    4749            ;;
    48     *)
    49         break
    50         ;;
     50        --without-VBoxBugReport
     51            OPT_WITHOUT_VBoxBugReport="yes"
     52            ;;
     53        *)
     54            break
     55            ;;
    5156    esac
    5257    shift
     
    295300
    296301# Add hardlinks for executables to launch the 32-bit or 64-bit executable
    297 for f in VBoxManage VBoxSDL VBoxAutostart vboxwebsrv VBoxZoneAccess VBoxSVC VBoxBugReport VBoxBalloonCtrl VBoxTestOGL VirtualBox VirtualBoxVM vbox-img VBoxHeadless; do
    298     package_spec_append_hardlink VBoxISAExec    $f "$PKG_BASE_DIR" "$VBOX_INSTALLED_DIR"
     302for f in VBoxManage VBoxSDL VBoxAutostart vboxwebsrv VBoxZoneAccess VBoxSVC VBoxBalloonCtrl VBoxTestOGL VirtualBox VirtualBoxVM vbox-img VBoxHeadless; do
     303    package_spec_append_hardlink VBoxISAExec $f "$PKG_BASE_DIR" "$VBOX_INSTALLED_DIR"
    299304done
     305if [ -z "${OPT_WITHOUT_VBoxBugReport}" ]; then
     306    package_spec_append_hardlink VBoxISAExec VBoxBugReport "$PKG_BASE_DIR" "$VBOX_INSTALLED_DIR"
     307fi
    300308
    301309package_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