Conditional values in ~/.config/mock.cfg #1404
Replies: 2 comments
-
You have two options:
|
Beta Was this translation helpful? Give feedback.
-
So, I did see some Jinja2 templating in So I think the question becomes what values can be used in templates? I.e. specifically for being able to apply settings conditionally on say the distro being built for in |
Beta Was this translation helpful? Give feedback.
-
Let's say I only want to add a value (a repo configuration for example) to
config_opts['dnf.conf']
if the target chroot is a particular value since that repo would only be valid for a given mock target configuration.Is there any way to achieve this?
Beta Was this translation helpful? Give feedback.
All reactions