[PATCH 0/1][SRU][Unstable] include derived type in libcpupower versioned surffix

You-Sheng Yang vicamo.yang at canonical.com
Thu Oct 5 16:58:48 UTC 2023


BugLink: https://bugs.launchpad.net/bugs/2035971

[Impact]

linux-tools packages for derived kernels refuse to install simultaneously due
to libcpupower name collision.

[Fix]

Pass additional suffix to LIB_MIN variable when compiling cpupower.

[Test Case]

$ dpkg-deb -R ../linux-unstable-tools-6.*.deb .
$ find usr/lib -name libcpupower.so.\*
usr/lib/libcpupower.so.6.6.0-4-unstable

$ readelf -d usr/lib/linux-unstable-tools-*/cpupower |grep libcpupower
 0x0000000000000001 (NEEDED) Shared library: [libcpupower.so.6.6.0-4-unstable]

[Where problems could occur]

libcpupower is not exposed as normal shared libraries like Debian does,
so the consequence of the modification of its SONAME should be limited.

[Other Info]

Nominate for Unstable only for comments and experiments first.

You-Sheng Yang (1):
  UBUNTU: SAUCE: [Packaging] include derived type in libcpupower
    versioned surffix

 debian/rules.d/2-binary-arch.mk | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

-- 
2.40.1




More information about the kernel-team mailing list