[Bug 2046250] Re: [FFe][needs-packaging] raspi-utils (replacement for raspberrypi-userland)

Dave Jones 2046250 at bugs.launchpad.net
Thu Dec 12 15:08:36 UTC 2024


I think we're going to need quite a few changes from the upstream for
our purposes here. This is mostly cribbed from my former PPA, but
looking at the diff:

d/control

* We need to declare libraspberrypi-bin as an empty transitional package
in raspi-utils, and set the break/replaces on it to be strictly less
than our current version (0~20230913+gitcc1ca18-1~), otherwise regular
apt upgrade can't proceed (since it can't remove packages but
libraspberrypi-bin is declared as breaking)

* We should bump the standards version and debhelper-compat as they're
both very out of date (and remove the compat file as it'll interfere
with later debhelper-compat levels)

* raspi-utils-{core,otp,dt,eeprom} need architecture limiting to armhf,
arm64 (RaspiOS can get away with sticking "any" here, but we can't)

* We don't need the ovmerge transitional package as we never had it in
the archive

* raspi-utils binary package mustn't have a dependency on raspinfo if
we're not shipping it

There's also quite a lot of lintian warnings that I'd like to squash:

* A troff warning -- I need to forward the fix for this upstream

* The script-with-language-extension I had a trivial patch for (again, I
need to forward that upstream)

* The various missing man-page warnings can be overridden, noting
they're missing upstream. This should give us a lintian build which will
still warn if they get added upstream (with a mismatched override)

Most of this is pretty minor stuff, but the upgrade (replacing
libraspberrypi-bin) must be tested as it's tricky to get it completely
right (e.g. works in full-upgrade, upgrade, and release upgrades purge
the old package).

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

Title:
  [FFe][needs-packaging] raspi-utils (replacement for raspberrypi-
  userland)

Status in raspberrypi-userland package in Ubuntu:
  Confirmed

Bug description:
  [ Impact ]

  URL: https://github.com/raspberrypi/utils
  License: GPL-2 or BSD-3-Clause
  Notes:

  The raspberrypi-userland package was deprecated upstream some time ago
  (prior to noble in fact), with the majority of the utilities
  (dtoverlay, dtmerge, vcgencmd, vclog, etc.) moving to the raspi-utils
  package. Recent versions of rpi-eeprom-update (which we need to pull
  in to fix other issues, e.g. LP: #2078806) now include functionality
  introduced since the move to raspi-utils.

  We should include raspi-utils in oracular with all the appropriate
  Breaks + Replaces bits to handle replacing the existing package.

  [ Test Plan ]

  * With EEPROM boot firmware from current Ubuntu:

  * Build the package in ppa:waveform/raspi-utils
  * Test the function of the package on supported models. Specifically, on Pi 5, Pi 4, CM4, and at least one of the 2/3/3+ generation
  * Especially: check vcgencmd, dtoverlay, dtparam still operate as expected as these are the major components used by other utilities

  * Update EEPROM boot firmware to current RaspiOS version and repeat
  above tests.

  [ Regression Potential ]

  Given the nature of some of the utilities (e.g. low-level mailbox
  communication in vcmailbox, device-tree overlay manipulation in
  dtoverlay and dtparam), there is a reasonable risk that we may break
  functionality by upgrading. However, these utilities tend to move in
  step with the RPi firmware, and if we are updating that firmware,
  these utilities should be updated too in order to minimize the risk of
  regression.

  Nonetheless, the test plan should be followed on a wide variety of
  models, and as much functionality should be tested as possible, with
  old and new firmware to spot potential regressions.

  [ Addendum ]

  Note to self: don't forget to update the seeds

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/raspberrypi-userland/+bug/2046250/+subscriptions




More information about the foundations-bugs mailing list