Changeset 20264 in vbox for trunk/src/VBox/Installer
- Timestamp:
- Jun 4, 2009 10:54:04 AM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 48133
- Location:
- trunk/src/VBox/Installer/solaris
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Installer/solaris/Makefile.kmk
r19599 r20264 119 119 platform/i86pc/kernel/drv/amd64 \ 120 120 ,$(SOLARIS_BASEINST_DIR)/$(d)) 121 121 122 122 123 PACKING += $(PATH_BIN)/$(PKG_FILENAME).tar.gz $(PATH_BIN)/$(DBG_ARCHIVE) … … 286 287 endif 287 288 289 # Python XPCOM glue 290 ifdef VBOX_WITH_PYTHON 291 SOLARIS_COMMON += \ 292 $(foreach f,$(notdir $(wildcard $(PATH_BIN)/sdk/bindings/xpcom/python/xpcom/*.py)),sdk/bindings/xpcom/python/xpcom/$(f)) \ 293 sdk/bindings/xpcom/python/xpcom/client/__init__.py \ 294 sdk/installer/vboxapisetup.py \ 295 sdk/installer/vboxapi/__init__.py \ 296 sdk/installer/vboxapi/VirtualBox_constants.py 297 endif 298 288 299 # VRDP 289 300 ifdef VBOX_WITH_VRDP … … 385 396 $(SOLARIS_DIR_NAME_32)/nls \ 386 397 $(SOLARIS_DIR_NAME_32)/accessible \ 398 $(if $(VBOX_WITH_PYTHON),\ 399 sdk/ \ 400 sdk/installer \ 401 sdk/installer/vboxapi \ 402 sdk/bindings/xpcom/python/xpcom \ 403 sdk/bindings/xpcom/python/xpcom/client,) \ 387 404 ,$(SOLARIS_VBOXINST_DIR)/$(d)/) 388 405 -
trunk/src/VBox/Installer/solaris/postinstall.sh
r19210 r20264 85 85 fi 86 86 87 VBOXBASEDIR="/opt/VirtualBox"88 87 echo "Configuring services and drivers..." 89 88 … … 122 121 fi 123 122 123 # 124 # Install python bindings 125 # 126 if test -f "/opt/VirtualBox/sdk/installer/vboxapisetup.py" || test -h "/opt/VirtualBox/sdk/installer/vboxapisetup.py"; then 127 PYTHONBIN=`which python` 128 if test -f "$PYTHONBIN" || test -h "$PYTHONBIN"; then 129 echo "Installing Python bindings..." 130 131 cd /opt/VirtualBox/sdk/installer 132 /opt/VirtualBox/sdk/installer/vboxapisetup.py install 133 else 134 echo "** WARNING! Python not found, skipped installed Python bindings." 135 echo " Manually run '/opt/VirtualBox/sdk/installer/vboxapisetup.py install'" 136 echo " to install the bindings when python is available." 137 fi 138 fi 139 124 140 /usr/sbin/installf -f $PKGINST 125 141
Note:
See TracChangeset
for help on using the changeset viewer.