Preventing opkg upgrade from flashing the kernel partition

Stefano Cavallari stefano at cavallari.cjb.net
Fri Sep 5 12:20:10 CEST 2008


On Wednesday 03 September 2008 20:56:05 Mikael Berthe wrote:
[...]
> So Qtopia's postinst script contains
>
>     (...)
>     if [ -f /etc/default/flashkernel ] ; then
>         echo "Upgrading Kernel in Flash"
>         echo "DO NOT stop this process"
>         (flashing...)
>     else
>         touch /etc/default/flashkernel
>     fi
>
> (I'll check OM2008, I suppose it's the same.)
>
> So doing
>  rm /etc/default/flashkernel ; opkg upgrade
> seems to do what I want.  I'll try it.
>
FYI, trying 
rm /etc/default/flashkernel 
mkdir /etc/default/flashkernel
to see if it works as a parmanent (although dirty) fix.

I don't use the internal memory at all, so all that flashing just slows down 
my upgrades.
-- 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://lists.openmoko.org/pipermail/community/attachments/20080905/9bdcf4b2/attachment.pgp 


More information about the community mailing list