Kwizart/kernel-longterm-6.12

Description

Kernel built of longterm 6.12 branch

This repository is created in the hope it will be useful. But is provided without any warranty.

This kernel built of the long term (LT) support 6.12 branch is derived from the fedora spec file adapted to build across RHEL/CentOS Stream and current Fedora releases. This kernel should be useful for those using external kernel modules, but don't want to re-base their kernel too often and break their external modules compatibility. It should also be useful for "Enterprise Linux" users where their modified kernel might produce incompatibilities with external modules. Or even those of us who want to run closer to upstream kernel code. Last, but not least, it also allows to verify kernel regressions and helps bisect and identify them into LT branches, so they can be reported upstream.

If you want to provide any donation, contributions are welcomed with paypal.me/kwizart

Installation Instructions

Switch to kernel longterm 6.12

sudo dnf copr enable kwizart/kernel-longterm-6.12 sudo dnf install kernel-longterm sudo reboot

Install devel packages for external kernel modules needs

sudo dnf install kernel-longterm-devel

Install on ostree based systems:

sudo rpm-ostree cliwrap install-to-root

sudo rpm-ostree override remove kernel kernel-{core,modules,modules-extra} --install kernel-longterm --install kernel-longterm-core --install kernel-longterm-modules --install kernel-longterm-modules-extra && ostree container commit

Active Releases

The following unofficial repositories are provided as-is by owner of this project. Contact the owner directly for bugs or issues (IE: not bugzilla).

* Total number of downloaded packages.


This is a companion discussion topic for the original entry at https://copr.fedorainfracloud.org/coprs/kwizart/kernel-longterm-6.12

I think you forgot to add the gpg key to the repo

error: Updating rpm-md repo 'copr:copr.fedorainfracloud.org:kwizart:kernel-longterm-6.12': Failed to download gpg key for repo 'copr:copr.fedorainfracloud.org:kwizart:kernel-longterm-6.12': Status code: 404 for https://download.copr.fedorainfracloud.org/results/kwizart/kernel-longterm-6.12/pubkey.gpg (IP: XXX.XXX.XX.XX)

Will this receive Ntsync driver backport?

I tested further with installing on atomic desktops

the kernel-install wrapper is still not found

What I did

1. Use a container based system

Not sure if this is needed, but you can use universal blue systems, or the unofficial Fedora OCI images (which are the base of the entirety of universal blue since forever)

note that both of these are not supported by the projects, but the process is pretty unproblematic if you pin the working versions

2. install recent rpm-ostree

the current rpm-ostree is still not updated to 2025.5-2.fc41 which adds the kernel-install subcommand

It can be easily replaced with the new one, but note that you will not get updates then. It will not be needed anymore once rpm-ostree is updated

rpm-ostree override replace https://bodhi.fedoraproject.org/updates/FEDORA-2025-3dfc505946

3. add the COPR

you can use my script

Or just download the file to /etc/yum.repos.d and fix the SELinux contexts

4. replace the kernel

make a backup

run0
ostree admin pin 0

uBlue has the kernel-devel-matched installed, so this needs to be added

rpm-ostree override remove kernel kernel-{core,modules,modules-extra,devel-matched} --install kernel-longterm --install kernel-longterm-core --install kernel-longterm-modules --install kernel-longterm-modules-extra --install kernel-longterm-devel-matched

For regular Fedora systems

rpm-ostree override remove kernel kernel-{core,modules,modules-extra} --install kernel-longterm --install kernel-longterm-core --install kernel-longterm-modules --install kernel-longterm-modules-extra

afterwards you might need mokutil to enroll custom secureboot keys, not sure how that works and if it is enough

Tried, but in my case it didn’t work:frowning:
I’m using a Ublue version of Fedora Hyprland Atomic

rpm-ostree override remove kernel kernel-{core,modules,modules-extra} --install kernel-longterm --install kernel-longterm-core --install kernel-longterm-modules --install kernel-longterm-modules-extra
error: Running %posttrans for kernel-longterm-core: bwrap(/bin/sh): Processo filho foi terminado pelo sinal 1; run `journalctl -t 'rpm-ostree(kernel-longterm-core.posttrans)'` for more information
[root@zentac ~]# journalctl -t 'rpm-ostree(kernel-longterm-core.posttrans)'
Apr 26 21:12:06 zentac rpm-ostree(kernel-longterm-core.posttrans)[4075]: error: rpm-ostree kernel-install wrapper: Arquivo ou diretĂłrio inexistente (os error 2)
Apr 26 21:13:25 zentac rpm-ostree(kernel-longterm-core.posttrans)[4331]: error: rpm-ostree kernel-install wrapper: Arquivo ou diretĂłrio inexistente (os error 2)
Apr 26 21:19:46 zentac rpm-ostree(kernel-longterm-core.posttrans)[5172]: error: rpm-ostree kernel-install wrapper: Arquivo ou diretĂłrio inexistente (os error 2)
-- Boot 08ae0b37197c4fd8aa48b30ecfadd5c6 --
Apr 26 21:31:22 zentac rpm-ostree(kernel-longterm-core.posttrans)[3219]: error: rpm-ostree kernel-install wrapper: Arquivo ou diretĂłrio inexistente (os error 2)
Apr 26 21:31:52 zentac rpm-ostree(kernel-longterm-core.posttrans)[3416]: error: rpm-ostree kernel-install wrapper: Arquivo ou diretĂłrio inexistente (os error 2)
Apr 26 21:34:41 zentac rpm-ostree(kernel-longterm-core.posttrans)[3831]: error: rpm-ostree kernel-install wrapper: Arquivo ou diretĂłrio inexistente (os error 2)

The message error means: file or directory not found.

Besides being u-blue based, my installation does not have kernel-dev-matched.

1 Like

What is Hyperland Solopasha? I see it’s a user from COPR. So I’m guessing it’s his version with all those packages.

Fedora officially includes Hyprland in its repositories, but the packaged version is often outdated and may have bugs. Solopasha maintains a more up-to-date and stable version via their COPR repository. To give you flexibility, I’ve included both versions in the build—so you can choose the one that best suits your needs.

1 Like

I’m going to check it out.