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 tests for installroot-relative directories #1436

Open
4 tasks
evan-goode opened this issue Jan 9, 2024 · 0 comments
Open
4 tasks

Add tests for installroot-relative directories #1436

evan-goode opened this issue Jan 9, 2024 · 0 comments

Comments

@evan-goode
Copy link
Member

For rpm-software-management/dnf5#1148 and rpm-software-management/dnf5#754

  • cachedir and system_cachedir should be relative to (inside) installroot by default
  • logdir should be relative to installroot by default
  • The configuration file, reposdir, and vars should be taken from inside installroot unless --use-host-config is passed, in which case the configuration and environment from the host system should be used.
  • If any of cachedir, system_cachedir, logdir, reposdir, or varsdir are specified on the command line via e.g. --setopt=varsdir=/path/to/varsdir, then the path should be always relative to the host, not the installroot.

See https://dnf5.readthedocs.io/en/latest/misc/installroot.7.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Backlog
Development

No branches or pull requests

1 participant