summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2012-September/018405.html
diff options
context:
space:
mode:
Diffstat (limited to 'zarb-ml/mageia-dev/2012-September/018405.html')
-rw-r--r--zarb-ml/mageia-dev/2012-September/018405.html94
1 files changed, 94 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/2012-September/018405.html b/zarb-ml/mageia-dev/2012-September/018405.html
new file mode 100644
index 000000000..089cfbaea
--- /dev/null
+++ b/zarb-ml/mageia-dev/2012-September/018405.html
@@ -0,0 +1,94 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<HTML>
+ <HEAD>
+ <TITLE> [Mageia-dev] [soft-commits] [5526] (mkinitrd) More logging on why initrd generation is skipped
+ </TITLE>
+ <LINK REL="Index" HREF="index.html" >
+ <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20%5Bsoft-commits%5D%20%5B5526%5D%20%28mkinitrd%29%20More%20logging%20on%0A%20why%20initrd%20generation%20is%20skipped&In-Reply-To=%3CCAONrEtaLc5PHyFC3dDm43v1ztG_DzixViK9Gu%3DgSyxVBP0FMcA%40mail.gmail.com%3E">
+ <META NAME="robots" CONTENT="index,nofollow">
+ <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
+ <LINK REL="Previous" HREF="018408.html">
+ <LINK REL="Next" HREF="018407.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[Mageia-dev] [soft-commits] [5526] (mkinitrd) More logging on why initrd generation is skipped</H1>
+ <B>Thierry Vignaud</B>
+ <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20%5Bsoft-commits%5D%20%5B5526%5D%20%28mkinitrd%29%20More%20logging%20on%0A%20why%20initrd%20generation%20is%20skipped&In-Reply-To=%3CCAONrEtaLc5PHyFC3dDm43v1ztG_DzixViK9Gu%3DgSyxVBP0FMcA%40mail.gmail.com%3E"
+ TITLE="[Mageia-dev] [soft-commits] [5526] (mkinitrd) More logging on why initrd generation is skipped">thierry.vignaud at gmail.com
+ </A><BR>
+ <I>Sat Sep 1 17:16:00 CEST 2012</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="018408.html">[Mageia-dev] [soft-commits] [5525] (mkinitrd) Fix prefix checking in foreign partition check (mga#6966)
+</A></li>
+ <LI>Next message: <A HREF="018407.html">[Mageia-dev] [soft-commits] [5526] (mkinitrd) More logging on why initrd generation is skipped
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#18405">[ date ]</a>
+ <a href="thread.html#18405">[ thread ]</a>
+ <a href="subject.html#18405">[ subject ]</a>
+ <a href="author.html#18405">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>On 1 September 2012 16:40, &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">root at mageia.org</A>&gt; wrote:
+&gt;<i> (mkinitrd) More logging on why initrd generation is skipped
+</I>
+I would have prefer to see this as a temporary patch :-(
+
+&gt;<i> --- drakx/trunk/perl-install/bootloader.pm 2012-09-01 14:40:52 UTC (rev
+</I>&gt;<i> 5525)
+</I>&gt;<i> +++ drakx/trunk/perl-install/bootloader.pm 2012-09-01 14:40:53 UTC (rev
+</I>&gt;<i> 5526)
+</I>&gt;<i> @@ -110,10 +110,19 @@
+</I>&gt;<i> my ($kernel_version, $bootloader, $entry, $initrd) = @_;
+</I>&gt;<i>
+</I>&gt;<i> my $dir = dirname($initrd);
+</I>&gt;<i> - return $initrd if $::testing # testing mode
+</I>&gt;<i> - || -e &quot;$::prefix/$initrd&quot; # already exists
+</I>&gt;<i> - || $initrd =~ /\(hd/ # unrecognized partition
+</I>&gt;<i> - || !-d &quot;$::prefix/$dir&quot;;# dir doesn't exist (probably !mounted
+</I>&gt;<i> foreign part)
+</I>&gt;<i> + if ($::testing) {
+</I>&gt;<i> + log::l(&quot;Skipping initrd generation: testing mode&quot;);
+</I>&gt;<i> + return $initrd;
+</I>&gt;<i> + } elsif (-e &quot;$::prefix/$initrd&quot;) {
+</I>&gt;<i> + log::l(&quot;Skipping initrd generation: already exists&quot;);
+</I>&gt;<i> + return $initrd;
+</I>&gt;<i> + } elsif ($initrd =~ /\(hd/) {
+</I>&gt;<i> + log::l(&quot;Skipping initrd generation: unrecognized partition&quot;);
+</I>&gt;<i> + return $initrd;
+</I>&gt;<i> + } elsif (!-d &quot;$::prefix/$dir&quot;) {
+</I>&gt;<i> + log::l(&quot;Skipping initrd generation: dir doesn't exist (probably
+</I>&gt;<i> !mounted foreign part)&quot;);
+</I>&gt;<i> + return $initrd;
+</I>&gt;<i> + }
+</I></PRE>
+
+
+
+
+
+
+
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+ <LI>Previous message: <A HREF="018408.html">[Mageia-dev] [soft-commits] [5525] (mkinitrd) Fix prefix checking in foreign partition check (mga#6966)
+</A></li>
+ <LI>Next message: <A HREF="018407.html">[Mageia-dev] [soft-commits] [5526] (mkinitrd) More logging on why initrd generation is skipped
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#18405">[ date ]</a>
+ <a href="thread.html#18405">[ thread ]</a>
+ <a href="subject.html#18405">[ subject ]</a>
+ <a href="author.html#18405">[ author ]</a>
+ </LI>
+ </UL>
+
+<hr>
+<a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev
+mailing list</a><br>
+</body></html>