Skip to content

Problem: conflicting requests: package is filtered out by modular filtering #1288

Closed Answered by k0ste
k0ste asked this question in Q&A
Discussion options

You must be logged in to vote

Can't find a way to resolve this problem via module_setup_commands. Only way I find is:

trim_repo="$(echo "${ADD_REPO}" | grep -oP 'https://\K\S+' | tr '/' '_' | tr -d '.-')"
cat <<EOF >> "/etc/mock/${MOCK_CONFIG}.cfg"
config_opts['dnf.conf'] += """
[${trim_repo}]
name=${trim_repo}
enabled=1
module_hotfixes=1
"""
EOF

Finally golang package installed without issues

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@k0ste
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by k0ste
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #1284 on January 15, 2024 10:14.