[Bug 2012750] Re: flash-kernel breaks when locally built RPI kernels are installed.

Heinrich Schuchardt 2012750 at bugs.launchpad.net
Fri Mar 24 19:26:33 UTC 2023


Thank you for reporting the problem.

For analysis your script looks a bit complicated.

Starting from a Ubuntu Lunar preinstalled image:

- add your /etc/flash-kernel/db
- for a single Linux kernel version run dpkg -i linux-image*v8+.deb linux-modules*v8+.deb

Does this work or fail?

Please, provide the full log.

Best regards

Heinrich


** Changed in: flash-kernel (Ubuntu)
       Status: New => Incomplete

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

Title:
  flash-kernel breaks when locally built RPI kernels are installed.

Status in flash-kernel package in Ubuntu:
  Incomplete

Bug description:
  I have been repackaging the Raspberry Pi Foundation's official kernels
  for some time with this script:

  https://gist.github.com/satmandu/a507c59d84737f6d29ff353395819d51

  I could always install these kernels before and have flash-kernel not
  break.

  The updates to flash-kernel in lunar cause it to fail, with a "dpkg-
  query: no packages found matching" message.

  What's the best way to handle this? The kernel packages always end up
  built with naming such as linux-headers-6.1.20-v8+_all.deb and linux-
  image-6.1.20-v8+_arm64.deb.

  I use this in /etc/flash-kernel/db:
  # To override fields include the Machine field and the fields you wish to
  # override.
  #
  # e.g. to override Boot-Device on the Dreamplug to sdb rather than sda
  #
  #Machine: Globalscale Technologies Dreamplug
  #Boot-Device: /dev/sdb1
  Machine: Raspberry Pi 4 Model B
  Machine: Raspberry Pi 4 Model B Rev 1.1
  Machine: Raspberry Pi 4 Model B Rev 1.2
  Machine: Raspberry Pi 4 Model B Rev 1.4
  Machine: Raspberry Pi Compute Module 4 Rev 1.0
  Machine: Raspberry Pi 400 Rev 1.0
  Machine: Raspberry Pi 400 Rev 1.1
  Machine: Raspberry Pi *
  Kernel-Flavors: any
  #Method: pi
  #DTB-Id: bcm2711-rpi-4-b.dtb
  #U-Boot-Script-Name: bootscr.rpi
  #Required-Packages: u-boot-tools

  ProblemType: Bug
  DistroRelease: Ubuntu 23.04
  Package: flash-kernel 3.106ubuntu14
  Uname: Linux 6.1.20-v8+ aarch64
  ApportVersion: 2.26.0-0ubuntu2
  Architecture: arm64
  CasperMD5CheckResult: unknown
  Date: Fri Mar 24 11:55:21 2023
  ImageMediaBuild: 20211013
  ProcEnviron:
   LANG=C.UTF-8
   PATH=(custom, no user)
   SHELL=/bin/bash
   TERM=screen.xterm-256color
   XDG_RUNTIME_DIR=<set>
  SourcePackage: flash-kernel
  UpgradeStatus: No upgrade log present (probably fresh install)
  mtime.conffile..etc.flash-kernel.db: 2022-03-29T10:53:48.654542

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




More information about the foundations-bugs mailing list