where can I get the linux-tools-5.18.2 or how to build linux-tools on ubuntu22.04 with kernel 5.18.2
Juerg Haefliger
juerg.haefliger at canonical.com
Tue Jun 21 11:51:03 UTC 2022
On Fri, 17 Jun 2022 21:27:12 +0800
Three Zhang <dhairoot at gmail.com> wrote:
> hi guys,
>
> My ubuntu version is 22.04 .
> I download the new version of kernel which is 5.18.2 for my intel i7 12700
> from here https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.18.2/
> <https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.18.2/> .
> But there is no matched linux-tools package in ubuntu repository.
> So I would like to build linux-tools package from source .
> Firstly , I clone the source code from here git://
> git.launchpad.net/~ubuntu-kernel-test/ubuntu/+source/linux/+git/mainline-crack
> cod/mainline/v5.18.2 .
> What should I do next ?
You need to rebuild the packages:
$ git clone git.launchpad.net/~ubuntu-kernel-test/ubuntu/+source/linux/+git/mainline-crack
$ cd mainline-crack
$ git checkout cod/mainline/v5.18.2
$ fakeroot debian/rules clean
$ dpkg-checkbuilddeps
$ fakeroot debian/rules do_linux_tools=true binary-generic
This will build the kernel and modules and tools so will take quite a bit of time.
> Or is there any repositories that contain linux-tools-5.18.2 package ?
No. We do not auto-build that package for mainline kernels.
...Juerg
> Thanks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20220621/61e567cf/attachment.sig>
More information about the kernel-team
mailing list