<div dir="ltr"><br>On Thu, Sep 25, 2008 at 2:24 PM, Jose Luis Perez Diez <span dir="ltr">&lt;<a href="mailto:jluis@escomposlinux.org">jluis@escomposlinux.org</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
El Thursday, 25 de September de 2008 12:10:10 <a href="mailto:roguemoko@roguewrt.org">roguemoko@roguewrt.org</a> va<br>
escriure:<br>
<div class="Ih2E3d">&gt; &gt; Does opkg recognize if the system was booted from flash or from the sd<br>
&gt; &gt; card before update the kernel?<br>
&gt;<br>
&gt; Not to my knowledge, I make sure to rm /etc/default/flashkernel before<br>
&gt; an opkg upgrade. It&#39;s autocreated after the upgrade so there&#39;s probably<br>
&gt; a flag somewhere, I really should find it :)<br>
<br>
</div>When the file isn&#39;t found the install process &quot;touch&quot;<br>
/etc/default/flashkernel creating the file.<br>
<br>
There is a best hack for it from Stefano Cavallari posted in this list<br>
(<a href="http://lists.openmoko.org/nabble.html#nabble-td832513" target="_blank">http://lists.openmoko.org/nabble.html#nabble-td832513</a>) is better way just<br>
do:<br>
rm /etc/default/flashkernel<br>
mkdir /etc/default/flashkernel<br></blockquote></div><br>Ok this will prevent that if opkg is launched form a system booted on the SD it will not flash the kernel, leaving the flash os ok, but is the SD upgrade safe? or may the upgraded modules not match the SD kernel image?<br>
<br>&nbsp;&nbsp;&nbsp; Nicola<br><br><br><br><br></div>