summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2015-02-13 18:12:30 (EST)
committer Francis Rowe <info@gluglug.org.uk>2015-02-13 18:12:30 (EST)
commit50701e0614ccb2c5d87cfe17e0abc85341773260 (patch)
tree7a8d068f23bb94db811f93502c0cf55b2fb8d487
parent3fc7a9115cc351089558bd88d0b42b047ababb5c (diff)
downloadlibreboot-50701e0614ccb2c5d87cfe17e0abc85341773260.zip
libreboot-50701e0614ccb2c5d87cfe17e0abc85341773260.tar.gz
libreboot-50701e0614ccb2c5d87cfe17e0abc85341773260.tar.bz2
build-release: optimize use of tar (reduced file sizes)
-rwxr-xr-xbuild-release6
1 files changed, 3 insertions, 3 deletions
diff --git a/build-release b/build-release
index b2e522e..8eb733e 100755
--- a/build-release
+++ b/build-release
@@ -130,7 +130,7 @@ cd bin/
for board in $(ls)
do
# create lzma compressed src archive
- tar cfJ ../libreboot_"$board".tar.xz "$board"
+ tar -c "$board" | xz -9e >../libreboot_"$board".tar.xz
done
cd ../
@@ -408,12 +408,12 @@ cp commitid libreboot_util/
echo "Creating compressed libreboot_src release archive"
# create lzma compressed src archive
-tar cfJ libreboot_src.tar.xz libreboot_src
+tar -c libreboot_src | xz -9e >libreboot_src.tar.xz
echo "Creating compressed libreboot_util release archive"
# create lzma compressed util archive
-tar cfJ libreboot_util.tar.xz libreboot_util
+tar -c libreboot_util | xz -9e >libreboot_util.tar.xz
# ### Delete the uncompressed release directories
# ----------------------------------------------------------------------------------------------------------------------------