public inbox for ipfire-scm@lists.ipfire.org
 help / color / mirror / Atom feed
From: git@ipfire.org
To: ipfire-scm@lists.ipfire.org
Subject: [git.ipfire.org] IPFire 2.x development tree branch, next, updated. 5fd54721c2275def506ac54cc2e4e810f57fa491
Date: Tue, 17 Oct 2017 15:24:56 +0100	[thread overview]
Message-ID: <20171017142457.58F561081BCF@git01.ipfire.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 4196 bytes --]

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "IPFire 2.x development tree".

The branch, next has been updated
       via  5fd54721c2275def506ac54cc2e4e810f57fa491 (commit)
       via  c061d66fca5e252dab8fa2e5be5c684faeec75e0 (commit)
       via  bc9544929c61080e662d8668d5ea0b833965fdd9 (commit)
      from  1c1babf44bf3524726c098d787e4a01eb81950d6 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 5fd54721c2275def506ac54cc2e4e810f57fa491
Author: Michael Tremer <michael.tremer(a)ipfire.org>
Date:   Tue Oct 17 15:23:26 2017 +0100

    Use best XZ compression for smaller images and packages
    
    Signed-off-by: Michael Tremer <michael.tremer(a)ipfire.org>

commit c061d66fca5e252dab8fa2e5be5c684faeec75e0
Author: Michael Tremer <michael.tremer(a)ipfire.org>
Date:   Tue Oct 17 14:58:52 2017 +0100

    cdrom: Change format to XZ and compress in parallel
    
    This allows us to use all processor cores to compress
    the image faster.
    
    Signed-off-by: Michael Tremer <michael.tremer(a)ipfire.org>

commit bc9544929c61080e662d8668d5ea0b833965fdd9
Author: Michael Tremer <michael.tremer(a)ipfire.org>
Date:   Tue Oct 17 14:58:28 2017 +0100

    packages: Compress in parallel
    
    Signed-off-by: Michael Tremer <michael.tremer(a)ipfire.org>

-----------------------------------------------------------------------

Summary of changes:
 lfs/Config           | 2 +-
 lfs/cdrom            | 5 ++++-
 lfs/flash-images     | 2 +-
 src/installer/main.c | 2 +-
 4 files changed, 7 insertions(+), 4 deletions(-)

Difference in files:
diff --git a/lfs/Config b/lfs/Config
index b961db9..d2ac8e4 100644
--- a/lfs/Config
+++ b/lfs/Config
@@ -204,7 +204,7 @@ define PAK
 	tar xf /install/packages/package/files.tmp -C /install/packages/package/tmp/ \
 		-p --numeric-owner
 	rm -f /install/packages/package/files.tmp
-	cd /install/packages/package/tmp/ && tar -c -p --numeric-owner -J -f /install/packages/package/files.tar.xz * 		
+	cd /install/packages/package/tmp/ && XZ_OPT="-T0 --best" tar -c -p --numeric-owner -J -f /install/packages/package/files.tar.xz *
 	rm -r /install/packages/package/tmp
 	-cat /install/packages/package/ROOTFILES | grep -v "#" > /install/packages/package/ROOTFILES.tmp
 	mv /install/packages/package/ROOTFILES.tmp /install/packages/package/ROOTFILES
diff --git a/lfs/cdrom b/lfs/cdrom
index 58e754f..2f15103 100644
--- a/lfs/cdrom
+++ b/lfs/cdrom
@@ -32,9 +32,12 @@ TARGET     = $(DIR_INFO)/$(THISAPP)
 ifeq "$(BUILD_PLATFORM)" "arm"
 	TAR_OPTIONS =
 else
-	TAR_OPTIONS = --lzma
+	TAR_OPTIONS = --xz
 endif
 
+# Enable multi-threaded compression for LZMA
+export XZ_OPT = --threads=0 --best
+
 ###############################################################################
 # Top-level Rules
 ###############################################################################
diff --git a/lfs/flash-images b/lfs/flash-images
index 8ed7f63..a75d711 100644
--- a/lfs/flash-images
+++ b/lfs/flash-images
@@ -137,7 +137,7 @@ endif
 
 	# Install IPFire
 ifneq "$(BUILD_PLATFORM)" "arm"
-	tar -x --lzma -C $(MNThdd)/ -f /install/cdrom/distro.img
+	tar -x --xz -C $(MNThdd)/ -f /install/cdrom/distro.img
 else
 	tar -x -C $(MNThdd)/ -f /install/cdrom/distro.img
 endif
diff --git a/src/installer/main.c b/src/installer/main.c
index e9517e2..a364255 100644
--- a/src/installer/main.c
+++ b/src/installer/main.c
@@ -778,7 +778,7 @@ int main(int argc, char *argv[]) {
 
 	// Extract files...
 	snprintf(commandstring, STRING_SIZE,
-		"/bin/tar -C /harddisk  -xvf /cdrom/distro.img --lzma 2>/dev/null");
+		"/bin/tar -C /harddisk -xvf /cdrom/distro.img --xz 2>/dev/null");
 
 	if (runcommandwithprogress(60, 4, title, commandstring, INST_FILECOUNT,
 			_("Installing the system..."), logfile)) {


hooks/post-receive
--
IPFire 2.x development tree

                 reply	other threads:[~2017-10-17 14:24 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20171017142457.58F561081BCF@git01.ipfire.org \
    --to=git@ipfire.org \
    --cc=ipfire-scm@lists.ipfire.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox