From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 6041D138010 for ; Sun, 14 Oct 2012 05:50:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 806FBE0552; Sun, 14 Oct 2012 05:50:40 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 0EA62E0552 for ; Sun, 14 Oct 2012 05:50:39 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4090833C2F0 for ; Sun, 14 Oct 2012 05:50:39 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id C9F49E5436 for ; Sun, 14 Oct 2012 05:50:36 +0000 (UTC) From: "Matt Turner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matt Turner" Message-ID: <1350193819.166a23995f9ca2356cfb2722df37f13c54bffcfd.mattst88@gentoo> Subject: [gentoo-commits] proj/catalyst:master commit in: modules/ X-VCS-Repository: proj/catalyst X-VCS-Files: modules/catalyst_support.py modules/generic_stage_target.py modules/snapshot_target.py X-VCS-Directories: modules/ X-VCS-Committer: mattst88 X-VCS-Committer-Name: Matt Turner X-VCS-Revision: 166a23995f9ca2356cfb2722df37f13c54bffcfd X-VCS-Branch: master Date: Sun, 14 Oct 2012 05:50:36 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 1b274e01-f976-4ea4-936b-aa2a615ed3f5 X-Archives-Hash: 0b64af96870f37e042ecb6272d7ba006 commit: 166a23995f9ca2356cfb2722df37f13c54bffcfd Author: Matt Turner gmail com> AuthorDate: Fri Sep 28 01:41:48 2012 +0000 Commit: Matt Turner gmail com> CommitDate: Sun Oct 14 05:50:19 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/catalyst.git;a=commit;h=166a2399 Use lbzip2 for tar.bz2 --- modules/catalyst_support.py | 2 +- modules/generic_stage_target.py | 2 +- modules/snapshot_target.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/catalyst_support.py b/modules/catalyst_support.py index 5847d12..6dbcfb7 100644 --- a/modules/catalyst_support.py +++ b/modules/catalyst_support.py @@ -108,7 +108,7 @@ contents_map={ #"find" :[calc_contents,"find %(path)s"], "tar-tv":[calc_contents,"tar tvf %(file)s"], "tar-tvz":[calc_contents,"tar tvzf %(file)s"], - "tar-tvj":[calc_contents,"tar tvjf %(file)s"], + "tar-tvj":[calc_contents,"tar -I lbzip2 -tvf %(file)s"], "isoinfo-l":[calc_contents,"isoinfo -l -i %(file)s"], # isoinfo-f should be a last resort only "isoinfo-f":[calc_contents,"isoinfo -f -i %(file)s"], diff --git a/modules/generic_stage_target.py b/modules/generic_stage_target.py index 2f93a73..eb5f490 100644 --- a/modules/generic_stage_target.py +++ b/modules/generic_stage_target.py @@ -1179,7 +1179,7 @@ class generic_stage_target(generic_target): print "Creating stage tarball..." - cmd("tar cjpf "+self.settings["target_path"]+" -C "+\ + cmd("tar -I lbzip2 -cpf "+self.settings["target_path"]+" -C "+\ self.settings["stage_path"]+" .",\ "Couldn't create stage tarball",env=self.env) diff --git a/modules/snapshot_target.py b/modules/snapshot_target.py index bd96c98..81ab083 100644 --- a/modules/snapshot_target.py +++ b/modules/snapshot_target.py @@ -50,7 +50,7 @@ class snapshot_target(generic_stage_target): self.settings["portdir"]+"/ "+mytmp+"/portage/","Snapshot failure",env=self.env) print "Compressing Portage snapshot tarball..." - cmd("tar cjf "+self.settings["snapshot_path"]+" -C "+mytmp+" portage",\ + cmd("tar -I lbzip2 -cf "+self.settings["snapshot_path"]+" -C "+mytmp+" portage",\ "Snapshot creation failure",env=self.env) self.gen_contents_file(self.settings["snapshot_path"])