Ticket #1175 (closed defect: fixed)

Opened 11 years ago

Last modified 11 years ago

Automatic ipkg kernel upgrade needs stricter sanity check

Reported by: cwixon@… Owned by: willie_chen
Priority: high Milestone:
Component: Distro Version: 2007.2
Severity: normal Keywords:
Cc: buglog@… Blocked By:
Blocking: Estimated Completion (week):
HasPatchForReview: PatchReviewResult:


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.


wm8753-bandaid.patch (590 bytes) - added by graeme@… 11 years ago.
A possible bandaid for the quiet sound problem

Change History

Changed 11 years ago by graeme@…

A possible bandaid for the quiet sound problem

comment:1 Changed 11 years ago by graeme@…

  • attachments.isobsolete changed from 0 to 1

(From update of attachment 551)
Patch in wrong bug

comment:2 Changed 11 years ago by andy

  • Component changed from System Software to Distro

Moving to distro component, I guess this is solved already, if so, please close.

comment:3 Changed 11 years ago by roh

  • Owner changed from willie_chen@… to willie_chen

comment:4 Changed 11 years ago by graeme

  • Status changed from new to closed
  • Resolution set to fixed

This has been fixed in scripts.

Note: See TracTickets for help on using tickets.