diff options
Diffstat (limited to 'zarb-ml/mageia-sysadm/2010-November/000954.html')
-rw-r--r-- | zarb-ml/mageia-sysadm/2010-November/000954.html | 96 |
1 files changed, 96 insertions, 0 deletions
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 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> + <HEAD> + <TITLE> [Mageia-sysadm] [150] create tmp_chroot in one place only + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5B150%5D%20create%20tmp_chroot%20in%20one%20place%20only&In-Reply-To=%3C20101125232706.708913FB18%40valstar.mageia.org%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="000953.html"> + <LINK REL="Next" HREF="000955.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[Mageia-sysadm] [150] create tmp_chroot in one place only</H1> + <B>root at mageia.org</B> + <A HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5B150%5D%20create%20tmp_chroot%20in%20one%20place%20only&In-Reply-To=%3C20101125232706.708913FB18%40valstar.mageia.org%3E" + TITLE="[Mageia-sysadm] [150] create tmp_chroot in one place only">root at mageia.org + </A><BR> + <I>Fri Nov 26 00:27:06 CET 2010</I> + <P><UL> + <LI>Previous message: <A HREF="000953.html">[Mageia-sysadm] [149] add a message when the chroot is already up-to-date +</A></li> + <LI>Next message: <A HREF="000955.html">[Mageia-sysadm] [151] simplify +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#954">[ date ]</a> + <a href="thread.html#954">[ thread ]</a> + <a href="subject.html#954">[ subject ]</a> + <a href="author.html#954">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>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> +</PRE> + + + + + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000953.html">[Mageia-sysadm] [149] add a message when the chroot is already up-to-date +</A></li> + <LI>Next message: <A HREF="000955.html">[Mageia-sysadm] [151] simplify +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#954">[ date ]</a> + <a href="thread.html#954">[ thread ]</a> + <a href="subject.html#954">[ subject ]</a> + <a href="author.html#954">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://www.mageia.org/mailman/listinfo/mageia-sysadm">More information about the Mageia-sysadm +mailing list</a><br> +</body></html> |