where can I get the linux-tools-5.18.2 or how to build linux-tools on ubuntu22.04 with kernel 5.18.2
Three Zhang
dhairoot at gmail.com
Sat Jun 25 06:11:24 UTC 2022
Thanks, I'll check it out.
Juerg Haefliger <juerg.haefliger at canonical.com> 于2022年6月21日周二 19:51写道:
> 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 --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20220625/b952bed2/attachment.html>
More information about the kernel-team
mailing list