[Bug 2073010] Re: Module involflt doesn't build for kernel at build time

John Cabaj 2073010 at bugs.launchpad.net
Fri Jul 19 12:47:55 UTC 2024


This is a debdiff for Jammy applicable to 0.1.0-0ubuntu7~22.04.1. This
was built using sbuild against a Jammy chroot, and works as intended.

** Patch added: "5-0.1.0-0ubuntu7~22.04.1.debdiff"
   https://bugs.launchpad.net/ubuntu/+source/involflt/+bug/2073010/+attachment/5798609/+files/5-0.1.0-0ubuntu7~22.04.1.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/2073010

Title:
  Module involflt doesn't build for kernel at build time

Status in involflt package in Ubuntu:
  In Progress
Status in involflt source package in Focal:
  Incomplete
Status in involflt source package in Jammy:
  Incomplete
Status in involflt source package in Noble:
  Incomplete
Status in involflt source package in Oracular:
  In Progress

Bug description:
  [Impact]

  * For Focal and Jammy releases, the package never left the -proposed pocket due to dh-dkms being added to initial upload during sponsorship, which is not available in those respective releases.
  * For Noble release, the package is only installable via DKMS, but cannot be built and signed alongside the kernel build during kernel SRU cycle (https://wiki.ubuntu.com/Kernel/StableReleaseCadence). This is because the kernel source directory was fixed to /lib/modules/($uname -r), which works for building when DKMS package is installed, but not when built within context of a Launchpad kernel build, where the build headers are self-contained during the build process.
  * Correcting src/md5.c also mistakenly set to public domain in copyright
  * Using debhelper-compat (= 12) for Focal
  * Correcting section from "misc" to "kernel"
  * Removing executable permissions from C source files
  * Updating Standards-Version to 4.7.0

  [Fix]

  * Simple re-package, with updated .dkms file, dependencies, and
  copyright

  [Test Plan]

  * Install requisite kernel (Focal, Jammy, or Noble) in some virtual environment (LXD or otherwise)
  * Install DKMS module, which will rebuild against the kernel installed
  * Ensure DKMS module builds and installs properly, and the module can be inserted via insmod

  * Microsoft has additionally tested the module in-depth

  [Where problems could occur]

  * Regression risk is low as this module has been tested already, and these changes are limited to packaging.
  * These updates allow the module to build for both Focal and Jammy, as those packages never left the -proposed pocket due to build dependency issues.
  * In the case of Noble, the risk is that this could fail to build in some unforeseen circumstance where the kernel_source_dir variable is missing, though that would point to broader issues in DKMS.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/involflt/+bug/2073010/+subscriptions




More information about the Ubuntu-sponsors mailing list