summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2012-March/013515.html
blob: 29d06e2893f491de7385dd1d61d4db4829a102a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
<!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>