Open mtippmann opened 1 year ago
The packages come from the mkdebian
script that's part of the mainline Linux kernel.
That logic doesn't not currently generate packages for some of those tools that are provided within the kernel tree.
I think it could be interesting to have those, but rather than have the Zabbly packaging add a bunch of packaging logic on top of what's provided by the kernel tree, this should probably be contributed directly to mkdebian
in the upstream tree.
Oh, I was trying to get perf
working in latest kernels, but that's somewhat a missing piece. Any way to get this?
Oh, I was trying to get
perf
working in latest kernels, but that's somewhat a missing piece. Any way to get this?
my workaround is just setting symlinks and install latest tools - for most use cases they don't need a hard dependency on the kernel
user@machine:/usr/lib/linux-tools$ ls -al
insgesamt 28
drwxr-xr-x 4 root root 7 Nov 22 06:36 .
drwxr-xr-x 116 root root 200 Nov 22 06:39 ..
drwxr-xr-x 2 root root 3 Nov 22 06:39 5.15.0-88-generic
drwxr-xr-x 2 root root 11 Nov 22 06:36 5.15.0-89-generic
lrwxrwxrwx 1 root root 18 Nov 4 01:57 6.5.6-zabbly+ -> 5.15.0-88-generic/
lrwxrwxrwx 1 root root 18 Nov 4 01:58 6.5.8-zabbly+ -> 5.15.0-88-generic/
lrwxrwxrwx 1 root root 18 Nov 4 01:58 6.5.9-zabbly+ -> 5.15.0-88-generic/
I failed at my last attempt to refresh the links on every upgrade but with enough dpkg
foo this should be possible.
Yeah, I still think the best option will be to introduce a new binary package to the kernel build, similar to how linux-libc-dev is handled. It shouldn't be too difficult to do, though not having it conflict with how Debian and Ubuntu do things may be slightly more challenging (as the kernel packaging logic is mostly distro agnostic).
thanks for creating this!
I have a minor suggestion: tools like
cpupower
andx86_energy_performance
are packaged in ubuntu in kernel-specific packageslinux-tools-<kernel-variant>-<version>
- would be great if the corresponding packages would also exist for zabbly kernel.