aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mageia.org>2012-04-03 22:12:06 +0000
committerPascal Terjan <pterjan@mageia.org>2012-04-03 22:12:06 +0000
commit0eb4f2b8874981e3c04bc6d09856c2de269133d1 (patch)
treea2ca0d1161201acfd3e56b92c8faf82e36b422c1
parentca45dd2c4b07c4af942b1737a9c062443207b162 (diff)
downloadiurt-0eb4f2b8874981e3c04bc6d09856c2de269133d1.tar
iurt-0eb4f2b8874981e3c04bc6d09856c2de269133d1.tar.gz
iurt-0eb4f2b8874981e3c04bc6d09856c2de269133d1.tar.bz2
iurt-0eb4f2b8874981e3c04bc6d09856c2de269133d1.tar.xz
iurt-0eb4f2b8874981e3c04bc6d09856c2de269133d1.zip
Do not untar chroot before checking if tarball is up to date
-rw-r--r--lib/Iurt/Chroot.pm3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/Iurt/Chroot.pm b/lib/Iurt/Chroot.pm
index ca2f244..9d9d2a0 100644
--- a/lib/Iurt/Chroot.pm
+++ b/lib/Iurt/Chroot.pm
@@ -64,9 +64,6 @@ sub clean_chroot {
return 1 if $o_only_clean;
- mkdir $chroot;
-
- sudo($config, '--untar', $chroot_tar, $chroot);
if (!create_build_chroot($chroot, $chroot_tar, $run, $config)) {
plog('ERROR', "Failed to create chroot");
return;