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

add --setopt=cachedir= option #458

Merged
merged 2 commits into from
Dec 21, 2023

Conversation

oliverkurth
Copy link
Contributor

@oliverkurth oliverkurth commented Dec 18, 2023

add --setopt=cachedir= option, make it relative to host when --installroot is used. This is the same behavior as dnf (although it's not explicitly documented, it's advised here: https://bugzilla.redhat.com/show_bug.cgi?id=1679983). It's also similar to the behavior of the --reposdir option.

Example usage:

tdnf --installroot=/installroot/ --setopt=cachedir=/cache --releasever=5.0 install -y lsof

@oliverkurth oliverkurth force-pushed the topic/okurth/setopt-cachedir branch from 9a0fad5 to 0d3feb8 Compare December 19, 2023 00:24
@oliverkurth oliverkurth merged commit cffd2bc into vmware:dev Dec 21, 2023
3 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.

2 participants