David Hendricks has uploaded this change for review.

View Change

Use bzip2 when making tarball

Tarballs on download.flashrom.org are generally packaged using bzip2, so
we may as well be internally consistent.

Change-Id: Ib9fb1ea6d5994cd0285ce8db9675640fae992773
Signed-off-by: David Hendricks <dhendricks@fb.com>
---
M Makefile
1 file changed, 2 insertions(+), 2 deletions(-)

git pull ssh://review.coreboot.org:29418/flashrom refs/changes/16/22116/1
diff --git a/Makefile b/Makefile
index 52f6c98..5bd7158 100644
--- a/Makefile
+++ b/Makefile
@@ -1408,11 +1408,11 @@
@echo "Exported $(EXPORTDIR)/flashrom-$(RELEASENAME)/"

tarball: _export
- @tar -cz --format=ustar -f "$(EXPORTDIR)/flashrom-$(RELEASENAME).tar.gz" -C $(EXPORTDIR)/ \
+ @tar -cj --format=ustar -f "$(EXPORTDIR)/flashrom-$(RELEASENAME).tar.bz2" -C $(EXPORTDIR)/ \
$(TAROPTIONS) "flashrom-$(RELEASENAME)/"
# Delete the exported directory again because it is most likely what's expected by the user.
@rm -rf "$(EXPORTDIR)/flashrom-$(RELEASENAME)"
- @echo Created "$(EXPORTDIR)/flashrom-$(RELEASENAME).tar.gz"
+ @echo Created "$(EXPORTDIR)/flashrom-$(RELEASENAME).tar.bz2"

libpayload: clean
make CC="CC=i386-elf-gcc lpgcc" AR=i386-elf-ar RANLIB=i386-elf-ranlib

To view, visit change 22116. To unsubscribe, visit settings.

Gerrit-Project: flashrom
Gerrit-Branch: staging
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib9fb1ea6d5994cd0285ce8db9675640fae992773
Gerrit-Change-Number: 22116
Gerrit-PatchSet: 1
Gerrit-Owner: David Hendricks <david.hendricks@gmail.com>