Skip to content
Snippets Groups Projects
Commit 81b3faf6 authored by Simon McVittie's avatar Simon McVittie
Browse files

runtime: If verbose, tell tar to be verbose while unpacking

parent 2c6c03ce
No related branches found
No related tags found
1 merge request!239Make pressure-vessel responsible for unpacking runtimes
Pipeline #9281 passed
...@@ -1139,6 +1139,12 @@ pv_runtime_unpack (PvRuntime *self, ...@@ -1139,6 +1139,12 @@ pv_runtime_unpack (PvRuntime *self,
"tar", "tar",
"--force-local", "--force-local",
"-C", unpack_dir, "-C", unpack_dir,
NULL);
if (self->flags & PV_RUNTIME_FLAGS_VERBOSE)
flatpak_bwrap_add_arg (tar, "-v");
flatpak_bwrap_add_args (tar,
"-xf", self->source, "-xf", self->source,
NULL); NULL);
flatpak_bwrap_finish (tar); flatpak_bwrap_finish (tar);
...@@ -1167,6 +1173,12 @@ pv_runtime_unpack (PvRuntime *self, ...@@ -1167,6 +1173,12 @@ pv_runtime_unpack (PvRuntime *self,
"tar", "tar",
"--force-local", "--force-local",
"-C", files_lib_debug, "-C", files_lib_debug,
NULL);
if (self->flags & PV_RUNTIME_FLAGS_VERBOSE)
flatpak_bwrap_add_arg (tar, "-v");
flatpak_bwrap_add_args (tar,
"-xf", debug_tarball->str, "-xf", debug_tarball->str,
"files/", "files/",
NULL); NULL);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment