OSInside / kiwi

KIWI - Appliance Builder Next Generation
https://osinside.github.io/kiwi
GNU General Public License v3.0
282 stars 142 forks source link

RepositoryDnf5: correct defaults, set system_cachedir #2549

Closed AdamWill closed 1 month ago

AdamWill commented 1 month ago

The "defaults" in use_default_location here are the dnf4 defaults, not the dnf5 defaults, so let's update them. Also, for dnf5, we need to set system_cachedir instead of cachedir - see https://dnf5.readthedocs.io/en/latest/misc/caching.7.html , system_cachedir is the cache location used when running as root, cachedir is the cache location used when running as a regular user.