aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>2014-12-06 16:30:01 -0100
committerJorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>2014-12-06 16:30:01 -0100
commit2a64b3a8a9a609f1c4b6546d245dc2f869d9790a (patch)
treec0f7768f9b44937e9a312442c4268feee83eee87
parentAdd --xattrs and --acls to the tar calls so we don't lose file properties whi... (diff)
downloadcatalyst-2a64b3a8a9a609f1c4b6546d245dc2f869d9790a.tar.gz
catalyst-2a64b3a8a9a609f1c4b6546d245dc2f869d9790a.tar.bz2
catalyst-2a64b3a8a9a609f1c4b6546d245dc2f869d9790a.zip
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@gentoo.org>
-rw-r--r--modules/generic_stage_target.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/generic_stage_target.py b/modules/generic_stage_target.py
index 62f532b4..7fa696ab 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"