- Timestamp:
- Jun 9, 2010 8:27:36 AM (15 years ago)
- Location:
- trunk/src/VBox/Installer/solaris
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Installer/solaris/Makefile.kmk
r29899 r30099 73 73 endif 74 74 SOL_OBJCOPY := /usr/sfw/bin/gobjcopy --strip-unneeded -R .comment 75 SOL_GTAR := /usr/sfw/bin/gtar 75 76 76 77 … … 481 482 ,$(SOLARIS_DBG_DIR)/$(d)) 482 483 484 # List of files to be tar.gz'd, the files will be 485 # installed in $(SOLARIS_BASEINST_DIR) and .gz'd from there. 486 SOLARIS_TAR_GZ_FILES := \ 487 $(PKG_FILENAME).pkg \ 488 $(if $(VBOX_WITH_SOLARIS_VBI),$(VBIPKG_FILENAME).pkg,) \ 489 LICENSE \ 490 autoresponse \ 491 ReadMe.txt 483 492 484 493 include $(KBUILD_PATH)/subfooter.kmk … … 622 631 $(VBOX_SVN_REV) \ 623 632 $(if $(VBOX_WITH_SOLARIS_VBI),$(VBIPKG_FILENAME).pkg,) 633 $(call MSG_L1,Creating final tar.gz package) 634 $(QUIET)$(SOL_GTAR) -C $(SOLARIS_BASEINST_DIR) -zcvf $(SOLARIS_BASEINST_DIR)/$(PKG_FILENAME).tar.gz $(SOLARIS_TAR_GZ_FILES) 624 635 $(QUIET)$(INSTALL) -m 0644 $(SOLARIS_BASEINST_DIR)/$(PKG_FILENAME).tar.gz $(SOLARIS_OUT_BIN) 625 636 @# Clean up files emitted as side-effect or result of packing … … 627 638 $(QUIET)$(RM) -f $(SOLARIS_BASEINST_DIR)/$(PKG_FILENAME).pkg 628 639 $(QUIET)$(if $(VBOX_WITH_SOLARIS_VBI),$(RM) -f $(SOLARIS_BASEINST_DIR)/$(VBIPKG_FILENAME).pkg,) 640 $(call MSG_L1,Packaging completed.) 629 641 630 642 -
trunk/src/VBox/Installer/solaris/makepackage.sh
r29919 r30099 54 54 VBOX_GGREP=/usr/sfw/bin/ggrep 55 55 VBOX_AWK=/usr/bin/awk 56 VBOX_GTAR=/usr/sfw/bin/gtar56 #VBOX_GTAR=/usr/sfw/bin/gtar 57 57 58 58 # check for GNU grep we use which might not ship with all Solaris … … 63 63 64 64 # check for GNU tar we use which might not ship with all Solaris 65 if test ! -f "$VBOX_GTAR" && test ! -h "$VBOX_GTAR"; then66 echo "## GNU tar not found in $VBOX_GTAR."67 exit 168 fi65 #if test ! -f "$VBOX_GTAR" && test ! -h "$VBOX_GTAR"; then 66 # echo "## GNU tar not found in $VBOX_GTAR." 67 # exit 1 68 #fi 69 69 70 70 # bail out on non-zero exit status … … 211 211 212 212 # $5 if exist would contain the path to the VBI package to include in the .tar.gz 213 if [ -f LICENSE ]; then214 VBOX_LICENSEFILE=LICENSE215 fi216 if test -f "$5"; then217 $VBOX_GTAR zcvf "$VBOX_ARCHIVE" $VBOX_LICENSEFILE "$VBOX_PKGFILE" "$5" autoresponse ReadMe.txt218 else219 $VBOX_GTAR zcvf "$VBOX_ARCHIVE" $VBOX_LICENSEFILE "$VBOX_PKGFILE" autoresponse ReadMe.txt220 fi221 222 echo "## Packag ing and transfer completed successfully!"213 #if [ -f LICENSE ]; then 214 # VBOX_LICENSEFILE=LICENSE 215 #fi 216 #if test -f "$5"; then 217 # $VBOX_GTAR zcvf "$VBOX_ARCHIVE" $VBOX_LICENSEFILE "$VBOX_PKGFILE" "$5" autoresponse ReadMe.txt 218 #else 219 # $VBOX_GTAR zcvf "$VBOX_ARCHIVE" $VBOX_LICENSEFILE "$VBOX_PKGFILE" autoresponse ReadMe.txt 220 #fi 221 222 echo "## Package file created successfully!" 223 223 rm -rf "/var/spool/pkg/$VBOX_PKGNAME" 224 224
Note:
See TracChangeset
for help on using the changeset viewer.