VirtualBox

Changeset 9159 in vbox for trunk


Ignore:
Timestamp:
May 27, 2008 1:53:14 PM (17 years ago)
Author:
vboxsync
Message:

Solaris VBI installer: pack it in the same .tar.gz and removed duplicate readme.

Location:
trunk
Files:
1 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc/ReadMe-Solaris.txt

    r8417 r9159  
    99You must boot OpenSolaris in the same instruction set as the VirtualBox install package.
    1010This 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 
     1164-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"
     13you have booted in 64-bit mode, otherwise it is 32-bit.
    1614
    1715After extracting the contents of the tar.gz file perform the following steps:
     
    19171. Login as root using the "su" command.
    2018
    21 2. Run the command:
     192. 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
    2226        pkgadd -d VirtualBox-@VBOX_VERSION_STRING@-SunOS-@BUILD_TARGET_ARCH@-r@[email protected]
    2327
    24 3. The installer would then ask you to "Select package(s) you wish to process"
     283. For each package the installer would ask you to "Select package(s) you wish to process"
    2529        For this type "1" or "all".
    2630
    27314. Then type "y" when asked about continuing with the installation.
    2832
    29 Now all the necessary files would be installed on your system.
    30 Start VirtualBox by typing "VirtualBox" from a terminal.
     33Now all the necessary files would be installed on your system. Start VirtualBox by typing
     34VirtualBox from the terminal.
    3135
    3236
     
    3438----------------
    3539
    36 To remove VirtualBox from your system perform the following steps:
     40To remove the VirtualBox from your system perform the following steps:
    3741
    38421. Login as root using the "su" command.
     
    4145        pkgrm SUNWvbox
    4246
     47To remove the VirtualBox kernel interface module run the command:
     48        pkgrm SUNWvboxkern
     49
  • trunk/src/VBox/Installer/solaris/Makefile.kmk

    r9156 r9159  
    4747# Targets
    4848INSTALLS         = solaris-doc
    49 PACKING          = $(PATH_BIN)/$(PKG_FILENAME).tar.gz $(PATH_BIN)/$(VBIPKG_FILENAME).tar.gz $(PATH_BIN)/$(DBG_ARCHIVE)
     49PACKING          = $(PATH_BIN)/$(PKG_FILENAME).tar.gz $(PATH_BIN)/$(DBG_ARCHIVE)
    5050OTHER_CLEAN      = $(addprefix $(SOLARIS_INST_DIR)/,\
    5151        vbox.pkginfo vbox.copyright vbox.space vbox.pkgresponse \
     
    201201                $(PATH_ROOT)/doc/ReadMe-Solaris.txt \
    202202                Makefile.kmk \
     203                $(if $(VBOX_WITH_SOLARIS_VBI),$(SOLARIS_VBI_DIR)/$(VBIPKG_FILENAME).pkg,) \
    203204                $(if $(VBOX_OSE),,$(PATH_ROOT)/doc/License.txt) \
    204205                $(if $(VBOX_OSE),,$(PATH_BIN)/LICENSE) \
     
    314315                --output $(SOLARIS_INST_DIR)/ReadMe.txt \
    315316                $(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,)
    316318        $(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,)
    318320        $(QUIET)$(INSTALL) -m 0644 $(SOLARIS_INST_DIR)/$(PKG_FILENAME).tar.gz $(PATH_BIN)
    319321        @# Clean up files emitted as side-effect or result of packing
     
    322324
    323325
    324 $(PATH_BIN)/$(VBIPKG_FILENAME).tar.gz: \
     326$(SOLARIS_VBI_DIR)/$(VBIPKG_FILENAME).pkg: \
    325327                $(VBOX_VERSION_STAMP) \
    326328                vbi/vboxkern.pkginfo \
    327329                vbi/makepackage.sh \
    328                 $(PATH_ROOT)/doc/ReadMe-Solaris-vbi.txt \
    329330                Makefile.kmk \
    330331                $(PATH_ROOT)/src/VBox/Runtime/r0drv/solaris/vbi/32/vbi \
     
    338339        $(QUIET)$(SED) \
    339340                -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.txt
    343         $(QUIET)$(SED) \
    344                 -e "s/@VBOX_VERSION_STRING@/$(VBOX_VERSION_STRING)/g" \
    345341                -e "s/@VBOX_VERSION_REVSTAMP@/$(PKGINFO_REVSTAMP)/g" \
    346342                -e "s/@UNAME_P@/$(PKGINFO_ARCH)/g" \
     
    348344                $(PATH_CURRENT)/vbi/vboxkern.pkginfo
    349345        $(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)
    351347        $(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 packing
    354         $(QUIET)$(RM) -f $(SOLARIS_VBI_DIR)/$(VBIPKG_FILENAME).tar.gz
    355         $(QUIET)$(RM) -f $(SOLARIS_VBI_DIR)/$(VBIPKG_FILENAME).pkg
    356348
    357349
  • trunk/src/VBox/Installer/solaris/makepackage.sh

    r9157 r9159  
    9292pkgtrans -s -o /var/spool/pkg "`pwd`/$VBOX_PKGFILE" "$VBOX_PKGNAME"
    9393
    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
     95if test -f "$4"; then
     96    $VBOX_GTAR zcvf "$VBOX_ARCHIVE" "$VBOX_PKGFILE" $4 autoresponse ReadMe.txt
     97else
     98    $VBOX_GTAR zcvf "$VBOX_ARCHIVE" "$VBOX_PKGFILE" autoresponse ReadMe.txt
     99fi
    95100
    96101echo "## Packaging and transfer completed successfully!"
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