From 0eb4f2b8874981e3c04bc6d09856c2de269133d1 Mon Sep 17 00:00:00 2001 From: Pascal Terjan Date: Tue, 3 Apr 2012 22:12:06 +0000 Subject: Do not untar chroot before checking if tarball is up to date --- lib/Iurt/Chroot.pm | 3 --- 1 file changed, 3 deletions(-) (limited to 'lib/Iurt/Chroot.pm') 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; -- cgit v1.2.1