Sure then try it and see.
yay -S linux-next-git
Already running
Are you installing the headers also?
I would have run
yay -S linux-next-git linux-next-git-headers
I think you need headers also donāt you?
Thank you. I would have completely forgotten that
If you need to build a new kernel update at some point again it may be useful. The other option would be to build it in a clean chroot, that way all the dependencies needed to build wonāt be installed on your actual system.
As mentioned earlier in this reply, it might be worth building it in a clean chroot thatās what I did, but I donāt know if building in a clean chroot is supported by pamac or yay.
It seems yay doesnāt support that but paru does.
I personally use aurutils because it has that option as well.
Why not? Thanks for the tip. How can one build it in a clean chroot and what the heck is a chroot anyway?
You do not mean this one, do you?
https://discovery.endeavouros.com/system-rescue/arch-chroot/2022/12/
Some AUR helpers support that, it seems paru does. Iām just installing to see if itās easy enough for you to use. The other option would be for me to compile the kernel for you and then place it somewhere to download. Then you could install it with āpacman -Uā but that would depend on whether you trust a stranger to do that for you.
Thatās chrooting into your system. Iām talking about this when builing a PKGBUILD in a clean chroot.
https://wiki.archlinux.org/title/chroot
It seems paru supports it but only if you use it with a localrepo.
āchroot [= /path/to/chroot]
Build packages in a chroot. This requires the LocalRepo option to be enabled. Optionally a directory may be passed to specify where to create the chroot.
I have no experience with using paru and local repos to build in a clean chroot, but I could try writing out how to setup aurutils with a localrepo and how to use it.
If I canāt get it to work myself, then I would gladly accept your kind offer. However, Iām generally a friend of learning things myself as much as possible and, in principle, it shouldnāt be rocket science.
If you are open to it, I can try to write you a step by step guide to setting up a local repo and how I use aurutils to build my AUR packages and how to install them with a local repo. But I donāt want to confuse you or anything and Iām not the best at explaining things.
Sure, if you could plese send me some kind of step by step guide, that would be awesome
I could do it over the weekend sometime and maybe if I have time Friday evening, since I am still busy the rest of this week.
Thank you so much. Letās wait and see if linux-next solves the problem, which we should find out today.
@ricklinux which AUR helper did you use to compile the PKGBUILD for that kernel?
pamac-aur-git
Does that support building in a clean chroot, I have never used it?
Itās funny on Mint i donāt remember compiling the mainline kernels. Maybe because itās a different package manager. I just donāt remember it taking very long to install any mainline kernel. I used to install every RC version until it went to the next mainline kernel.
I donāt know. I have never done that.
Edit: My cpu is very similar to yours but turbo boost is 4.7 and it was roughly the same time to compile.
Did you try building it with pamac?
You could also still try using the git version of pamac as it is what @ricklinux uses.