- Timestamp:
- May 27, 2008 1:53:14 PM (17 years ago)
- Location:
- trunk
- Files:
-
- 1 deleted
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/ReadMe-Solaris.txt
r8417 r9159 9 9 You must boot OpenSolaris in the same instruction set as the VirtualBox install package. 10 10 This means if you are installing the 64-bit version of VirtualBox you MUST boot in 11 64-bit mode. This is because the installer will setup the VirtualBox driver. 12 13 Use the command "isainfo -k" to check what instruction set is currently being used. If 14 the output is "amd64" you have booted in 64-bit mode, otherwise it is 32-bit. 15 11 64-bit mode. This is because the installer will setup the VirtualBox driver. Use the command 12 "isainfo -k" to check what instruction set is currently being used. If the output is "amd64" 13 you have booted in 64-bit mode, otherwise it is 32-bit. 16 14 17 15 After extracting the contents of the tar.gz file perform the following steps: … … 19 17 1. Login as root using the "su" command. 20 18 21 2. Run the command: 19 2. Install the packages (in this order): 20 If you have not installed vbi module (check for the file /platform/i86pc/kernel/misc/vbi) run: 21 22 pkgadd -G -d VirtualBoxKern-@VBOX_VERSION_STRING@-SunOS-r@[email protected] 23 24 Once the vbi module is installed run: 25 22 26 pkgadd -d VirtualBox-@VBOX_VERSION_STRING@-SunOS-@BUILD_TARGET_ARCH@-r@[email protected] 23 27 24 3. The installer would thenask you to "Select package(s) you wish to process"28 3. For each package the installer would ask you to "Select package(s) you wish to process" 25 29 For this type "1" or "all". 26 30 27 31 4. Then type "y" when asked about continuing with the installation. 28 32 29 Now all the necessary files would be installed on your system. 30 Start VirtualBox by typing "VirtualBox" from aterminal.33 Now all the necessary files would be installed on your system. Start VirtualBox by typing 34 VirtualBox from the terminal. 31 35 32 36 … … 34 38 ---------------- 35 39 36 To remove VirtualBox from your system perform the following steps:40 To remove the VirtualBox from your system perform the following steps: 37 41 38 42 1. Login as root using the "su" command. … … 41 45 pkgrm SUNWvbox 42 46 47 To remove the VirtualBox kernel interface module run the command: 48 pkgrm SUNWvboxkern 49 -
trunk/src/VBox/Installer/solaris/Makefile.kmk
r9156 r9159 47 47 # Targets 48 48 INSTALLS = solaris-doc 49 PACKING = $(PATH_BIN)/$(PKG_FILENAME).tar.gz $(PATH_BIN)/$( VBIPKG_FILENAME).tar.gz $(PATH_BIN)/$(DBG_ARCHIVE)49 PACKING = $(PATH_BIN)/$(PKG_FILENAME).tar.gz $(PATH_BIN)/$(DBG_ARCHIVE) 50 50 OTHER_CLEAN = $(addprefix $(SOLARIS_INST_DIR)/,\ 51 51 vbox.pkginfo vbox.copyright vbox.space vbox.pkgresponse \ … … 201 201 $(PATH_ROOT)/doc/ReadMe-Solaris.txt \ 202 202 Makefile.kmk \ 203 $(if $(VBOX_WITH_SOLARIS_VBI),$(SOLARIS_VBI_DIR)/$(VBIPKG_FILENAME).pkg,) \ 203 204 $(if $(VBOX_OSE),,$(PATH_ROOT)/doc/License.txt) \ 204 205 $(if $(VBOX_OSE),,$(PATH_BIN)/LICENSE) \ … … 314 315 --output $(SOLARIS_INST_DIR)/ReadMe.txt \ 315 316 $(PATH_ROOT)/doc/ReadMe-Solaris.txt 317 $(QUIET)$(if $(VBOX_WITH_SOLARIS_VBI),$(INSTALL) -m 0644 $(SOLARIS_VBI_DIR)/$(VBIPKG_FILENAME).pkg $(SOLARIS_INST_DIR)/$(VBIPKG_FILENAME).pkg,) 316 318 $(call MSG_L1,Creating install package: $(PKG_FILENAME).tar.gz) 317 $(QUIET)$(SOLARIS_INST_DIR)/makepackage.sh $(SOLARIS_INST_DIR) $(PKG_FILENAME) $(KBUILD_TARGET_ARCH) 319 $(QUIET)$(SOLARIS_INST_DIR)/makepackage.sh $(SOLARIS_INST_DIR) $(PKG_FILENAME) $(KBUILD_TARGET_ARCH) $(if $(VBOX_WITH_SOLARIS_VBI),$(VBIPKG_FILENAME).pkg,) 318 320 $(QUIET)$(INSTALL) -m 0644 $(SOLARIS_INST_DIR)/$(PKG_FILENAME).tar.gz $(PATH_BIN) 319 321 @# Clean up files emitted as side-effect or result of packing … … 322 324 323 325 324 $( PATH_BIN)/$(VBIPKG_FILENAME).tar.gz: \326 $(SOLARIS_VBI_DIR)/$(VBIPKG_FILENAME).pkg: \ 325 327 $(VBOX_VERSION_STAMP) \ 326 328 vbi/vboxkern.pkginfo \ 327 329 vbi/makepackage.sh \ 328 $(PATH_ROOT)/doc/ReadMe-Solaris-vbi.txt \329 330 Makefile.kmk \ 330 331 $(PATH_ROOT)/src/VBox/Runtime/r0drv/solaris/vbi/32/vbi \ … … 338 339 $(QUIET)$(SED) \ 339 340 -e "s/@VBOX_VERSION_STRING@/$(VBOX_VERSION_STRING)/g" \ 340 -e "s/@VBOX_SVN_REV@/$(VBOX_SVN_REV)/g" \341 --output $(SOLARIS_VBI_DIR)/ReadMe.txt \342 $(PATH_ROOT)/doc/ReadMe-Solaris-vbi.txt343 $(QUIET)$(SED) \344 -e "s/@VBOX_VERSION_STRING@/$(VBOX_VERSION_STRING)/g" \345 341 -e "s/@VBOX_VERSION_REVSTAMP@/$(PKGINFO_REVSTAMP)/g" \ 346 342 -e "s/@UNAME_P@/$(PKGINFO_ARCH)/g" \ … … 348 344 $(PATH_CURRENT)/vbi/vboxkern.pkginfo 349 345 $(QUIET)$(INSTALL) -m 0755 $(PATH_CURRENT)/vbi/makepackage.sh $(SOLARIS_VBI_DIR)/makepackage.sh 350 $(call MSG_L1,Creating install package: $(VBIPKG_FILENAME). tar.gz)346 $(call MSG_L1,Creating install package: $(VBIPKG_FILENAME).pkg) 351 347 $(QUIET)$(SOLARIS_VBI_DIR)/makepackage.sh $(SOLARIS_VBI_DIR) $(VBIPKG_FILENAME) 352 $(QUIET)$(INSTALL) -m 0644 $(SOLARIS_VBI_DIR)/$(VBIPKG_FILENAME).tar.gz $(PATH_BIN)353 @# Clean up files emitted as side-effect or result of packing354 $(QUIET)$(RM) -f $(SOLARIS_VBI_DIR)/$(VBIPKG_FILENAME).tar.gz355 $(QUIET)$(RM) -f $(SOLARIS_VBI_DIR)/$(VBIPKG_FILENAME).pkg356 348 357 349 -
trunk/src/VBox/Installer/solaris/makepackage.sh
r9157 r9159 92 92 pkgtrans -s -o /var/spool/pkg "`pwd`/$VBOX_PKGFILE" "$VBOX_PKGNAME" 93 93 94 $VBOX_GTAR zcvf "$VBOX_ARCHIVE" "$VBOX_PKGFILE" autoresponse ReadMe.txt 94 # $4 if exist would contain the path to the VBI package to include in the .tar.gz 95 if test -f "$4"; then 96 $VBOX_GTAR zcvf "$VBOX_ARCHIVE" "$VBOX_PKGFILE" $4 autoresponse ReadMe.txt 97 else 98 $VBOX_GTAR zcvf "$VBOX_ARCHIVE" "$VBOX_PKGFILE" autoresponse ReadMe.txt 99 fi 95 100 96 101 echo "## Packaging and transfer completed successfully!"
Note:
See TracChangeset
for help on using the changeset viewer.