Merge ~sbeattie/ubuntu-cve-tracker/+git/ubuntu-cve-tracker:fix_kernel_abi_breakage_check into ubuntu-cve-tracker:master
Status: | Merged |
---|---|
Merged at revision: | 8ebcab1e6e0e45ac6068f250cc5c698137e8450e |
Proposed branch: | ~sbeattie/ubuntu-cve-tracker/+git/ubuntu-cve-tracker:fix_kernel_abi_breakage_check |
Merge into: | ubuntu-cve-tracker:master |
Diff against target: |
36 lines (+14/-2) 2 files modified
scripts/kernel_lib.py (+6/-2) scripts/test_kernel_lib.py (+8/-0) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Rodrigo Figueiredo Zaiden | Approve | ||
Review via email: mp+466970@code.launchpad.net |
Commit message
kernel_lib: fix kernel_abi_check for noble kernel meta packages
The kernel team changed the version format for their meta packages with
the noble release, from:
UPSTREAM_
to:
UPSTREAM_
which matches the base kernel package version scheme. However, our
tool for ensuring that the currently published meta package ABI in
the archive matches the base kernel's ABI was not expecting this
change in behavior, so it would compute the ABI version incorrectly,
leading to failures like:
FAIL: ABI mismatch in noble-updates: 5 != 1005 (linux-meta-raspi 6.8.0-1005.5 vs linux-raspi 6.8.0-1005.5)
where it should have computed the ABI as 1005.
Added testcases as well.
LGTM. Thanks!