aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Iurt/Chroot.pm
diff options
context:
space:
mode:
authorOlivier Blin <blino@mageia.org>2010-11-25 23:41:01 +0000
committerOlivier Blin <blino@mageia.org>2010-11-25 23:41:01 +0000
commit3c711d0d0620398ab0d887785e494513cce8883b (patch)
tree4cb10fa359987413fc9852948c62f4511ee2509e /lib/Iurt/Chroot.pm
parent734e71dcdff4d0acd7e24582ac4a32d57a91caa0 (diff)
downloadiurt-3c711d0d0620398ab0d887785e494513cce8883b.tar
iurt-3c711d0d0620398ab0d887785e494513cce8883b.tar.gz
iurt-3c711d0d0620398ab0d887785e494513cce8883b.tar.bz2
iurt-3c711d0d0620398ab0d887785e494513cce8883b.tar.xz
iurt-3c711d0d0620398ab0d887785e494513cce8883b.zip
linking back the chroot tarball is only needed when not rebuilding the chroot
Diffstat (limited to 'lib/Iurt/Chroot.pm')
-rw-r--r--lib/Iurt/Chroot.pm2
1 files changed, 1 insertions, 1 deletions
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");