Ticket #1175 (closed defect: fixed)
Automatic ipkg kernel upgrade needs stricter sanity check
|Reported by:||cwixon@…||Owned by:||willie_chen|
|Blocking:||Estimated Completion (week):|
Last night, I did a bleeding-edge update and build, then did the usual ipkg
update && ipkg upgrade dance.
A new version of the kernel was built (svnr3810), and I ended up with an .ipk
but for some reason I *didn't* get a corresponding kernel image file.
During the ipkg upgrade, the automatic ipkg kernel flasher erased the existing
kernel partition before discovering it didn't have anything to flash, so I ended
up with an empty kernel partition and the device would not boot.
This was easy enough to fix (this time) with a manual kernel flash using
dfu-util, but it probably shouldn't have erased the partition without first
checking (and perhaps even MD5-ing) the image it intends to flash.