Flash-kernel shouldn't raise any errors while running inside vm instance
Bug #1298070 reported by
Oleg Strikov
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.
Related branches
lp:~strikov-deactivatedaccount/flash-kernel/running-inside-vm-instance-2
- Ubuntu Installer Team: Pending requested
-
Diff: 17 lines (+10/-0)1 file modifieddb/all.db (+10/-0)
description: | updated |
Changed in flash-kernel (Ubuntu): | |
status: | New → In Progress |
assignee: | nobody → Adam Conrad (adconrad) |
To post a comment you must log in.
Proposed branch includes three no-op entries: for armhf, arm64 and ARMv8 fast model (all of them provide different entries in /proc/cpuinfo)