Flash-kernel shouldn't raise any errors while running inside vm instance

Bug #1298070 reported by Oleg Strikov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
flash-kernel (Ubuntu)
Fix Released
Undecided
Adam Conrad

Bug Description

While running flash-kernel inside qemu instance on armhf I get the following error:

$ flash-kernel
Unsupported platform.
$ echo $?
1

This happens because dtb is not provided (we don't need it) and /proc/cpuinfo contains the following information:
Hardware : Dummy Virtual Machine
But we don't have description for this 'Dummy Virtual Machine' inside all.db.

This leads to a crash of curtin (ubuntu fast path installer) because it checks the return code.

description: updated
Revision history for this message
Oleg Strikov (strikov-deactivatedaccount) wrote :

Proposed branch includes three no-op entries: for armhf, arm64 and ARMv8 fast model (all of them provide different entries in /proc/cpuinfo)

description: updated
Adam Conrad (adconrad)
Changed in flash-kernel (Ubuntu):
status: New → In Progress
assignee: nobody → Adam Conrad (adconrad)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package flash-kernel - 3.0~rc.4ubuntu49

---------------
flash-kernel (3.0~rc.4ubuntu49) trusty; urgency=medium

  * db/all.db: add dummy entries as noops when running on VMs (LP: #1298070)
 -- Adam Conrad <email address hidden> Thu, 10 Apr 2014 04:15:37 -0600

Changed in flash-kernel (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.