[Bug 1917903] [NEW] Kernel flavors specified that aren't in Ubuntu

Will Ross 1917903 at bugs.launchpad.net
Fri Mar 5 15:34:37 UTC 2021


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
Foundations Bugs, which is subscribed to flash-kernel in Ubuntu.
https://bugs.launchpad.net/bugs/1917903

Title:
  Kernel flavors specified that aren't in Ubuntu

Status in flash-kernel package in Ubuntu:
  New

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-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

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



More information about the foundations-bugs mailing list