-
Notifications
You must be signed in to change notification settings - Fork 198
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RFE: persistent akmod cache #4500
Comments
s/normal/dnf-based/ e.g. Saying "normal Fedora" implies what we're doing is not-normal, which is slightly pejorative. So please avoid that term.
Part of the big investment we've done in rpm-ostree is to avoid "hysteresis"; silent hidden state. Every single change starts by constructing a new filesystem tree. We do cache the package filesystem trees. Certainly I could imagine just exposing Bigger picture, I do think actually what people want for situations like yours (looking at how you've removed some packages and layered a not small set of others) is to do the container-native flow instead. Anyways, I could imagine exposing some sort of config option like
if someone showed up to do a patch, but again IMO the major focus for the development team now on this project is the container flow. |
In this case, I do just want to cache the filesystem tree, but after the post-install script. That would be a more general solution that isn't akmod specific and doesn't introduce hidden state.
As I understand, the advantage of the container flow is that one can introduce intermediate steps between
So does that mean that the container flow will replace the non-container flow or is there a reason to stick with the current method? I wouldn't mind creating a patch if the non-container flow will stay as the default option. |
I would like to propose a persistent akmod cache for rpm-ostree. Without it, after installing
akmod-nvidia
, every modification to a deployment takes a few minutes.On a normal Fedora install, the kmod packages build by akmod are cached in /var/cache/akmods. As long as the kernel and package version match, reinstalls are quick. But in Silverblue, every modification to a deployment starts from scratch and the kmod needs to be rebuilt.
Host system details
Expected vs actual behavior
In the system log:
Expected:
Steps to reproduce it
rpm-ostree install akmod-nvidia
– this takes a few minutes, which is normalrpm-ostree install gpm
(or any other package) – this again takes a few minutes, which is not normalWould you like to work on the issue?
I would be willing to if the PR would be accepted.
Related discussion: https://discussion.fedoraproject.org/t/what-about-an-akmod-cache-for-silverblue/85664
The text was updated successfully, but these errors were encountered: