From 546f69e7769a949e75b8cc8292684c3155f51c29 Mon Sep 17 00:00:00 2001 From: Pascal Terjan Date: Wed, 8 Aug 2012 08:27:16 +0000 Subject: Add a comment --- lib/Iurt/Chroot.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/Iurt/Chroot.pm b/lib/Iurt/Chroot.pm index 7b15950..37ea892 100644 --- a/lib/Iurt/Chroot.pm +++ b/lib/Iurt/Chroot.pm @@ -316,6 +316,8 @@ sub create_build_chroot_tar { return; } sudo($config, "--tar", $chroot_tar, $tmp_chroot); + # This rename may fail if for example tmp chroots are in another FS + # This does not matter as it will then be rm + untar rename $tmp_chroot, $chroot; } -- cgit v1.2.1