<!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=%3C4F6F7848.9010104%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="013500.html">
   <LINK REL="Next"  HREF="013514.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=%3C4F6F7848.9010104%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 21:55:52 CEST 2012</I>
    <P><UL>
        <LI>Previous message: <A HREF="013500.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="013514.html">[Mageia-dev] [packages-commits] [226393] Migrate grub bootsplash params to new style: 'splash quiet' rather than 'splash=silent' (mga#3430)
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#13512">[ date ]</a>
              <a href="thread.html#13512">[ thread ]</a>
              <a href="subject.html#13512">[ subject ]</a>
              <a href="author.html#13512">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>'Twas brillig, and Luc Menut at 25/03/12 17:35 did gyre and gimble:
&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;<i> Revision
</I>&gt;&gt;<i>     226393
</I>&gt;&gt;<i> Author
</I>&gt;&gt;<i>     colin
</I>&gt;<i> 
</I>&gt;<i> [...]
</I>&gt;<i> 
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> +%triggerpostun backend -- drakxtools-backend&lt;  14.1-2
</I>&gt;&gt;<i> +if [ -w /boot/grub/menu.lst ]; then
</I>&gt;&gt;<i> +  if grep -q splash= /boot/grub/menu.lst; then
</I>&gt;&gt;<i> +    echo&quot;Migrating kernel commandline bootsplash arguments in grub&quot;
</I>&gt;&gt;<i> +    sed -i 's/ splash=silent / splash quiet /;s/ splash=silent$/
</I>&gt;&gt;<i> splash quiet/;s/ splash=verbose / /;s/ splash=verbose$//;'
</I>&gt;&gt;<i> /boot/grub/menu.lst
</I>&gt;&gt;<i> +  fi
</I>&gt;&gt;<i> +fi
</I>&gt;&gt;<i> +
</I>&gt;<i> 
</I>&gt;<i> IIUC this script, you update splash=silent &amp; splash=verbose in
</I>&gt;<i> /boot/grub/menu.lst for all the lines.
</I>&gt;<i> What happens if we have entries for mga1 or other distros in the same
</I>&gt;<i> grub menu.lst ?
</I>&gt;<i> Aren't you going to break all these entries with such update?
</I>&gt;<i> 
</I>&gt;<i> Personaly, I use the same /boot/grub/menu.lst for mga 1 and cauldron.
</I>
Yeah, good point.

Any suggestions on how to do this more gracefully?

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="013500.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="013514.html">[Mageia-dev] [packages-commits] [226393] Migrate grub bootsplash params to new style: 'splash quiet' rather than 'splash=silent' (mga#3430)
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#13512">[ date ]</a>
              <a href="thread.html#13512">[ thread ]</a>
              <a href="subject.html#13512">[ subject ]</a>
              <a href="author.html#13512">[ 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>