Questions about rpm-ostree kernel-install

kernel-install is needed if users want to replace their kernel with the 6.12 LTS from this COPR

https://copr.fedorainfracloud.org/coprs/kwizart/kernel-longterm-6.12/

The install fails because kernel-install is not found.

For some reason, my version of rpm-ostree on F41 seems outdated?

rpm-ostree --version
rpm-ostree:
 Version: '2024.9'
 Git: bd152998332c2b11af671447d3fd311319d5b3a8
 Features:
  - rust
  - compose
  - container
  - fedora-integration

When will this feature arrive in F41? I saw that the new kernel-install.yaml is already in F42 but not in F41.

https://pagure.io/workstation-ostree-config/tree/f42

The current 6.13 kernel crashes are frustrating, having an LTS kernel would be such a huge improvement to the stability of atomic desktops

When i do understand correctly the statement below, it is in testing. And will just be available in F42/Rawhide

It’s worth noting that the rawhide run Tuesday succeeded and the one today failed, but rpm-ostree wasn’t upgraded.

Also worth noting that since Monday COSA has had rpm-ostree-2025.1-1.fc41 and that hasn’t changed in the last day.

Circling back to this. The above statements are true, but what did happen between Tuesday and Thursday was that this change merged into FCOS testing-devel (and was synced to `rawhide) , which affected the behavior.

1 Like

I have only tested the kernel-install integration feature using bootc images, but it could probably be applicable to other image mode systems that can be built using derived container images. I don’t know if/how it can be used with traditional OSTree systems. Would you mind sharing what commands you tried, the system variant you tried, and the errors returned?

This is perhaps because rpm-ostree-2025.5-2.fc41 was recently pushed to stable, see FEDORA-2025-3dfc505946 — security update for rpm-ostree — Fedora Updates System.

1 Like

I tried a workaround for the deprecated cliwrap.

I think it did something, but not sure if the correct one.

I added the COPR and used the linked command, removing all kernel packages and installing the others.

--replace poorly still works only with local RPMs, dont know why, it might solve that issue.

I am rebasing to uBlue aurora:stable currently, which uses the coreOS stable kernel.

Or I could rebase to the fedora OCI images and try again.

I rebased to the unsigned image, but the kernel install is still not working

rpm-ostree status
State: idle
warning: Failed to query journal: couldn't find current boot in journal
Deployments:
â—Ź ostree-unverified-registry:quay.io/fedora-ostree-desktops/kinoite:41

I tried replacing my kernel with the longterm 6.12 one:

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
run0
journalctl -t 'rpm-ostree(kernel-longterm-core.posttrans)'
Feb 26 12:23:34 PC rpm-ostree(kernel-longterm-core.posttrans)[23952]: error: rpm-ostree kernel-install wrapper: Datei oder Verzeichnis nicht gefunden (os error 2)
-- Boot 9bb07e16afd840fca8f38ce72de9c536 --
Feb 27 10:17:26 PC rpm-ostree(kernel-longterm-core.posttrans)[377361]: error: rpm-ostree kernel-install wrapper: Datei oder Verzeichnis nicht gefunden (os error 2)
Feb 27 11:26:15 PC rpm-ostree(kernel-longterm-core.posttrans)[427841]: error: rpm-ostree kernel-install wrapper: Datei oder Verzeichnis nicht gefunden (os error 2)
-- Boot cf4b468cdee24d5195aa7ede69f237d7 --
Feb 27 22:37:39 PC rpm-ostree(kernel-longterm-core.posttrans)[33233]: error: rpm-ostree kernel-install wrapper: Datei oder Verzeichnis nicht gefunden (os error 2)
Feb 27 22:40:17 PC rpm-ostree(kernel-longterm-core.posttrans)[36816]: error: rpm-ostree kernel-install wrapper: Datei oder Verzeichnis nicht gefunden (os error 2)

I don’t know about the COPR repo, but the instructions don’t seem quite right. The command from the other related topic should also work for bootable container images.

However, in my humble opinion, the proper way to replace the kernel in these images is to make derived container images, i.e. what is described and tested in the topic you mentioned in your initial post.

I actually tried that with blue-build, but it always fails to build. If you are interested

I think the issue is that rpm-ostree on F41 is still too old and does not have that command

While I really appreciate what the folks at the Universal Blue project are doing, I prefer to build my images using the docs and tools already provided by the Fedora and CentOS Stream communities. Through use and testing, I participate in improving the docs and tools on which the Universal Blue project relies. When there is a question or issue here on the forum regarding the Universal Blue project images, I try to help mostly with the uCore images.

I’ve already set up a GitHub peros that builds custom container images based on bootc and the still unofficial Atomic Desktops, and then pushes them daily to quay.io. It’s easy, at least for me, to generate an ISO disk image from these customized container images. So I’m not familiar with the BlueBuild project and don’t know what would cause an issue.

1 Like

I now tried

  • on an OCI based system
  • with latest rpm-ostree installed

see here

it still fails to install, as the kernel-install wrapper is not found