Changeset 15912 in vbox for trunk/src/VBox
- Timestamp:
- Jan 13, 2009 12:39:05 PM (16 years ago)
- Location:
- trunk/src/VBox/Installer/solaris
- Files:
-
- 1 added
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Installer/solaris/Makefile.kmk
r15796 r15912 34 34 # 35 35 VBOX_PATH_SOL_INST_SRC := $(PATH_SUB_CURRENT) 36 SOLARIS_INST_DIR := $(PATH_TARGET)/Installer/solaris/install 37 SOLARIS_DBG_DIR := $(PATH_TARGET)/Installer/solaris/installdbg 38 SOLARIS_VBI_DIR := $(PATH_TARGET)/Installer/solaris/installvbi 36 SOLARIS_DIR_NAME_64 := amd64 37 SOLARIS_DIR_NAME_32 := i386 38 SOLARIS_INST_OUT_DIR := $(PATH_TARGET)/Installer/solaris 39 SOLARIS_INST_DIR := $(PATH_TARGET)/Installer/solaris/install 40 SOLARIS_INST_DIR_32 := $(SOLARIS_INST_DIR)/$(SOLARIS_DIR_NAME_32) 41 SOLARIS_INST_DIR_64 := $(SOLARIS_INST_DIR)/$(SOLARIS_DIR_NAME_64) 42 43 SOLARIS_OUT_BIN_64 := $(PATH_OUT_BASE)/solaris.amd64/$(KBUILD_TYPE)/bin 44 SOLARIS_OUT_BIN_32 := $(PATH_OUT_BASE)/solaris.x86/$(KBUILD_TYPE)/bin 45 SOLARIS_OUT_BIN := $(PATH_BIN) 46 47 SOLARIS_DBG_DIR := $(PATH_TARGET)/Installer/solaris/installdbg 48 SOLARIS_VBI_DIR := $(PATH_TARGET)/Installer/solaris/installvbi 49 39 50 ifeq ($(KBUILD_TARGET_ARCH),amd64) 40 SOL_DBG_OBJCOPY := /usr/sfw/bin/gobjcopy --only-keep-debug 51 SOLARIS_INST_DIR_ISA := $(SOLARIS_INST_DIR_64) 52 SOL_DBG_OBJCOPY := /usr/sfw/bin/gobjcopy --only-keep-debug 41 53 else 42 SOL_DBG_OBJCOPY := $(CP) -p # Solaris ld/gobjcopy(2.15) don't get along on x86, works only on amd64. So just using cp for now. 43 endif 44 SOL_OBJCOPY := /usr/sfw/bin/gobjcopy --strip-unneeded -R .comment 54 SOLARIS_INST_DIR_ISA := $(SOLARIS_INST_DIR_32) 55 SOL_DBG_OBJCOPY := $(CP) -p # Solaris ld/gobjcopy(2.15) don't get along on x86, works only on amd64. So just using cp for now. 56 endif 57 SOL_OBJCOPY := /usr/sfw/bin/gobjcopy --strip-unneeded -R .comment 45 58 46 59 # Base package 47 60 PKGINFO_ARCH = $(shell uname -p) 48 61 PKGINFO_REVSTAMP = $(date %Y.%m.%d.%H.%M) 49 PKG_FILENAME = VirtualBox-$(VBOX_VERSION_STRING)-SunOS-$(KBUILD_TARGET_ARCH)-r$(VBOX_SVN_REV) 62 ifndef VBOX_WITH_COMBINED_SOLARIS_PACKAGE 63 PKG_FILENAME = VirtualBox-$(VBOX_VERSION_STRING)-SunOS-$(KBUILD_TARGET_ARCH)-r$(VBOX_SVN_REV) 64 else 65 PKG_FILENAME = VirtualBox-$(VBOX_VERSION_STRING)-SunOS-r$(VBOX_SVN_REV) 66 endif 50 67 51 68 # Debug package … … 53 70 54 71 # Kernel interface (vbi) package 55 VBIPKG_FILENAME = VirtualBoxKern-$(VBOX_VERSION_STRING)-SunOS-r$(VBOX_SVN_REV)72 VBIPKG_FILENAME = VirtualBoxKern-$(VBOX_VERSION_STRING)-SunOS-r$(VBOX_SVN_REV) 56 73 57 74 # 58 75 # Targets 59 76 # 60 PROGRAMS += VBoxZoneAccess 61 INSTALLS += solaris-doc 62 PACKING += $(PATH_BIN)/$(PKG_FILENAME).tar.gz $(PATH_BIN)/$(DBG_ARCHIVE) 63 64 OTHER_CLEAN += $(addprefix $(SOLARIS_INST_DIR)/,\ 77 PROGRAMS += VBoxZoneAccess VBoxISAExec 78 INSTALLS += solaris-doc 79 80 BLDDIRS += $(SOLARIS_INST_OUT_DIR) $(SOLARIS_INST_DIR) $(SOLARIS_VBI_DIR) $(SOLARIS_DBG_DIR) 81 PACKING += $(PATH_BIN)/$(PKG_FILENAME).tar.gz $(PATH_BIN)/$(DBG_ARCHIVE) 82 83 OTHER_CLEAN += $(addprefix $(SOLARIS_INST_DIR)/,\ 65 84 vbox.pkginfo vbox.copyright vbox.space vbox.pkgresponse \ 66 85 makepackage.sh prototype postinstall.sh preremove.sh) … … 75 94 76 95 # 96 # VBoxISAExec 97 # 98 VBoxISAExec_TEMPLATE = VBOXR3EXE 99 VBoxISAExec_DEPS = $(VBOX_SVN_REV_KMK) 100 VBoxISAExec_SOURCES = VBoxISAExec.c 101 102 # 77 103 # Solaris installs. 78 104 # 79 solaris-doc_INST = bin/80 solaris-doc_MODE = a+r,u+w105 solaris-doc_INST = bin/ 106 solaris-doc_MODE = a+r,u+w 81 107 solaris-doc_SOURCES = \ 82 108 $(if $(VBOX_OSE),,$(VBOX_BRAND_LICENSE_TXT)=>LICENSE) \ … … 145 171 VMMR0.r0 146 172 147 VBOX_SOL_PYTHON_ INST=173 VBOX_SOL_PYTHON_DIR = 148 174 ifeq ($(KBUILD_TARGET_ARCH),amd64) 149 VBOX_SOL_PYTHON_ INST = 64/175 VBOX_SOL_PYTHON_DIR = 64 150 176 SOL64_PKG = 1 151 ifndef VBOX_WITH_NEW_RECOMPILER152 SOLARIS_STRIP_OBJS += \177 ifndef VBOX_WITH_NEW_RECOMPILER 178 SOLARIS_STRIP_OBJS += \ 153 179 VBoxREM2.rel 154 NEED_REL = 1155 endif180 NEED_REL = 1 181 endif 156 182 endif 157 183 … … 159 185 SOLARIS_NO_STRIP = \ 160 186 components/VBoxXPCOMBase.xpt \ 161 components/VirtualBox_XPCOM.xpt 187 components/VirtualBox_XPCOM.xpt \ 188 $(if $(and $(VBOX_LICENSE_FILES),$(VBOX_WITH_QT4GUI)),$(VBOX_LICENSE_FILES)) 162 189 163 190 # Things packed explicitly, not from $(PATH_BIN), track these to clean-up properly 164 # The extra Qt libs packed under EXTRAS are purely for running VBoxQtconfig165 191 SOLARIS_EXTRAS = \ 166 192 $(if $(VBOX_OSE),,LICENSE) \ 167 $(if $(and $(VBOX_LICENSE_FILES),$(VBOX_WITH_QT4GUI)),$(VBOX_LICENSE_FILES)) \168 $(if $(VBOX_WITH_QT4GUI),VBoxQtconfig,) \169 $(if $(VBOX_WITH_QT4GUI),virtualbox.desktop,) \170 $(if $(VBOX_WITH_QT4GUI),libVBoxQtNetwork.so.4,) \171 $(if $(VBOX_WITH_QT4GUI),libVBoxQtXml.so.4,) \172 $(if $(VBOX_WITH_QT4GUI),libVBoxQtSql.so.4,) \173 $(if $(VBOX_WITH_QT4GUI),libVBoxQt3Support.so.4,) \174 $(if $(VBOX_WITH_VBOXSDL),libSDL-1.2.so.0,) \175 193 VBox.png \ 176 194 autoresponse \ … … 179 197 vboxdrv.sh \ 180 198 VBox.sh \ 199 $(if $(VBOX_WITH_VBOXSDL),libSDL-1.2.so.0,) \ 181 200 $(if $(not $(VBOX_WITH_NETFLT))vnic_setup.sh,) \ 182 201 $(if $(not $(VBOX_WITH_NETFLT))vnic_term.sh,) \ 202 $(if $(VBOX_WITH_QT4GUI),virtualbox.desktop,) \ 183 203 virtualbox-webservice.xml \ 184 204 virtualbox-zoneaccess.xml \ 185 205 smf-vboxwebsrv.sh \ 206 VBoxQtconfig \ 207 VBoxISAExec \ 186 208 vbox.copyright \ 187 209 ReadMe.txt 188 210 211 # These extra Qt libs are purely for running VBoxQtconfig 212 ifdef VBOX_WITH_QT4GUI 213 SOLARIS_QTLIBS = libVBoxQtNetwork.so.4 \ 214 libVBoxQtXml.so.4 \ 215 libVBoxQtSql.so.4 \ 216 libVBoxQt3Support.so.4 217 endif 218 219 189 220 ifdef VBOX_WITH_QT4GUI 190 221 include $(PATH_ROOT)/src/VBox/Frontends/VirtualBox4/nls/ApprovedLanguages.kmk 191 SOLARIS_N LS := $(foreach f,$(VBOX_APPROVED_GUI_LANGUAGES),nls/VirtualBox_$(f).qm nls/qt_$(f).qm)192 endif 193 194 # Documentation 222 SOLARIS_NO_STRIP += $(foreach f,$(VBOX_APPROVED_GUI_LANGUAGES),nls/VirtualBox_$(f).qm nls/qt_$(f).qm) 223 endif 224 225 # Documentation (packed as DOCS as they are arch. neutral) 195 226 ifdef VBOX_WITH_DOCS_PACKING 196 SOLARIS_ NO_STRIP += \227 SOLARIS_COMMON = \ 197 228 VirtualBox.chm \ 198 229 UserManual.pdf \ … … 205 236 VBoxVRDP.so \ 206 237 VRDPAuth.so 207 SOLARIS_ NO_STRIP+= \238 SOLARIS_COMMON += \ 208 239 rdesktop-vrdp.tar.gz 209 240 ifdef VBOX_WITH_VRDP_RDESKTOP 210 SOLARIS_NO_STRIP += \ 211 rdesktop-vrdp-keymaps 241 SOLARIS_COMMON += $(addprefix rdesktop-vrdp-keymaps/,$(notdir $(wildcard $(SOLARIS_OUT_BIN)/rdesktop-vrdp-keymaps/*))) 212 242 SOLARIS_STRIP_EXES += \ 213 243 rdesktop-vrdp … … 234 264 $(SOLARIS_STRIP_OBJS) \ 235 265 $(SOLARIS_NO_STRIP) \ 236 $(SOLARIS_NLS) \ 237 $(SOLARIS_EXTRAS) 266 $(SOLARIS_EXTRAS) \ 267 $(SOLARIS_QTLIBS) \ 268 $(SOLARIS_COMMON) 238 269 239 270 OTHER_CLEAN += \ … … 247 278 $(SOLARIS_VBI_DIR)/$(VBIPKG_FILENAME).pkg 248 279 280 ifdef VBOX_WITH_COMBINED_SOLARIS_PACKAGE 281 SOLARIS_ARCH_DEPFILES = $(addprefix $(SOLARIS_INST_DIR_64)/,$(SOLARIS_STRIP_EXES)) \ 282 $(addprefix $(SOLARIS_INST_DIR_64)/,$(SOLARIS_STRIP_BINS)) \ 283 $(addprefix $(SOLARIS_INST_DIR_64)/,$(SOLARIS_STRIP_OBJS)) \ 284 $(addprefix $(SOLARIS_INST_DIR_64)/,$(SOLARIS_NO_STRIP)) \ 285 $(addprefix $(SOLARIS_INST_DIR_64)/,$(SOLARIS_QTLIBS)) \ 286 $(addprefix $(SOLARIS_INST_DIR_32)/,$(SOLARIS_STRIP_EXES)) \ 287 $(addprefix $(SOLARIS_INST_DIR_32)/,$(SOLARIS_STRIP_BINS)) \ 288 $(addprefix $(SOLARIS_INST_DIR_32)/,$(SOLARIS_STRIP_OBJS)) \ 289 $(addprefix $(SOLARIS_INST_DIR_32)/,$(SOLARIS_NO_STRIP)) \ 290 $(addprefix $(SOLARIS_INST_DIR_32)/,$(SOLARIS_QTLIBS)) 291 else 292 SOLARIS_ARCH_DEPFILES = $(addprefix $(SOLARIS_INST_DIR_ISA)/,$(SOLARIS_STRIP_EXES)) \ 293 $(addprefix $(SOLARIS_INST_DIR_ISA)/,$(SOLARIS_STRIP_BINS)) \ 294 $(addprefix $(SOLARIS_INST_DIR_ISA)/,$(SOLARIS_STRIP_OBJS)) \ 295 $(addprefix $(SOLARIS_INST_DIR_ISA)/,$(SOLARIS_NO_STRIP)) \ 296 $(addprefix $(SOLARIS_INST_DIR_ISA)/,$(SOLARIS_QTLIBS)) 297 endif 298 SOLARIS_ARCH_DEPFILES += $(addprefix $(SOLARIS_INST_DIR)/,$(SOLARIS_COMMON)) 299 300 BLDDIRS += $(foreach d,\ 301 rdesktop-vrdp-keymaps \ 302 $(SOLARIS_DIR_NAME_64) \ 303 $(SOLARIS_DIR_NAME_64)/additions \ 304 $(SOLARIS_DIR_NAME_64)/components \ 305 $(SOLARIS_DIR_NAME_64)/nls \ 306 $(SOLARIS_DIR_NAME_64)/accessible \ 307 $(SOLARIS_DIR_NAME_64)/$(VBOX_SOL_PYTHON_DIR) \ 308 $(SOLARIS_DIR_NAME_32) \ 309 $(SOLARIS_DIR_NAME_32)/additions \ 310 $(SOLARIS_DIR_NAME_32)/components \ 311 $(SOLARIS_DIR_NAME_32)/nls \ 312 $(SOLARIS_DIR_NAME_32)/accessible \ 313 ,$(SOLARIS_INST_DIR)/$(d)/) 314 315 BLDDIRS += $(foreach d,\ 316 amd64 \ 317 ,$(SOLARIS_VBI_DIR)/$(d)/) 318 319 BLDDIRS += $(foreach d,\ 320 additions \ 321 components \ 322 accessible \ 323 ,$(SOLARIS_DBG_DIR)/$(d)/) 324 325 249 326 include $(KBUILD_PATH)/subfooter.kmk 250 251 327 252 328 # … … 278 354 $(if $(not $(VBOX_WITH_NETFLT))$(PATH_ROOT)/src/VBox/Devices/Network/solaris/vnicinit_solaris.sh,) \ 279 355 $(if $(not $(VBOX_WITH_NETFLT))$(PATH_ROOT)/src/VBox/Devices/Network/solaris/vnicterm_solaris.sh,) \ 280 $(addprefix $(PATH_BIN)/,$(filter-out $(SOLARIS_EXTRAS),$(SOLARIS_ARCH_FILES))) \ 281 $(addprefix $(SOLARIS_INST_DIR)/,$(SOLARIS_STRIP_EXES)) \ 282 $(addprefix $(SOLARIS_INST_DIR)/,$(SOLARIS_STRIP_BINS)) \ 283 $(addprefix $(SOLARIS_INST_DIR)/,$(SOLARIS_STRIP_OBJS)) \ 284 $(addprefix $(SOLARIS_INST_DIR)/,$(SOLARIS_NO_STRIP)) 356 $(addprefix $(PATH_BIN)/,$(filter-out $(SOLARIS_EXTRAS) $(SOLARIS_QTLIBS),$(SOLARIS_ARCH_FILES))) \ 357 VBoxISAExec \ 358 $(SOLARIS_ARCH_DEPFILES) 285 359 $(call MSG_L1,Installing binaries $(SOLARIS_INST_DIR)) 286 $(QUIET)$(if $(VBOX_WITH_ADDITIONS_PACKING),$(INSTALL) -m 0644 $(PATH_BIN)/additions/VBoxGuestAdditions.iso $(SOLARIS_INST_DIR)/additions/) 360 ifdef VBOX_WITH_COMBINED_SOLARIS_PACKAGE 361 $(QUIET)$(if $(VBOX_WITH_ADDITIONS_PACKING),$(INSTALL) -m 0644 $(SOLARIS_OUT_BIN_64)/additions/VBoxGuestAdditions.iso $(SOLARIS_INST_DIR_64)/additions/) 362 $(QUIET)$(if $(VBOX_WITH_ADDITIONS_PACKING),$(INSTALL) -m 0644 $(SOLARIS_OUT_BIN_32)/additions/VBoxGuestAdditions.iso $(SOLARIS_INST_DIR_32)/additions/) 363 else 364 $(QUIET)$(if $(VBOX_WITH_ADDITIONS_PACKING),$(INSTALL) -m 0644 $(SOLARIS_OUT_BIN)/additions/VBoxGuestAdditions.iso $(SOLARIS_INST_DIR_ISA)/additions/) 365 endif 287 366 $(call MSG_L1,Installing files $(SOLARIS_INST_DIR)) 288 367 $(QUIET)$(SED) \ … … 297 376 $(QUIET)$(if $(VBOX_OSE),,$(INSTALL) -m 0644 $(PATH_BIN)/LICENSE $(SOLARIS_INST_DIR)/LICENSE) 298 377 $(QUIET)$(if $(VBOX_OSE),,$(INSTALL) -m 0644 $(PATH_BIN)/LICENSE $(SOLARIS_INST_DIR)/vbox.copyright) 299 $(QUIET)$(if $(and $(VBOX_LICENSE_BINS),$(VBOX_WITH_QT4GUI)),$(INSTALL) -m 0644 $(VBOX_LICENSE_BINS) $(SOLARIS_INST_DIR)/) 300 $(QUIET)$(if $(VBOX_WITH_QT4GUI),$(INSTALL) -m 0644 $(PATH_DEVTOOLS_TRG)/qt/v4.3.3-r1/lib/libVBoxQtNetwork.so.4 $(SOLARIS_INST_DIR)/libVBoxQtNetwork.so.4,) 301 $(QUIET)$(if $(VBOX_WITH_QT4GUI),$(INSTALL) -m 0644 $(PATH_DEVTOOLS_TRG)/qt/v4.3.3-r1/lib/libVBoxQtXml.so.4 $(SOLARIS_INST_DIR)/libVBoxQtXml.so.4,) 302 $(QUIET)$(if $(VBOX_WITH_QT4GUI),$(INSTALL) -m 0644 $(PATH_DEVTOOLS_TRG)/qt/v4.3.3-r1/lib/libVBoxQtSql.so.4 $(SOLARIS_INST_DIR)/libVBoxQtSql.so.4,) 303 $(QUIET)$(if $(VBOX_WITH_QT4GUI),$(INSTALL) -m 0644 $(PATH_DEVTOOLS_TRG)/qt/v4.3.3-r1/lib/libVBoxQt3Support.so.4 $(SOLARIS_INST_DIR)/libVBoxQt3Support.so.4,) 304 $(QUIET)$(if $(VBOX_WITH_VBOXSDL),$(INSTALL) -m 0644 $(PATH_DEVTOOLS_TRG)/libSDL/v1.2.13/lib/libSDL-1.2.so.0.11.2 $(SOLARIS_INST_DIR)/libSDL-1.2.so.0,) 305 $(QUIET)$(if $(VBOX_WITH_QT4GUI),$(INSTALL) -m 0755 $(PATH_DEVTOOLS_TRG)/qt/v4.3.3-r1/bin/qtconfig $(SOLARIS_INST_DIR)/VBoxQtconfig,) 306 @# VBoxPython.so requires special handling as it is NOT in the correct out path to begin with. 307 $(QUIET)$(if $(VBOX_WITH_PYTHON),$(INSTALL) -m 0644 $(if $(VBOX_DO_STRIP),-s) $(PATH_BIN)/VBoxPython.so $(SOLARIS_INST_DIR)/$(VBOX_SOL_PYTHON_INST)VBoxPython.so) 308 $(QUIET)$(if $(VBOX_WITH_QT4GUI),$(CP) $(foreach f,$(SOLARIS_NLS),$(PATH_BIN)/$(f)) $(SOLARIS_INST_DIR)/nls,) 378 ifdef VBOX_WITH_SOLARIS_COMBINED_PACKAGE 379 $(QUIET)$(if $(VBOX_WITH_VBOXSDL),$(INSTALL) -m 0644 $(PATH_DEVTOOLS)/solaris.x86//libSDL/v1.2.13/lib/libSDL-1.2.so.0.11.2 $(SOLARIS_INST_DIR_32)/libSDL-1.2.so.0,) 380 $(QUIET)$(if $(VBOX_WITH_VBOXSDL),$(INSTALL) -m 0644 $(PATH_DEVTOOLS)/solaris.amd64/libSDL/v1.2.13/lib/libSDL-1.2.so.0.11.2 $(SOLARIS_INST_DIR_64)/libSDL-1.2.so.0,) 381 $(QUIET)$(if $(VBOX_WITH_PYTHON),$(INSTALL) -m 0644 $(if $(VBOX_DO_STRIP),-s) $(SOLARIS_OUT_BIN_32)/VBoxPython.so $(SOLARIS_INST_DIR_32)/VBoxPython.so,) 382 @# @todo -XXX- how to get rid of this manual MKDIR ? 383 $(QUIET)$(MKDIR) $(SOLARIS_INST_DIR_64)/$(VBOX_SOL_PYTHON_DIR) 384 $(QUIET)$(if $(VBOX_WITH_PYTHON),$(INSTALL) -m 0644 $(if $(VBOX_DO_STRIP),-s) $(SOLARIS_OUT_BIN_64)/VBoxPython.so $(SOLARIS_INST_DIR_64)/$(VBOX_SOL_PYTHON_DIR)/VBoxPython.so,) 385 $(QUIET)$(if $(VBOX_WITH_PYTHON),$(INSTALL) -m 0644 $(if $(VBOX_DO_STRIP),-s) $(SOLARIS_OUT_BIN_64)/VBoxPython.so $(SOLARIS_INST_DIR_64)/$(VBOX_SOL_PYTHON_DIR)/VBoxPython.so,) 386 $(QUIET)$(if $(VBOX_WITH_QT4GUI),$(INSTALL) -m 0755 $(PATH_DEVTOOLS)/solaris.x86/qt/v4.3.3-r1/bin/qtconfig $(SOLARIS_INST_DIR_32)/VBoxQtconfig,) 387 $(QUIET)$(if $(VBOX_WITH_QT4GUI),$(INSTALL) -m 0755 $(PATH_DEVTOOLS)/solaris.amd64/qt/v4.3.3-r1/bin/qtconfig $(SOLARIS_INST_DIR_64)/VBoxQtconfig,) 388 $(QUIET)$(INSTALL) -m 0755 $(SOLARIS_OUT_BIN_32)/VBoxISAExec $(SOLARIS_INST_DIR)/VBoxISAExec 389 else 390 $(QUIET)$(if $(VBOX_WITH_VBOXSDL),$(INSTALL) -m 0644 $(PATH_DEVTOOLS_TRG)/libSDL/v1.2.13/lib/libSDL-1.2.so.0.11.2 $(SOLARIS_INST_DIR_ISA)/libSDL-1.2.so.0,) 391 @# @todo -XXX- how to get rid of this manual MKDIR ? 392 $(QUIET)$(if $(SOL64_PKG),$(MKDIR) -p $(SOLARIS_INST_DIR_64)/$(VBOX_SOL_PYTHON_DIR),) 393 $(QUIET)$(if $(VBOX_WITH_PYTHON),$(INSTALL) -m 0644 $(if $(VBOX_DO_STRIP),-s) $(SOLARIS_OUT_BIN)/VBoxPython.so $(SOLARIS_INST_DIR_ISA)/$(VBOX_SOL_PYTHON_DIR)/VBoxPython.so,) 394 $(QUIET)$(if $(VBOX_WITH_QT4GUI),$(INSTALL) -m 0755 $(PATH_DEVTOOLS_TRG)/qt/v4.3.3-r1/bin/qtconfig $(SOLARIS_INST_DIR_ISA)/VBoxQtconfig,) 395 $(QUIET)$(INSTALL) -m 0755 $(SOLARIS_OUT_BIN)/VBoxISAExec $(SOLARIS_INST_DIR)/VBoxISAExec 396 endif 397 $(QUIET)$(INSTALL) -m 0644 $(VBOX_PATH_SOL_INST_SRC)/virtualbox-zoneaccess.xml $(SOLARIS_INST_DIR)/virtualbox-zoneaccess.xml 309 398 $(QUIET)$(if $(VBOX_WITH_WEBSERVICES),$(INSTALL) -m 0644 $(VBOX_PATH_SOL_INST_SRC)/virtualbox-webservice.xml $(SOLARIS_INST_DIR)/virtualbox-webservice.xml,) 310 399 $(QUIET)$(if $(VBOX_WITH_WEBSERVICES),$(INSTALL) -m 0755 $(VBOX_PATH_SOL_INST_SRC)/smf-vboxwebsrv.sh $(SOLARIS_INST_DIR)/smf-vboxwebsrv.sh,) 311 $(QUIET)$(INSTALL) -m 0644 $(VBOX_PATH_SOL_INST_SRC)/virtualbox-zoneaccess.xml $(SOLARIS_INST_DIR)/virtualbox-zoneaccess.xml312 $(QUIET)$(if $(VBOX_WITH_VRDP_RDESKTOP),$(INSTALL) -m 644 $(wildcard $(PATH_BIN)/rdesktop-vrdp-keymaps/*) $(SOLARIS_INST_DIR)/rdesktop-vrdp-keymaps/,)313 400 $(QUIET)$(if $(not $(VBOX_WITH_NETFLT))$(INSTALL) -m 0755 $(PATH_ROOT)/src/VBox/Devices/Network/solaris/vnicinit_solaris.sh $(SOLARIS_INST_DIR)/vnic_setup.sh,) 314 401 $(QUIET)$(if $(not $(VBOX_WITH_NETFLT))$(INSTALL) -m 0755 $(PATH_ROOT)/src/VBox/Devices/Network/solaris/vnicterm_solaris.sh $(SOLARIS_INST_DIR)/vnic_term.sh,) … … 321 408 $(QUIET)$(INSTALL) -m 0755 $(VBOX_PATH_SOL_INST_SRC)/VBox.sh $(SOLARIS_INST_DIR)/VBox.sh 322 409 $(QUIET)$(if $(VBOX_WITH_QT4GUI),$(INSTALL) -m 0644 $(VBOX_PATH_SOL_INST_SRC)/virtualbox.desktop $(SOLARIS_INST_DIR)/virtualbox.desktop,) 323 $(QUIET)$(INSTALL) -m 0644 $( PATH_BIN)/VBox.png$(SOLARIS_INST_DIR)/VBox.png410 $(QUIET)$(INSTALL) -m 0644 $(SOLARIS_OUT_BIN)/VBox.png $(SOLARIS_INST_DIR)/VBox.png 324 411 $(QUIET)$(INSTALL) -m 0755 $(VBOX_PATH_SOL_INST_SRC)/postinstall.sh $(SOLARIS_INST_DIR)/postinstall.sh 325 412 $(QUIET)$(INSTALL) -m 0755 $(VBOX_PATH_SOL_INST_SRC)/preremove.sh $(SOLARIS_INST_DIR)/preremove.sh … … 338 425 $(SOLARIS_INST_DIR) \ 339 426 $(PKG_FILENAME) \ 340 $( KBUILD_TARGET_ARCH) \427 $(if $(VBOX_WITH_SOLARIS_COMBINED_PACKAGE),neutral,$(KBUILD_TARGET_ARCH)) \ 341 428 $(VBOX_SVN_REV) \ 342 429 $(if $(VBOX_WITH_SOLARIS_VBI),$(VBIPKG_FILENAME).pkg,) 343 $(QUIET)$(INSTALL) -m 0644 $(SOLARIS_INST_DIR)/$(PKG_FILENAME).tar.gz $( PATH_BIN)430 $(QUIET)$(INSTALL) -m 0644 $(SOLARIS_INST_DIR)/$(PKG_FILENAME).tar.gz $(SOLARIS_OUT_BIN) 344 431 @# Clean up files emitted as side-effect or result of packing 345 432 @#$(QUIET)$(RM) -Rf $(SOLARIS_INST_DIR) 346 433 347 434 348 $(addprefix $(SOLARIS_INST_DIR)/,$(SOLARIS_STRIP_BINS)): \ 349 $(SOLARIS_INST_DIR)/% : $(PATH_BIN)/% | $$(dir $$@) 435 # 436 # 32-bit 437 # 438 $(addprefix $(SOLARIS_INST_DIR_32)/,$(SOLARIS_STRIP_BINS)): \ 439 $(SOLARIS_INST_DIR_32)/% : $(SOLARIS_OUT_BIN_32)/% | $$(dir $$@) 350 440 $(INSTALL) -m 0644 $(if $(VBOX_DO_STRIP),-s,) $< $@ 351 441 352 $(addprefix $(SOLARIS_INST_DIR )/,$(SOLARIS_STRIP_EXES)): \353 $(SOLARIS_INST_DIR )/% : $(PATH_BIN)/% | $$(dir $$@)442 $(addprefix $(SOLARIS_INST_DIR_32)/,$(SOLARIS_STRIP_EXES)): \ 443 $(SOLARIS_INST_DIR_32)/% : $(SOLARIS_OUT_BIN_32)/% | $$(dir $$@) 354 444 $(INSTALL) -m 0755 $(if $(VBOX_DO_STRIP),-s,) $< $@ 355 445 356 $(addprefix $(SOLARIS_INST_DIR )/,$(SOLARIS_STRIP_OBJS)): \357 $(SOLARIS_INST_DIR )/% : $(PATH_BIN)/% | $$(dir $$@)446 $(addprefix $(SOLARIS_INST_DIR_32)/,$(SOLARIS_STRIP_OBJS)): \ 447 $(SOLARIS_INST_DIR_32)/% : $(SOLARIS_OUT_BIN_32)/% | $$(dir $$@) 358 448 $(if $(VBOX_DO_STRIP),$(SOL_OBJCOPY) $< $@, $(INSTALL) -m 0644 $< $@) 359 449 360 $(addprefix $(SOLARIS_INST_DIR)/,$(SOLARIS_NO_STRIP)): \ 450 $(addprefix $(SOLARIS_INST_DIR_32)/,$(SOLARIS_NO_STRIP)): \ 451 $(SOLARIS_INST_DIR_32)/% : $(SOLARIS_OUT_BIN_32)/% | $$(dir $$@) 452 $(INSTALL) -m 0644 $< $@ 453 454 $(addprefix $(SOLARIS_INST_DIR_32)/,$(SOLARIS_QTLIBS)): \ 455 $(SOLARIS_INST_DIR_32)/% : $(PATH_DEVTOOLS_TRG)/qt/v4.3.3-r1/lib/% | $$(dir $$@) 456 $(INSTALL) -m 0644 $(if $(VBOX_DO_STRIP),-s,) $< $@ 457 458 # 459 # 64-bit 460 # 461 $(addprefix $(SOLARIS_INST_DIR_64)/,$(SOLARIS_STRIP_BINS)): \ 462 $(SOLARIS_INST_DIR_64)/% : $(SOLARIS_OUT_BIN_64)/% | $$(dir $$@) 463 $(INSTALL) -m 0644 $(if $(VBOX_DO_STRIP),-s,) $< $@ 464 465 $(addprefix $(SOLARIS_INST_DIR_64)/,$(SOLARIS_STRIP_EXES)): \ 466 $(SOLARIS_INST_DIR_64)/% : $(SOLARIS_OUT_BIN_64)/% | $$(dir $$@) 467 $(INSTALL) -m 0755 $(if $(VBOX_DO_STRIP),-s,) $< $@ 468 469 $(addprefix $(SOLARIS_INST_DIR_64)/,$(SOLARIS_STRIP_OBJS)): \ 470 $(SOLARIS_INST_DIR_64)/% : $(SOLARIS_OUT_BIN_64)/% | $$(dir $$@) 471 $(if $(VBOX_DO_STRIP),$(SOL_OBJCOPY) $< $@, $(INSTALL) -m 0644 $< $@) 472 473 $(addprefix $(SOLARIS_INST_DIR_64)/,$(SOLARIS_NO_STRIP)): \ 474 $(SOLARIS_INST_DIR_64)/% : $(SOLARIS_OUT_BIN_64)/% | $$(dir $$@) 475 $(INSTALL) -m 0644 $< $@ 476 477 $(addprefix $(SOLARIS_INST_DIR_64)/,$(SOLARIS_QTLIBS)): \ 478 $(SOLARIS_INST_DIR_64)/% : $(PATH_DEVTOOLS_TRG)/qt/v4.3.3-r1/lib/% | $$(dir $$@) 479 $(INSTALL) -m 0644 $(if $(VBOX_DO_STRIP),-s,) $< $@ 480 481 482 # 483 # Common (32-bit and 64-bit) 484 # 485 $(addprefix $(SOLARIS_INST_DIR)/,$(SOLARIS_COMMON)): \ 361 486 $(SOLARIS_INST_DIR)/% : $(PATH_BIN)/% | $$(dir $$@) 362 487 $(INSTALL) -m 0644 $< $@ … … 379 504 $(QUIET)$(RM) -Rf $(SOLARIS_VBI_DIR) 380 505 @# -XXX- This must be fixed badly, we create directories needed for main package here! 381 $(QUIET)$(MKDIR) -p $(SOLARIS_INST_DIR)/additions 382 $(QUIET)$(MKDIR) -p $(SOLARIS_INST_DIR)/components 383 $(QUIET)$(if $(VBOX_WITH_PYTHON),$(MKDIR) -p $(SOLARIS_INST_DIR)/$(VBOX_SOL_PYTHON_INST),) 384 $(QUIET)$(if $(VBOX_WITH_QT4GUI),$(MKDIR) -p $(SOLARIS_INST_DIR)/nls,) 385 $(QUIET)$(if $(VBOX_WITH_QT4GUI),$(MKDIR) -p $(SOLARIS_INST_DIR)/accessible,) 386 $(QUIET)$(if $(VBOX_WITH_VRDP_RDESKTOP),$(MKDIR) -p $(SOLARIS_INST_DIR)/rdesktop-vrdp-keymaps,) 506 ifdef VBOX_WITH_COMBINED_SOLARIS_PACKAGE 507 $(QUIET)$(MKDIR) -p $(SOLARIS_INST_DIR_32)/additions 508 $(QUIET)$(MKDIR) -p $(SOLARIS_INST_DIR_32)/components 509 # $(QUIET)$(if $(VBOX_WITH_PYTHON),$(MKDIR) -p $(SOLARIS_INST_DIR_32)/$(VBOX_SOL_PYTHON_INST),) 510 $(QUIET)$(if $(VBOX_WITH_QT4GUI),$(MKDIR) -p $(SOLARIS_INST_DIR_32)/nls,) 511 $(QUIET)$(if $(VBOX_WITH_QT4GUI),$(MKDIR) -p $(SOLARIS_INST_DIR_32)/accessible,) 512 # $(QUIET)$(if $(VBOX_WITH_VRDP_RDESKTOP),$(MKDIR) -p $(SOLARIS_INST_DIR_32)/rdesktop-vrdp-keymaps,) 513 $(QUIET)$(MKDIR) -p $(SOLARIS_INST_DIR_64)/additions 514 $(QUIET)$(MKDIR) -p $(SOLARIS_INST_DIR_64)/components 515 # $(QUIET)$(if $(VBOX_WITH_PYTHON),$(MKDIR) -p $(SOLARIS_INST_DIR_64)/$(VBOX_SOL_PYTHON_INST),) 516 $(QUIET)$(if $(VBOX_WITH_QT4GUI),$(MKDIR) -p $(SOLARIS_INST_DIR_64)/nls,) 517 $(QUIET)$(if $(VBOX_WITH_QT4GUI),$(MKDIR) -p $(SOLARIS_INST_DIR_64)/accessible,) 518 # $(QUIET)$(if $(VBOX_WITH_VRDP_RDESKTOP),$(MKDIR) -p $(SOLARIS_INST_DIR_64)/rdesktop-vrdp-keymaps,) 519 else 520 # $(QUIET)$(MKDIR) -p $(SOLARIS_INST_DIR_ISA)/additions 521 # $(QUIET)$(MKDIR) -p $(SOLARIS_INST_DIR_ISA)/components 522 # $(QUIET)$(if $(VBOX_WITH_PYTHON),$(MKDIR) -p $(SOLARIS_INST_DIR_ISA)/$(VBOX_SOL_PYTHON_INST),) 523 # $(QUIET)$(if $(VBOX_WITH_QT4GUI),$(MKDIR) -p $(SOLARIS_INST_DIR_ISA)/nls,) 524 # $(QUIET)$(if $(VBOX_WITH_QT4GUI),$(MKDIR) -p $(SOLARIS_INST_DIR_ISA)/accessible,) 525 # $(QUIET)$(if $(VBOX_WITH_VRDP_RDESKTOP),$(MKDIR) -p $(SOLARIS_INST_DIR_ISA)/rdesktop-vrdp-keymaps,) 526 endif 527 # $(QUIET)$(MKDIR) -p $(SOLARIS_VBI_DIR)/amd64 528 # @# -XXX- This must be fixed badly, we create directories needed for debug package here! 529 # $(QUIET)$(MKDIR) -p $(SOLARIS_DBG_DIR)/additions 530 # $(QUIET)$(MKDIR) -p $(SOLARIS_DBG_DIR)/components 531 # $(QUIET)$(if $(VBOX_WITH_QT4GUI),$(MKDIR) -p $(SOLARIS_DBG_DIR)/accessible,) 532 @# Install VBI files 387 533 $(QUIET)$(MKDIR) -p $(SOLARIS_VBI_DIR)/amd64 388 @# -XXX- This must be fixed badly, we create directories needed for debug package here!389 $(QUIET)$(MKDIR) -p $(SOLARIS_DBG_DIR)/additions390 $(QUIET)$(MKDIR) -p $(SOLARIS_DBG_DIR)/components391 $(QUIET)$(if $(VBOX_WITH_QT4GUI),$(MKDIR) -p $(SOLARIS_DBG_DIR)/accessible,)392 @# Install VBI files393 534 $(QUIET)$(INSTALL) -m 0644 $(PATH_ROOT)/src/VBox/Runtime/r0drv/solaris/vbi/32/vbi $(SOLARIS_VBI_DIR)/vbi 394 535 $(QUIET)$(INSTALL) -m 0644 $(PATH_ROOT)/src/VBox/Runtime/r0drv/solaris/vbi/64/vbi $(SOLARIS_VBI_DIR)/amd64/vbi … … 424 565 $(QUIET)$(SOL_DBG_OBJCOPY) $< $@ 425 566 567 -
trunk/src/VBox/Installer/solaris/VBox.sh
r11644 r15912 1 1 #!/bin/sh 2 2 # Sun xVM VirtualBox 3 # VirtualBox startup script for Solaris3 # VirtualBox startup script, Solaris hosts. 4 4 # 5 5 # Copyright (C) 2007-2008 Sun Microsystems, Inc. … … 18 18 # 19 19 20 INSTALL_DIR="/opt/VirtualBox" 20 CURRENT_ISA=`isainfo -k` 21 if test "$CURRENT_ISA" = "amd64"; then 22 INSTALL_DIR="/opt/VirtualBox/amd64" 23 else 24 INSTALL_DIR="/opt/VirtualBox/i386" 25 fi 21 26 APP=`which $0` 22 27 APP=`basename $APP` … … 39 44 VBoxQtconfig) 40 45 exec "$INSTALL_DIR/VBoxQtconfig" "$@" 41 ;; 46 ;; 47 VBoxBFE) 48 exec "$INSTALL_DIR/VBoxBFE" "$@" 49 ;; 42 50 *) 43 51 echo "Unknown application - $APP" -
trunk/src/VBox/Installer/solaris/makepackage.sh
r13484 r15912 2 2 ## @file 3 3 # Sun xVM VirtualBox 4 # VirtualBox Solaris package creation script.4 # VirtualBox package creation script, Solaris hosts. 5 5 # 6 6 … … 23 23 # 24 24 # Usage: 25 # makespackage.sh [--hardened] $(PATH_TARGET)/install packagename $(KBUILD_TARGET_ARCH)$(VBOX_SVN_REV) [VBIPackageName]25 # makespackage.sh [--hardened] $(PATH_TARGET)/install packagename {$(KBUILD_TARGET_ARCH)|neutral} $(VBOX_SVN_REV) [VBIPackageName] 26 26 27 27 … … 50 50 VBOX_PKGFILE=$2.pkg 51 51 VBOX_ARCHIVE=$2.tar.gz 52 # VBOX_PKG_ARCH is currently unused. 52 53 VBOX_PKG_ARCH=$3 53 54 VBOX_SVN_REV=$4 … … 96 97 filelist_fixup prototype '$2 == "none"' '$3 = "opt/VirtualBox/"$3"="$3' 97 98 98 # install the kernel module to the right place. 99 if test "$VBOX_PKG_ARCH" = "x86"; then 100 filelist_fixup prototype '$3 == "opt/VirtualBox/vboxdrv=vboxdrv"' '$3 = "platform/i86pc/kernel/drv/vboxdrv=vboxdrv"; $6 = "sys"' 101 else 102 filelist_fixup prototype '$3 == "opt/VirtualBox/vboxdrv=vboxdrv"' '$3 = "platform/i86pc/kernel/drv/amd64/vboxdrv=vboxdrv"; $6 = "sys"' 103 fi 99 # install the kernel modules to the right place. 100 filelist_fixup prototype '$3 == "opt/VirtualBox/i386/vboxdrv=i386/vboxdrv"' '$3 = "platform/i86pc/kernel/drv/vboxdrv=i386/vboxdrv"; $6 = "sys"' 101 filelist_fixup prototype '$3 == "opt/VirtualBox/amd64/vboxdrv=amd64/vboxdrv"' '$3 = "platform/i86pc/kernel/drv/amd64/vboxdrv=amd64/vboxdrv"; $6 = "sys"' 104 102 105 # install vboxflt to the right place. 106 if test "$VBOX_PKG_ARCH" = "x86"; then 107 filelist_fixup prototype '$3 == "opt/VirtualBox/vboxflt=vboxflt"' '$3 = "platform/i86pc/kernel/drv/vboxflt=vboxflt"; $6 = "sys"' 108 else 109 filelist_fixup prototype '$3 == "opt/VirtualBox/vboxflt=vboxflt"' '$3 = "platform/i86pc/kernel/drv/amd64/vboxflt=vboxflt"; $6 = "sys"' 110 fi 103 filelist_fixup prototype '$3 == "opt/VirtualBox/i386/vboxflt=i386/vboxflt"' '$3 = "platform/i86pc/kernel/drv/vboxflt=i386/vboxflt"; $6 = "sys"' 104 filelist_fixup prototype '$3 == "opt/VirtualBox/amd64/vboxflt=amd64/vboxflt"' '$3 = "platform/i86pc/kernel/drv/amd64/vboxflt=amd64/vboxflt"; $6 = "sys"' 111 105 112 106 filelist_fixup prototype '$3 == "opt/VirtualBox/vboxdrv.conf=vboxdrv.conf"' '$3 = "platform/i86pc/kernel/drv/vboxdrv.conf=vboxdrv.conf"' 113 114 107 filelist_fixup prototype '$3 == "opt/VirtualBox/vboxflt.conf=vboxflt.conf"' '$3 = "platform/i86pc/kernel/drv/vboxflt.conf=vboxflt.conf"' 115 108 … … 117 110 if test -n "$HARDENED"; then 118 111 $VBOX_AWK 'NF == 6 \ 119 && ( $3 == "opt/VirtualBox/VirtualBox=VirtualBox" \ 120 || $3 == "opt/VirtualBox/VirtualBox3=VirtualBox3" \ 121 || $3 == "opt/VirtualBox/VBoxHeadless=VBoxHeadless" \ 122 || $3 == "opt/VirtualBox/VBoxSDL=VBoxSDL" \ 123 || $3 == "opt/VirtualBox/VBoxBFE=VBoxBFE" \ 112 && ( $3 == "opt/VirtualBox/amd64/VirtualBox=amd64/VirtualBox" \ 113 || $3 == "opt/VirtualBox/amd64/VirtualBox3=amd64/VirtualBox3" \ 114 || $3 == "opt/VirtualBox/amd64/VBoxHeadless=amd64/VBoxHeadless" \ 115 || $3 == "opt/VirtualBox/amd64/VBoxSDL=amd64/VBoxSDL" \ 116 || $3 == "opt/VirtualBox/amd64/VBoxBFE=amd64/VBoxBFE" \ 117 || $3 == "opt/VirtualBox/i386/VirtualBox=i386/VirtualBox" \ 118 || $3 == "opt/VirtualBox/i386/VirtualBox3=i386/VirtualBox3" \ 119 || $3 == "opt/VirtualBox/i386/VBoxHeadless=i386/VBoxHeadless" \ 120 || $3 == "opt/VirtualBox/i386/VBoxSDL=i386/VBoxSDL" \ 121 || $3 == "opt/VirtualBox/i386/VBoxBFE=i386/VBoxBFE" \ 124 122 ) \ 125 123 { $4 = "4755" } { print }' prototype > prototype2 -
trunk/src/VBox/Installer/solaris/postinstall.sh
r13499 r15912 53 53 fi 54 54 55 # create links 55 # create symlinks and hardlinks 56 VBOXBASEDIR="/opt/VirtualBox" 57 SYSISAEXEC="/usr/lib/isaexec" 56 58 echo "Creating links..." 57 if test -f /opt/VirtualBox/VirtualBox; then 58 /usr/sbin/installf -c none $PKGINST /usr/bin/VirtualBox=/opt/VirtualBox/VBox.sh s 59 # Qt links 60 /usr/sbin/installf -c none $PKGINST /usr/bin/VBoxQtconfig=/opt/VirtualBox/VBox.sh s 59 if test -f "$VBOXBASEDIR/amd64/VirtualBox" || test -f "$VBOXBASEDIR/i386/VirtualBox"; then 60 /usr/sbin/installf -c none $PKGINST /usr/bin/VirtualBox=$VBOXBASEDIR/VBox.sh s 61 /usr/sbin/installf -c none $PKGINST /usr/bin/VBoxQtconfig=$VBOXBASEDIR/VBox.sh s 62 /usr/sbin/installf -c none $PKGINST $VBOXBASEDIR/VirtualBox f 63 /usr/sbin/installf -c none $PKGINST $VBOXBASEDIR/VBoxQtconfig f 64 ln -f $VBOXBASEDIR/VBoxISAExec $VBOXBASEDIR/VirtualBox 65 ln -f $VBOXBASEDIR/VBoxISAExec $VBOXBASEDIR/VBoxQtconfig 61 66 fi 62 /usr/sbin/installf -c none $PKGINST /usr/bin/VBoxManage=/opt/VirtualBox/VBox.sh s 63 /usr/sbin/installf -c none $PKGINST /usr/bin/VBoxSDL=/opt/VirtualBox/VBox.sh s 64 if test -f /opt/VirtualBox/VBoxHeadless; then 65 /usr/sbin/installf -c none $PKGINST /usr/bin/VBoxHeadless=/opt/VirtualBox/VBox.sh s 66 if test -f /opt/VirtualBox/VBoxVRDP.so; then 67 /usr/sbin/installf -c none $PKGINST /usr/bin/VBoxVRDP=/opt/VirtualBox/VBox.sh s 67 /usr/sbin/installf -c none $PKGINST /usr/bin/VBoxManage=$VBOXBASEDIR/VBox.sh s 68 /usr/sbin/installf -c none $PKGINST /usr/bin/VBoxSDL=$VBOXBASEDIR/VBox.sh s 69 /usr/sbin/installf -c none $PKGINST $VBOXBASEDIR/VBoxManage f 70 /usr/sbin/installf -c none $PKGINST $VBOXBASEDIR/VBoxSDL f 71 /usr/sbin/installf -c none $PKGINST $VBOXBASEDIR/vboxwebsrv f 72 /usr/sbin/installf -c none $PKGINST $VBOXBASEDIR/webtest f 73 /usr/sbin/installf -c none $PKGINST $VBOXBASEDIR/VBoxZoneAccess f 74 ln -f $VBOXBASEDIR/VBoxISAExec $VBOXBASEDIR/VBoxManage 75 ln -f $VBOXBASEDIR/VBoxISAExec $VBOXBASEDIR/VBoxSDL 76 ln -f $VBOXBASEDIR/VBoxISAExec $VBOXBASEDIR/vboxwebsrv 77 ln -f $VBOXBASEDIR/VBoxISAExec $VBOXBASEDIR/webtest 78 ln -f $VBOXBASEDIR/VBoxISAExec $VBOXBASEDIR/VBoxZoneAccess 79 if test -f "$VBOXBASEDIR/amd64/VBoxBFE" || test -f "$VBOXBASEDIR/i386/VBoxBFE"; then 80 /usr/sbin/installf -c none $PKGINST $VBOXBASEDIR/VBoxBFE f 81 ln -f $VBOXBASEDIR/VBoxISAExec $VBOXBASEDIR/VBoxBFE 82 fi 83 if test -f "$VBOXBASEDIR/amd64/VBoxHeadless" || test -f "$VBOXBASEDIR/i386/VBoxHeadless"; then 84 if test -d $VBOXBASEDIR/amd64; then 85 /usr/sbin/installf -c none $PKGINST $VBOXBASEDIR/amd64/rdesktop-vrdp-keymaps=$VBOXBASEDIR/rdesktop-vrdp-keymaps s 68 86 fi 87 if test -d $VBOXBASEDIR/i386; then 88 /usr/sbin/installf -c none $PKGINST $VBOXBASEDIR/i386/rdesktop-vrdp-keymaps=$VBOXBASEDIR/rdesktop-vrdp-keymaps s 89 fi 90 /usr/sbin/installf -c none $PKGINST /usr/bin/VBoxHeadless=/$VBOXBASEDIR/VBox.sh s 91 /usr/sbin/installf -c none $PKGINST /usr/bin/VBoxVRDP=$VBOXBASEDIR/VBox.sh s 92 /usr/sbin/installf -c none $PKGINST $VBOXBASEDIR/VBoxHeadless f 93 /usr/sbin/installf -c none $PKGINST $VBOXBASEDIR/VBoxVRDP f 94 ln -f $VBOXBASEDIR/VBoxISAExec $VBOXBASEDIR/VBoxHeadless 95 ln -f $VBOXBASEDIR/VBoxISAExec $VBOXBASEDIR/VBoxVRDP 69 96 fi 70 97 -
trunk/src/VBox/Installer/solaris/vboxdrv.sh
r13777 r15912 1 1 #!/bin/sh 2 2 # Sun xVM VirtualBox 3 # VirtualBox kernel module control script for Solaris.3 # VirtualBox kernel module control script, Solaris hosts. 4 4 # 5 5 # Copyright (C) 2007-2008 Sun Microsystems, Inc. … … 22 22 ALWAYSREMDRV="" 23 23 24 25 24 MODNAME="vboxdrv" 26 25 VBIMODNAME="vbi" … … 42 41 warn() 43 42 { 44 echo 1>&2 "WARNING!! $ !"43 echo 1>&2 "WARNING!! $1" 45 44 } 46 45 -
trunk/src/VBox/Installer/solaris/virtualbox-zoneaccess.xml
r13981 r15912 2 2 <!-- 3 3 # Sun xVM VirtualBox 4 # Solaris SMF service manifest for Solaris 10Zone Access.4 # Solaris SMF service manifest for Solaris Zone Access. 5 5 # 6 6 Copyright (C) 2008 Sun Microsystems, Inc.
Note:
See TracChangeset
for help on using the changeset viewer.