Skip to content

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
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