[Bug 1811984] Re: flash-kernel 3.90ubuntu3.18.10.1 fails with mkimage: not found if no uboot is used

Markus Birth 1811984 at bugs.launchpad.net
Wed Jan 16 13:35:38 UTC 2019


The thing is: In the previous version, flash-kernel ignored if mkimage
was missing and just continued normally without throwing any error or
even showing any warning. Which is the behaviour I'd prefer.

The new version aborts and throws an error although there's no need to
run mkimage on my system (a Raspberry Pi with somewhat recent firmware
can boot the Linux kernel directly without the need for uboot). In my
eyes this is a newly introduced bug. Especially if flash-kernel doesn't
run properly with a "recommended" package missing.

The image I'm using is the Ubuntu arm64 one - but I got rid of u-boot.

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

Title:
  flash-kernel 3.90ubuntu3.18.10.1 fails with mkimage: not found if no
  uboot is used

Status in flash-kernel package in Ubuntu:
  Invalid

Bug description:
  After updating flash-kernel from 3.90ubuntu3 to 3.90ubuntu3.18.10.1,
  dpkg aborted with this error:

  Processing triggers for flash-kernel (3.90ubuntu3.18.10.1) ...
  Using DTB: bcm2710-rpi-3-b-plus.dtb
  Installing /lib/firmware/4.18.0-1009-raspi2/device-tree/broadcom/bcm2710-rpi-3-b-plus.dtb into /boot/dtbs/4.18.0-1009-raspi2/bcm2710-rpi-3-b-plus.dtb
  Taking backup of bcm2710-rpi-3-b-plus.dtb.
  Installing new bcm2710-rpi-3-b-plus.dtb.
  flash-kernel: installing version 4.18.0-1009-raspi2
  Taking backup of vmlinuz.
  Installing new vmlinuz.
  Taking backup of bcm2710-rpi-3-b-plus.dtb.
  Installing new bcm2710-rpi-3-b-plus.dtb.
  Taking backup of initrd.img.
  Installing new initrd.img.
  Generating boot script u-boot image... /usr/sbin/flash-kernel: 497: /usr/sbin/flash-kernel: mkimage: not found
  dpkg: error processing package flash-kernel (--configure):
   installed flash-kernel package post-installation script subprocess returned error exit status 127
  Errors were encountered while processing:
   flash-kernel

  
  The missing mkimage tool is in the package u-boot-tools which is recommended, but no dependency. Since I don't use uboot, I don't have that installed.

  The previous version of flash-kernel didn't care about that and worked
  just fine (updated DTB, initrd and vmlinuz).

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



More information about the foundations-bugs mailing list