[Mageia-sysadm] [152] linking back the chroot tarball is only needed when not rebuilding the chroot

root at mageia.org root at mageia.org
Fri Nov 26 00:41:01 CET 2010


Revision: 152
Author:   blino
Date:     2010-11-26 00:41:01 +0100 (Fri, 26 Nov 2010)
Log Message:
-----------
linking back the chroot tarball is only needed when not rebuilding the chroot

Modified Paths:
--------------
    build_system/iurt/trunk/lib/Iurt/Chroot.pm

Modified: build_system/iurt/trunk/lib/Iurt/Chroot.pm
===================================================================
--- build_system/iurt/trunk/lib/Iurt/Chroot.pm	2010-11-25 23:32:57 UTC (rev 151)
+++ build_system/iurt/trunk/lib/Iurt/Chroot.pm	2010-11-25 23:41:01 UTC (rev 152)
@@ -461,6 +461,7 @@
 			}
 		} 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 @@
 		}
 	    }
 	}
-	link $tmp_tar, $chroot_tar;
 
     if (!-d $chroot || $rebuild) {
 	plog('DEBUG', "recreate chroot $chroot");
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/mageia-sysadm/attachments/20101126/1dbc08c2/attachment.html>


More information about the Mageia-sysadm mailing list