[2008.X] Flashing the kernel live

Jose Luis Perez Diez jluis at escomposlinux.org
Thu Sep 25 14:24:48 CEST 2008


El Thursday, 25 de September de 2008 12:10:10 roguemoko at roguewrt.org va 
escriure:
> > Does opkg recognize if the system was booted from flash or from the sd
> > card before update the kernel?
>
> Not to my knowledge, I make sure to rm /etc/default/flashkernel before
> an opkg upgrade. It's autocreated after the upgrade so there's probably
> a flag somewhere, I really should find it :)

When the file isn't found the install process "touch"  
/etc/default/flashkernel creating the file.

There is a best hack for it from Stefano Cavallari posted in this list 
(http://lists.openmoko.org/nabble.html#nabble-td832513) is better way just 
do:
rm /etc/default/flashkernel
mkdir /etc/default/flashkernel



Flashing starts if exist a file named /etc/default/flashkernel (this name is a 
directory now) so it just "touch" the name. 




More information about the community mailing list