Skip to content
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

implement installonlypkgs option #439

Merged
merged 7 commits into from
Nov 2, 2023

Conversation

oliverkurth
Copy link
Contributor

@oliverkurth oliverkurth commented Jul 14, 2023

This adds the installonlypkgs and installonly_limit options. To configure, set installonlypkgs in /etc/tdnf/tdnf.conf to a list of package names, for example:

installonlypkgs = linux

Optionally set installonly_limit. The default is 3.

When the limit is exceeded, older installed versions will be removed. This seems to default to the least recently installed version (it's the first version(s) found when looking at installed matching versions).

Fixes: #436

@oliverkurth oliverkurth force-pushed the topic/okurth/installonly branch from 75957eb to 9c8724c Compare November 2, 2023 22:11
@oliverkurth oliverkurth merged commit 21bd562 into vmware:dev Nov 2, 2023
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

installonly_limit value not respected (removes running kernel)
2 participants