From 3c711d0d0620398ab0d887785e494513cce8883b Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Thu, 25 Nov 2010 23:41:01 +0000 Subject: linking back the chroot tarball is only needed when not rebuilding the chroot --- lib/Iurt/Chroot.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Iurt/Chroot.pm b/lib/Iurt/Chroot.pm index da590ab..8278ee7 100644 --- a/lib/Iurt/Chroot.pm +++ b/lib/Iurt/Chroot.pm @@ -461,6 +461,7 @@ sub create_chroot { } } else { plog('NOTIFY', "Chroot tarball is already up-to-date"); + link $tmp_tar, $chroot_tar; } } else { plog('DEBUG', "can't open $tmp_chroot/var/log/qa"); @@ -473,7 +474,6 @@ sub create_chroot { } } } - link $tmp_tar, $chroot_tar; if (!-d $chroot || $rebuild) { plog('DEBUG', "recreate chroot $chroot"); -- cgit v1.2.1