Kernel flavors specified that aren't in Ubuntu
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
flash-kernel (Ubuntu) |
Fix Released
|
Undecided
|
Dave Jones |
Bug Description
Each entry in the flash-kernel database specifies which kernel flavors are applicable for each machine type. Upstream (Debian) has separate flavors for it's 32-bit ('armmp' and 'armmp-lpae') and 64-bit ('arm64') ARM kernels, while Ubuntu uses the 'generic' (and 'generic-lpae') kernel flavors. This causes a failure during dpkg install, as flash-kernel is unable to find the correct kernel and errors out. There's also kernel flavors mentioned in the flash-kernel database that don't have an equivalent in Ubuntu (ex: mx5, exynos5, keystone).
As far as a concrete bug:
flash-kernel on Ubuntu fails to install cleanly on BeagleBone Black with the 'generic' kernel flavor installed. A workaround is to add an override in /etc/flash-
Machine: TI AM335x BeagleBone
Machine: TI AM335x BeagleBone Black
Kernel-Flavors: generic
DTB-Id: am335x-
Boot-Script-Path: /boot/boot.scr
U-Boot-Script-Name: bootscr.beaglebone
Required-Packages: u-boot-tools
Can I ask which Ubuntu image you're using with the BBB?
Generally speaking, we only change those entries in all.db for boards which Ubuntu explicitly supports, but perhaps we should be doing this for more boards if (otherwise) things "just work".