Preventing opkg upgrade from flashing the kernel partition

Mikael Berthe mikael.berthe at lilotux.net
Mon Sep 1 22:41:47 CEST 2008


* Marcel <tanuva at googlemail.com> [2008-09-01 22:21 +0200]:
> Am Montag 01 September 2008 22:12:03 schrieb Mikael Berthe:
> >
> > I have several systems on the Freerunner and I would like to know if
> > there's a way to prevent opkg from flashing a new kernel to NAND.
> >
> > Is there such an option?
> 
> You could try removing any "write" flags from the uImage.bin so that it gets 
> readonly.

I want to preserve the flash kernel partition, not the uImage.bin files
in the filesystems.

Maybe I can write-protect /dev/mtdblockX but I'm not sure it would work
(I don't know how the package works, cannot find a kernel package in the
current repositories) and it looks ugly...
-- 
MiKael




More information about the community mailing list