<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
 <HEAD>
   <TITLE> [Mageia-dev] [packages-commits] [226393] Migrate grub bootsplash params to new style: 'splash quiet' rather than 'splash=silent' (mga#3430)
   </TITLE>
   <LINK REL="Index" HREF="index.html" >
   <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20%5Bpackages-commits%5D%20%5B226393%5D%20Migrate%20grub%0A%20bootsplash%20params%20to%20new%20style%3A%20%27splash%20quiet%27%20rather%20than%20%27splash%3Dsilent%27%0A%20%28mga%233430%29&In-Reply-To=%3C4F6F7B37.9050807%40colin.guthr.ie%3E">
   <META NAME="robots" CONTENT="index,nofollow">
   <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
   <LINK REL="Previous"  HREF="013513.html">
   <LINK REL="Next"  HREF="013525.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[Mageia-dev] [packages-commits] [226393] Migrate grub bootsplash params to new style: 'splash quiet' rather than 'splash=silent' (mga#3430)</H1>
    <B>Colin Guthrie</B> 
    <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20%5Bpackages-commits%5D%20%5B226393%5D%20Migrate%20grub%0A%20bootsplash%20params%20to%20new%20style%3A%20%27splash%20quiet%27%20rather%20than%20%27splash%3Dsilent%27%0A%20%28mga%233430%29&In-Reply-To=%3C4F6F7B37.9050807%40colin.guthr.ie%3E"
       TITLE="[Mageia-dev] [packages-commits] [226393] Migrate grub bootsplash params to new style: 'splash quiet' rather than 'splash=silent' (mga#3430)">mageia at colin.guthr.ie
       </A><BR>
    <I>Sun Mar 25 22:08:23 CEST 2012</I>
    <P><UL>
        <LI>Previous message: <A HREF="013513.html">[Mageia-dev] [packages-commits] [226393] Migrate grub bootsplash params to new style: 'splash quiet' rather than 'splash=silent' (mga#3430)
</A></li>
        <LI>Next message: <A HREF="013525.html">[Mageia-dev] Too late for this ? (cairo 1.12)
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#13515">[ date ]</a>
              <a href="thread.html#13515">[ thread ]</a>
              <a href="subject.html#13515">[ subject ]</a>
              <a href="author.html#13515">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>'Twas brillig, and Colin Guthrie at 25/03/12 20:56 did gyre and gimble:
&gt;<i> 'Twas brillig, and Luc Menut at 25/03/12 20:55 did gyre and gimble:
</I>&gt;&gt;<i> Le 25/03/2012 19:08, Colin Guthrie a &#233;crit :
</I>&gt;&gt;&gt;<i> 'Twas brillig, and Luc Menut at 25/03/12 17:35 did gyre and gimble:
</I>&gt;&gt;&gt;&gt;<i> Le 25/03/2012 17:45, <A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">root at mageia.org</A> a &#233;crit :
</I>&gt;&gt;&gt;&gt;&gt;<i> Revision
</I>&gt;&gt;&gt;&gt;&gt;<i>      226393
</I>&gt;&gt;&gt;&gt;&gt;<i> Author
</I>&gt;&gt;&gt;&gt;&gt;<i>      colin
</I>&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;<i> [...]
</I>&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;&gt;<i> +%triggerpostun backend -- drakxtools-backend&lt;   14.1-2
</I>&gt;&gt;&gt;&gt;&gt;<i> +if [ -w /boot/grub/menu.lst ]; then
</I>&gt;&gt;&gt;&gt;&gt;<i> +  if grep -q splash= /boot/grub/menu.lst; then
</I>&gt;&gt;&gt;&gt;&gt;<i> +    echo&quot;Migrating kernel commandline bootsplash arguments in grub&quot;
</I>&gt;&gt;&gt;&gt;&gt;<i> +    sed -i 's/ splash=silent / splash quiet /;s/ splash=silent$/
</I>&gt;&gt;&gt;&gt;&gt;<i> splash quiet/;s/ splash=verbose / /;s/ splash=verbose$//;'
</I>&gt;&gt;&gt;&gt;&gt;<i> /boot/grub/menu.lst
</I>&gt;&gt;&gt;&gt;&gt;<i> +  fi
</I>&gt;&gt;&gt;&gt;&gt;<i> +fi
</I>&gt;&gt;&gt;&gt;&gt;<i> +
</I>&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;<i> IIUC this script, you update splash=silent&amp;  splash=verbose in
</I>&gt;&gt;&gt;&gt;<i> /boot/grub/menu.lst for all the lines.
</I>&gt;&gt;&gt;&gt;<i> What happens if we have entries for mga1 or other distros in the same
</I>&gt;&gt;&gt;&gt;<i> grub menu.lst ?
</I>&gt;&gt;&gt;&gt;<i> Aren't you going to break all these entries with such update?
</I>&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;<i> Personaly, I use the same /boot/grub/menu.lst for mga 1 and cauldron.
</I>&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;<i> Yeah, good point.
</I>&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;<i> Any suggestions on how to do this more gracefully?
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> Nope.
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> Is this trigger needed for an upgrade mga1-&gt;mga2? or is it only for
</I>&gt;&gt;<i> cauldron update?
</I>&gt;&gt;<i> If it's only for cauldron, I think that it would be safer to drop the
</I>&gt;&gt;<i> trigger.
</I>&gt;<i> 
</I>&gt;<i> Yeah, it's needed for mga1 -&gt; mga2 upgrade.
</I>
I guess the regexp could look for:

\(vmlinuz\( \|-3.3[^ ]*\) .*\) splash=silent

But that might not catch some variations.

I'd be tempted to say &quot;sod it&quot; as per Thierry's message. I guess chain
loading grubs is maybe more common on dual setups?

Col



-- 

Colin Guthrie
colin(at)mageia.org
<A HREF="http://colin.guthr.ie/">http://colin.guthr.ie/</A>

Day Job:
  Tribalogic Limited <A HREF="http://www.tribalogic.net/">http://www.tribalogic.net/</A>
Open Source:
  Mageia Contributor <A HREF="http://www.mageia.org/">http://www.mageia.org/</A>
  PulseAudio Hacker <A HREF="http://www.pulseaudio.org/">http://www.pulseaudio.org/</A>
  Trac Hacker <A HREF="http://trac.edgewall.org/">http://trac.edgewall.org/</A>
</PRE>













































<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI>Previous message: <A HREF="013513.html">[Mageia-dev] [packages-commits] [226393] Migrate grub bootsplash params to new style: 'splash quiet' rather than 'splash=silent' (mga#3430)
</A></li>
	<LI>Next message: <A HREF="013525.html">[Mageia-dev] Too late for this ? (cairo 1.12)
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#13515">[ date ]</a>
              <a href="thread.html#13515">[ thread ]</a>
              <a href="subject.html#13515">[ subject ]</a>
              <a href="author.html#13515">[ 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>