Changeset 9159 in vbox for trunk/src/VBox
- Timestamp:
- May 27, 2008 1:53:14 PM (17 years ago)
- Location:
- trunk/src/VBox/Installer/solaris
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
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.