From: Rick Farina (Zero_Chaos) Date: Mon, 27 May 2013 20:25:03 +0000 (-0400) Subject: proper lbzip2 decompression of stages X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=cf83c489c031e1ea5741060d8fd3117a9715f0f4;p=catalyst.git proper lbzip2 decompression of stages use lbzip2 to decompress stages ONLY, snapshots can be bz2 or xz. This provides me a 6x increase and likely more if you have fast IO --- diff --git a/modules/generic_stage_target.py b/modules/generic_stage_target.py index 31cb025e..8f3c05a3 100644 --- a/modules/generic_stage_target.py +++ b/modules/generic_stage_target.py @@ -657,7 +657,7 @@ class generic_stage_target(generic_target): unpack_cmd="tar -I lbzip2 -xpf "+self.settings["source_path"]+" -C "+\ self.settings["chroot_path"] else: - unpack_cmd="tar xpf "+self.settings["source_path"]+" -C "+\ + unpack_cmd="tar -I lbzip2 -xpf "+self.settings["source_path"]+" -C "+\ self.settings["chroot_path"] error_msg="Tarball extraction of "+\ self.settings["source_path"]+" to "+\ @@ -672,7 +672,7 @@ class generic_stage_target(generic_target): unpack_cmd="tar -I lbzip2 -xpf "+self.settings["source_path"]+" -C "+\ self.settings["chroot_path"] else: - unpack_cmd="tar xpf "+self.settings["source_path"]+" -C "+\ + unpack_cmd="tar -I lbzip2 -xpf "+self.settings["source_path"]+" -C "+\ self.settings["chroot_path"] error_msg="Tarball extraction of "+self.settings["source_path"]+\ " to "+self.settings["chroot_path"]+" failed."