From 1be510f9529cb082f802408b472a77d074b394c0 Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Sun, 14 Apr 2013 13:46:12 +0000 Subject: Add zarb MLs html archives --- zarb-ml/mageia-sysadm/2010-November/000954.html | 96 +++++++++++++++++++++++++ 1 file changed, 96 insertions(+) create mode 100644 zarb-ml/mageia-sysadm/2010-November/000954.html (limited to 'zarb-ml/mageia-sysadm/2010-November/000954.html') diff --git a/zarb-ml/mageia-sysadm/2010-November/000954.html b/zarb-ml/mageia-sysadm/2010-November/000954.html new file mode 100644 index 000000000..f946d33c2 --- /dev/null +++ b/zarb-ml/mageia-sysadm/2010-November/000954.html @@ -0,0 +1,96 @@ + + + + [Mageia-sysadm] [150] create tmp_chroot in one place only + + + + + + + + + +

[Mageia-sysadm] [150] create tmp_chroot in one place only

+ root at mageia.org + root at mageia.org +
+ Fri Nov 26 00:27:06 CET 2010 +

+
+ +
Revision: 150
+Author:   blino
+Date:     2010-11-26 00:27:06 +0100 (Fri, 26 Nov 2010)
+Log Message:
+-----------
+create tmp_chroot in one place only
+
+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:16:07 UTC (rev 149)
++++ build_system/iurt/trunk/lib/Iurt/Chroot.pm	2010-11-25 23:27:06 UTC (rev 150)
+@@ -425,7 +425,8 @@
+     plog('NOTIFY', "creating chroot");
+     plog('DEBUG', "... with packages " . join(', ', @{$opt->{packages}}));
+ 
+-    if (mkdir($tmp_chroot) && (!-f $chroot_tar || link $chroot_tar, $tmp_tar)) {
++    if (!-f $chroot_tar || link $chroot_tar, $tmp_tar) {
++	mkdir_p($tmp_chroot);
+ 	if (!-f $chroot_tar) {
+ 	    plog("rebuild chroot tarball");
+ 	    $rebuild = 1;
+@@ -452,7 +453,6 @@
+ 
+ 			$rebuild = 1;
+ 			sudo($run, $config, '--rm', '-r', $tmp_chroot);
+-			mkdir $tmp_chroot;
+ 			if (!build_chroot($run, $config, $tmp_chroot, $chroot_tar, $opt)) { 
+ 			    plog('NOTIFY', "creating chroot failed.");
+ 			    $clean->();
+-------------- next part --------------
+An HTML attachment was scrubbed...
+URL: </pipermail/mageia-sysadm/attachments/20101126/756191f2/attachment.html>
+
+ + + + + + + +
+

+ +
+More information about the Mageia-sysadm +mailing list
+ -- cgit v1.2.1