Comment 13 for bug 2041741

Revision history for this message
Dave Jones (waveform) wrote :

Okay, new version pushed to the PPA. I need sleep, so I'm afraid I'm not going to be around to test it for another 10 hours or so, but if anyone wants to see the source I'm building from, see the "fanfix" branch in https://code.launchpad.net/~waveform/ubuntu/+source/linux-raspi/+git/mantic. This can be compared to the repo at https://code.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux-raspi/+git/mantic which was my base, specifically the Ubuntu-raspi-6.5.0-1007.9 tag.

Given the kernel's slightly bizarre package format (1.0!) there will be further differences to the sources uploaded to the PPA. If you want to replicate the source build yourself (either to verify there's nothing iffy going on, or that I have a clue what I'm doing :) the following procedure should replicate the build of the source package, assuming you have a mantic chroot set up for sbuild:

  # Get the pre-requisites
  sudo apt install ubuntu-dev-tools sbuild fakeroot

  # Grab the current linux-raspi source package to get the orig tar-ball
  pull-lp-source --download-only linux-raspi mantic

  # Grab my branch (this will take a while)
  git clone https://git.launchpad.net/~waveform/ubuntu/+source/linux-raspi/+git/mantic linux-raspi
  cd linux-raspi
  git checkout fanfix

  # Build the source package
  fakeroot ./debian/rules clean
  sbuild --no-arch-all --no-arch-any --source --dist mantic

At this point you should have a linux-raspi_6.5.0-1007.10~fanfix1_source.changes in the parent directory (with accompanying files, including a .diff.gz) which you could upload to a PPA (set for arm64/armhf builds) to build your own version. This *should* match what I'm building in my fan-fix PPA.