commit:     2a64b3a8a9a609f1c4b6546d245dc2f869d9790a
Author:     Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto <AT> gentoo 
<DOT> org>
AuthorDate: Sat Dec  6 17:30:01 2014 +0000
Commit:     Jorge Manuel B. S. Vicetto <jmbsvicetto <AT> gentoo <DOT> org>
CommitDate: Sat Dec  6 17:30:01 2014 +0000
URL:        
http://sources.gentoo.org/gitweb/?p=proj/catalyst.git;a=commit;h=2a64b3a8

Use -xpf instead of xpf with tar so it doesn't complain about missing option.

Signed-off-by: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto <AT> 
gentoo.org>

---
 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 62f532b..7fa696a 100644
--- a/modules/generic_stage_target.py
+++ b/modules/generic_stage_target.py
@@ -779,7 +779,7 @@ class generic_stage_target(generic_target):
                        if "bz2" == self.settings["chroot_path"][-3:]:
                                unpack_cmd="tar --xattrs --acls -I lbzip2 -xpf 
"+self.settings["snapshot_path"]+" -C "+destdir
                        else:
-                               unpack_cmd="tar --xattrs --acls xpf 
"+self.settings["snapshot_path"]+" -C "+destdir
+                               unpack_cmd="tar --xattrs --acls -xpf 
"+self.settings["snapshot_path"]+" -C "+destdir
                        unpack_errmsg="Error unpacking snapshot"
                        cleanup_msg="Cleaning up invalid snapshot cache at 
\n\t"+\
                                self.settings["snapshot_cache_path"]+\
@@ -799,7 +799,7 @@ class generic_stage_target(generic_target):
                                unpack_cmd="tar --xattrs --acls -I lbzip2 -xpf 
"+self.settings["snapshot_path"]+" -C "+\
                                        self.settings["chroot_path"]+"/usr"
                        else:
-                               unpack_cmd="tar --xattrs --acls xpf 
"+self.settings["snapshot_path"]+" -C "+\
+                               unpack_cmd="tar --xattrs --acls -xpf 
"+self.settings["snapshot_path"]+" -C "+\
                                        self.settings["chroot_path"]+"/usr"
                        unpack_errmsg="Error unpacking snapshot"
 

Reply via email to