Changeset 96399 in vbox for trunk/src/VBox/Installer/solaris
- Timestamp:
- Aug 22, 2022 2:47:39 PM (2 years ago)
- Location:
- trunk/src/VBox/Installer/solaris
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Installer/solaris/Makefile.kmk
r95622 r96399 647 647 648 648 # Files related to package creation. 649 $(SED) -e "s /@VBOX_PRODUCT@/$(VBOX_PRODUCT)/g" \650 -e "s /@VBOX_VENDOR@/$(VBOX_VENDOR)/g" \651 -e "s /@VBOX_VERSION_STRING@/$(VBOX_VERSION_STRING)/g" \652 -e "s /@VBOX_VERSION_REVSTAMP@/$(PKGINFO_REVSTAMP)/g" \653 -e "s /@UNAME_P@/$(PKGINFO_ARCH)/g" \654 -e "s /@VBOX_PSTAMP@/$(PKGINFO_PSTAMP)/g" \649 $(SED) -e "s+@VBOX_PRODUCT@+$(VBOX_PRODUCT)+g" \ 650 -e "s+@VBOX_VENDOR@+$(VBOX_VENDOR)+g" \ 651 -e "s+@VBOX_VERSION_STRING@+$(VBOX_VERSION_STRING)+g" \ 652 -e "s+@VBOX_VERSION_REVSTAMP@+$(PKGINFO_REVSTAMP)+g" \ 653 -e "s+@UNAME_P@+$(PKGINFO_ARCH)+g" \ 654 -e "s+@VBOX_PSTAMP@+$(PKGINFO_PSTAMP)+g" \ 655 655 --output $(VBOX_PATH_SI_SCRATCH_PKG)/vbox.pkginfo \ 656 656 $(VBOX_PATH_SOL_INST_SRC)/vbox.pkginfo 657 $(SED) -e "s /@VBOX_PRODUCT@/$(VBOX_PRODUCT)/g" \658 -e "s /@VBOX_VENDOR@/$(VBOX_VENDOR)/g" \659 -e "s /@VBOX_VERSION_STRING@/$(VBOX_VERSION_SMF_STYLE)/g" \660 -e "s /@VBOX_SVN_REV@/$(VBOX_SVN_REV)/g" \661 -e "s /@UNAME_P@/$(PKGINFO_ARCH)/g" \657 $(SED) -e "s+@VBOX_PRODUCT@+$(VBOX_PRODUCT)+g" \ 658 -e "s+@VBOX_VENDOR@+$(VBOX_VENDOR)+g" \ 659 -e "s+@VBOX_VERSION_STRING@+$(VBOX_VERSION_SMF_STYLE)+g" \ 660 -e "s+@VBOX_SVN_REV@+$(VBOX_SVN_REV)+g" \ 661 -e "s+@UNAME_P@+$(PKGINFO_ARCH)+g" \ 662 662 --output $(VBOX_PATH_SI_SCRATCH_PKG)/vbox-ips.mog \ 663 663 $(VBOX_PATH_SOL_INST_SRC)/vbox-ips.mog … … 695 695 $(QUIET)$(RM) -f -- $(VBOX_PATH_SI_SCRATCH)/ReadMe.txt "$@" 696 696 $(QUIET)$(SED) \ 697 -e "s /@VBOX_PRODUCT@/$(VBOX_PRODUCT)/g" \698 -e "s /@VBOX_VENDOR@/$(VBOX_VENDOR)/g" \699 -e "s /@VBOX_VERSION_STRING@/$(VBOX_VERSION_STRING)/g" \700 -e "s /@KBUILD_TARGET_ARCH@/$(KBUILD_TARGET_ARCH)/g" \701 -e "s /@VBOX_SVN_REV@/$(VBOX_SVN_REV)/g" \697 -e "s+@VBOX_PRODUCT@+$(VBOX_PRODUCT)+g" \ 698 -e "s+@VBOX_VENDOR@+$(VBOX_VENDOR)+g" \ 699 -e "s+@VBOX_VERSION_STRING@+$(VBOX_VERSION_STRING)+g" \ 700 -e "s+@KBUILD_TARGET_ARCH@+$(KBUILD_TARGET_ARCH)+g" \ 701 -e "s+@VBOX_SVN_REV@+$(VBOX_SVN_REV)+g" \ 702 702 --output $(VBOX_PATH_SI_SCRATCH)/ReadMe.txt \ 703 703 $(PATH_ROOT)/doc/ReadMe-Solaris.txt -
trunk/src/VBox/Installer/solaris/checkinstall.sh
r93115 r96399 34 34 } 35 35 36 checkdep_svr4()37 {38 if test -z "$1"; then39 errorprint "Missing argument to checkdep_svr4"40 return 141 fi42 $BIN_PKGINFO $BASEDIR_OPT "$1" >/dev/null 2>&143 if test "$?" -eq 0; then44 return 045 fi46 PKG_MISSING_SVR4="$PKG_MISSING_SVR4 $1"47 return 148 }49 50 36 checkdep_ips() 51 37 { … … 150 136 151 137 PKG_MISSING_IPS="" 152 PKG_MISSING_SVR4=""153 BIN_PKGINFO=/usr/bin/pkginfo154 138 BIN_PKG=/usr/bin/pkg 155 139 BIN_SVCS=/usr/bin/svcs … … 162 146 163 147 if test -x "$BIN_PKG"; then 164 checkdep_ips_either "runtime/python-26" "runtime/python-27" 165 checkdep_ips_either "system/library/iconv/utf-8" "system/library/iconv/iconv-core" 166 checkdep_ips_either "system/library/gcc/gcc-c++-runtime" "system/library/gcc-45-runtime" 167 checkdep_ips_either "system/library/gcc/gcc-c-runtime" "system/library/gcc-45-runtime" 148 checkdep_ips "system/library/iconv/iconv-core" 149 checkdep_ips "x11/library/libice" 150 checkdep_ips "x11/library/libsm" 151 checkdep_ips "x11/library/libx11" 152 checkdep_ips "x11/library/libxcb" 153 checkdep_ips "x11/library/libxext" 154 checkdep_ips "x11/library/libxfixes" 155 checkdep_ips "x11/library/libxkbcommon" 156 checkdep_ips "x11/library/libxrender" 157 checkdep_ips "x11/library/mesa" 158 checkdep_ips "x11/library/toolkit/libxt" 159 checkdep_ips "x11/library/xcb-util" 160 checkdep_ips_either "runtime/python-26" "runtime/python-27" "runtime/python-35" "runtime/python-36" "runtime/python-37" "runtime/python-38" "runtime/python-39" 161 checkdep_ips_either "system/library/gcc/gcc-c++-runtime" "system/library/gcc/gcc-c++-runtime-9" 162 checkdep_ips_either "system/library/gcc/gcc-c-runtime" "system/library/gcc/gcc-c-runtime-9" 168 163 else 169 PKG_MISSING_IPS="runtime/python-26 system/library/iconv/utf-8 system/library/gcc/gcc-c++-runtime system/library/gcc/gcc-c-runtime" 170 fi 171 if test -x "$BIN_PKGINFO"; then 172 checkdep_svr4 "SUNWPython" 173 checkdep_svr4 "SUNWPython-devel" 174 checkdep_svr4 "SUNWuiu8" 175 else 176 PKG_MISSING_SVR4="SUNWPython SUNWPython-devel SUNWuiu8" 177 fi 178 179 if test "x$PKG_MISSING_IPS" != "x" && test "x$PKG_MISSING_SVR4" != "x"; then 180 if test ! -x "$BIN_PKG" && test ! -x "$BIN_PKGINFO"; then 181 errorprint "Missing or non-executable binaries: pkg ($BIN_PKG) and pkginfo ($BIN_PKGINFO)." 164 PKG_MISSING_IPS="runtime/python-37 system/library/iconv/iconv-core system/library/gcc/gcc-c++-runtime-9 system/library/gcc/gcc-c-runtime-9" 165 fi 166 167 if test "x$PKG_MISSING_IPS" != "x"; then 168 if test ! -x "$BIN_PKG"; then 169 errorprint "Missing or non-executable binary: pkg ($BIN_PKG)." 182 170 errorprint "Cannot check for dependencies." 183 171 errorprint "" … … 185 173 exit 1 186 174 fi 187 errorprint "Missing packages: " 188 errorprint "IPS : $PKG_MISSING_IPS" 189 errorprint "SVr4: $PKG_MISSING_SVR4" 175 errorprint "Missing packages: $PKG_MISSING_IPS" 190 176 errorprint "" 191 errorprint "Please install either the IPS or SVr4packages before installing VirtualBox."177 errorprint "Please install these packages before installing VirtualBox." 192 178 exit 1 193 179 else
Note:
See TracChangeset
for help on using the changeset viewer.