From cf83c489c031e1ea5741060d8fd3117a9715f0f4 Mon Sep 17 00:00:00 2001 From: "Rick Farina (Zero_Chaos)" Date: Mon, 27 May 2013 16:25:03 -0400 Subject: [PATCH] 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 --- modules/generic_stage_target.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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." -- 2.26.2