[Bug 1980519] [NEW] flash-kernel fails on QEMU

Heinrich Schuchardt 1980519 at bugs.launchpad.net
Fri Jul 1 12:10:05 UTC 2022


Public bug reported:

http://cloud-images.ubuntu.com/kinetic/current/kinetic-server-cloudimg-
riscv64.img contains package flash-kernel. When running on QEMU updating
the initramfs leads to an error:


Processing triggers for initramfs-tools (0.140ubuntu13) ...
update-initramfs: Generating /boot/initrd.img-5.17.0-1003-starfive
Unsupported platform 'riscv-virtio,qemu'.
run-parts: /etc/initramfs/post-update.d//flash-kernel exited with return code 1
dpkg: error processing package initramfs-tools (--configure):
 installed initramfs-tools package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 initramfs-tools
needrestart is being skipped since dpkg has failed


Either flash-kernel should be removed from the image or flash kernel should be changed to ignore the unsupported platform.

Patching flash-kernel seems preferable.

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


** Tags: fr-2517

** Tags added: fr-2517

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

Title:
  flash-kernel fails on QEMU

Status in flash-kernel package in Ubuntu:
  New

Bug description:
  http://cloud-images.ubuntu.com/kinetic/current/kinetic-server-
  cloudimg-riscv64.img contains package flash-kernel. When running on
  QEMU updating the initramfs leads to an error:

  
  Processing triggers for initramfs-tools (0.140ubuntu13) ...
  update-initramfs: Generating /boot/initrd.img-5.17.0-1003-starfive
  Unsupported platform 'riscv-virtio,qemu'.
  run-parts: /etc/initramfs/post-update.d//flash-kernel exited with return code 1
  dpkg: error processing package initramfs-tools (--configure):
   installed initramfs-tools package post-installation script subprocess returned error exit status 1
  Errors were encountered while processing:
   initramfs-tools
  needrestart is being skipped since dpkg has failed

  
  Either flash-kernel should be removed from the image or flash kernel should be changed to ignore the unsupported platform.

  Patching flash-kernel seems preferable.

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




More information about the foundations-bugs mailing list