-
Notifications
You must be signed in to change notification settings - Fork 232
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
config_opts['update_before_build'] = False
option is not respected anymore
#1420
Comments
Version of DNF might also be relevant:
|
Thank you for the report! But I can't reproduce this:
See this:
This transaction is not responsible for updating the chroot, but for installing BuildRequires. |
Hmm, reading better -> the transaction actually only updates the 6 packages, that are |
Reported against DNF5 for now: rpm-software-management/dnf5#1747 |
@voxik don't you remember when this worked the last time? Do you think we should skip the |
I wish.
You mean skipping installation of dependencies? That would be bad. During package updates, I very often comment out all BRs and add them back one by one just to check all are still needed |
Short description of the problem
"Update before build" is really bad option. But luckily, there is
config_opts['update_before_build']
override which enabled to switch this functionality off. However, this option is not currently respected and my packages are always updated. E.g. I do:But with a build, the packages are updated again:
Output of
rpm -q mock
Any additional notes
Output of `mock --debug-config`
The text was updated successfully, but these errors were encountered: