Skip to content

Add tests for installroot-relative directories #1436

@evan-goode

Description

@evan-goode

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions