[coreboot] [PATCH] flashrom: Tarball improvements
Carl-Daniel Hailfinger
c-d.hailfinger.devel.2006 at gmx.net
Mon Jun 29 13:20:10 CEST 2009
Change tarball compression from gzip to bzip2.
Set the user and group of all files to root. (This is not portable
across all tar versions.)
Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006 at gmx.net>
Index: flashrom-make_tarball_fix/Makefile
===================================================================
--- flashrom-make_tarball_fix/Makefile (Revision 636)
+++ flashrom-make_tarball_fix/Makefile (Arbeitskopie)
@@ -136,9 +136,9 @@
@echo Exported $(EXPORTDIR)/flashrom-$(VERSION)/
tarball: export
- @tar cfz $(EXPORTDIR)/flashrom-$(VERSION).tar.gz -C $(EXPORTDIR)/ flashrom-$(VERSION)/
+ @tar cjf $(EXPORTDIR)/flashrom-$(VERSION).tar.bz2 -C $(EXPORTDIR)/ --owner=root --group=root flashrom-$(VERSION)/
@rm -rf $(EXPORTDIR)/flashrom-$(VERSION)
- @echo Created $(EXPORTDIR)/flashrom-$(VERSION).tar.gz
+ @echo Created $(EXPORTDIR)/flashrom-$(VERSION).tar.bz2
.PHONY: all clean distclean dep compiler pciutils features export tarball
--
http://www.hailfinger.org/
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: flashrom_make_tarball_fix.diff
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20090629/37645b7b/attachment.ksh>
More information about the coreboot
mailing list