HomeFreeBSD

Work around Raspberry Pi kernel packaging oddities

Description

Work around Raspberry Pi kernel packaging oddities

On Debian and Ubuntu and friends, you get something like
"linux-image-$(uname -r)" and "linux-headers-$(uname -r)" you
can put a Depends on.

On Raspberry Pi OS, you get "raspberrypi-kernel" and
"raspberrypi-kernel-headers", with version numbers like 20230411.

There is not, as far as I can tell, a reasonable way to map that
to a kernel version short of reaching out and digging around in
the changelogs or Makefile, so just special-case it so the packages
don't fail to install at install time. They still might not build
if the versions don't match, but I don't see a way to do anything
about that...

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Rich Ercolani <rincebrain@gmail.com>
Closes #14745
Closes #14747

Details

Provenance
rincebrain_gmail.comAuthored on Apr 18 2023, 12:38 AM
GitHub <noreply@github.com>Committed on Apr 18 2023, 12:38 AM
Parents
rG3b5af2013992: Fix VERIFY(!zil_replaying(zilog, tx)) panic
Branches
Unknown
Tags
Unknown