From aa87be3b3fb9248b7c3dc33e7c8f9a2bfb62e14a Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Mon, 1 Nov 2010 22:21:59 +0000 Subject: untar /var/log/qa with iurt_root_command --- lib/Iurt/Chroot.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/Iurt/Chroot.pm b/lib/Iurt/Chroot.pm index b24c800..5ed6753 100644 --- a/lib/Iurt/Chroot.pm +++ b/lib/Iurt/Chroot.pm @@ -445,7 +445,7 @@ sub create_chroot { } } else { plog('DEBUG', "decompressing /var/log/qa from $chroot_tar in $tmp_chroot"); - system($sudo, 'tar', 'xf', $chroot_tar, '-C', $tmp_chroot, "./var/log/qa"); + sudo($run, $config, '--untar', $chroot_tar, $tmp_chroot, "./var/log/qa"); my $qa; if (open $qa, "$tmp_chroot/var/log/qa") { -- cgit v1.2.1