Public bug reported:

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-kernel/db that specifies the 'generic' kernel flavor as allowed:

Machine: TI AM335x BeagleBone
Machine: TI AM335x BeagleBone Black
Kernel-Flavors: generic
DTB-Id: am335x-boneblack.dtb
Boot-Script-Path: /boot/boot.scr
U-Boot-Script-Name: bootscr.beaglebone
Required-Packages: u-boot-tools

** Affects: flash-kernel (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1917903

Title:
  Kernel flavors specified that aren't in Ubuntu

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/flash-kernel/+bug/1917903/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to