Changeset 56848 in vbox
- Timestamp:
- Jul 8, 2015 8:16:29 AM (9 years ago)
- Location:
- trunk/src/VBox/Installer/linux
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Installer/linux/Makefile.kmk
r56829 r56848 43 43 44 44 BLDDIRS += $(VBOX_LNX_INST_OUT_DIR) $(VBOX_LNX_INST_STAGE_DIR) 45 PACKING += $(PATH_STAGE_BIN)/VirtualBox.tar.bz246 45 if !defined(VBOX_NO_LINUX_RUN_INSTALLER) 47 46 PACKING += $(PATH_STAGE_BIN)/$(VBOX_LNX_PACKAGE_NAME) \ 48 47 $(PATH_STAGE_BIN)/VirtualBox-dbg.tar.bz2 48 else 49 PACKING += $(PATH_STAGE_BIN)/VirtualBox.tar 49 50 endif 50 51 … … 440 441 # .tar.bz2 for distribution with the files under VirtualBox-<ver>/. 441 442 # 442 $(PATH_STAGE_BIN)/VirtualBox.tar .bz2: $(VBOX_LNX_INST_ARCH_DEPS)443 $(PATH_STAGE_BIN)/VirtualBox.tar: $(VBOX_LNX_INST_ARCH_DEPS) 443 444 $(call MSG_L1,Packing $@) 444 445 $(QUIET)$(RM) -f -- $(VBOX_LNX_INST_OUT_DIR)/VirtualBox-$(VBOX_VERSION_STRING) $@ $(patsubst %.bz2,%,$@) 445 446 $(QUIET)$(LN_SYMLINK) $(VBOX_LNX_INST_OUT_DIR)/archive/ $(VBOX_LNX_INST_OUT_DIR)/VirtualBox-$(VBOX_VERSION_STRING) 446 ifdef VBOX_USE_PBZIP2447 447 $(QUIET)tar --dereference --owner 0 --group 0 \ 448 -cRhf $ (patsubst %.bz2,%,$@)-C $(VBOX_LNX_INST_OUT_DIR) \448 -cRhf $@ -C $(VBOX_LNX_INST_OUT_DIR) \ 449 449 $(addprefix VirtualBox-$(VBOX_VERSION_STRING)/,$(VBOX_LNX_ARCH_FILES)) 450 $(QUIET)pbzip2 $(patsubst %.bz2,%,$@)451 else452 $(QUIET)tar --dereference --owner 0 --group 0 \453 -cjRhf $@ -C $(VBOX_LNX_INST_OUT_DIR) \454 $(addprefix VirtualBox-$(VBOX_VERSION_STRING)/,$(VBOX_LNX_ARCH_FILES))455 endif456 450 $(QUIET)$(RM) -f -- $(VBOX_LNX_INST_OUT_DIR)/VirtualBox-$(VBOX_VERSION_STRING) 457 451 -
trunk/src/VBox/Installer/linux/debian/rules
r56299 r56848 207 207 dh_clean -k 208 208 dh_installdirs 209 tar -x jC $(prefix)/opt -f $(builddir)/bin/VirtualBox.tar.bz2209 tar -xC $(prefix)/opt -f $(builddir)/bin/VirtualBox.tar 210 210 $(if $(NOQT),,mv $(archdir)/virtualbox.xml debian/$(verpkg).sharedmimeinfo) 211 211 $(archdir)/scripts/install.sh --package $(package) --root $(prefix) \ -
trunk/src/VBox/Installer/linux/rpm/VirtualBox.tmpl.spec
r56299 r56848 24 24 Release: 1 25 25 URL: http://www.virtualbox.org/ 26 Source: VirtualBox.tar .bz226 Source: VirtualBox.tar 27 27 License: GPLv2 28 28 Group: Applications/System -
trunk/src/VBox/Installer/linux/rpm/rules
r56811 r56848 190 190 rm -rf $(archdir) 191 191 rm -rf $(builddir) rpm/VirtualBox-* 192 rm -f rpm/VirtualBox.tar 192 193 rm -f rpm/VirtualBox.tar.bz2 193 194 rm -f rpm/VirtualBox.spec … … 201 202 binary: rpm/build-stamp 202 203 rm -rf rpm/VirtualBox-* 203 tar -x jf $(builddir)/bin/VirtualBox.tar.bz2-C rpm204 tar -xf $(builddir)/bin/VirtualBox.tar -C rpm 204 205 sed \ 205 206 -e 's|%VER%|$(ver)|g' \ … … 233 234 cp VBox.sh $(archdir) 234 235 mv rpm/VirtualBox-$(ver) rpm/$(rpmname) 235 tar -c jf rpm/VirtualBox.tar.bz2-C rpm $(rpmname)236 tar -cf rpm/VirtualBox.tar -C rpm $(rpmname) 236 237 rm -f /usr/src/packages/RPMS/*/VirtualBox*rpm 237 238 rm -f /usr/src/packages/SPECS/* 238 (cd rpm; rpmbuild -tb --clean VirtualBox.tar .bz2)239 (cd rpm; rpmbuild -tb --clean VirtualBox.tar) 239 240 mv /usr/src/packages/RPMS/*/$(verpkg)-debug* $(pkgdir) || true 240 241 file=`find /usr/src/packages/RPMS -name $(verpkg)*rpm -print`; \
Note:
See TracChangeset
for help on using the changeset viewer.