Skip to content

Commit

Permalink
Support RPMTRANS_FLAG_DEPLOOPS
Browse files Browse the repository at this point in the history
  • Loading branch information
opoplawski authored and j-mracek committed Feb 27, 2024
1 parent ec445c1 commit ee9cc93
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dnf/base.py
Expand Up @@ -628,7 +628,8 @@ def _closeRpmDB(self):
'test': rpm.RPMTRANS_FLAG_TEST,
'justdb': rpm.RPMTRANS_FLAG_JUSTDB,
'nocontexts': rpm.RPMTRANS_FLAG_NOCONTEXTS,
'nocrypto': rpm.RPMTRANS_FLAG_NOFILEDIGEST}
'nocrypto': rpm.RPMTRANS_FLAG_NOFILEDIGEST,
'deploops': rpm.RPMTRANS_FLAG_DEPLOOPS}
if hasattr(rpm, 'RPMTRANS_FLAG_NOCAPS'):
# Introduced in rpm-4.14
_TS_FLAGS_TO_RPM['nocaps'] = rpm.RPMTRANS_FLAG_NOCAPS
Expand Down
1 change: 1 addition & 0 deletions doc/conf_ref.rst
Expand Up @@ -536,6 +536,7 @@ configuration file by your distribution to override the DNF defaults.
nocontexts RPMTRANS_FLAG_NOCONTEXTS
nocaps RPMTRANS_FLAG_NOCAPS
nocrypto RPMTRANS_FLAG_NOFILEDIGEST
deploops RPMTRANS_FLAG_DEPLOOPS
============ ===========================

The ``nocrypto`` option will also set the ``_RPMVSF_NOSIGNATURES`` and
Expand Down

0 comments on commit ee9cc93

Please sign in to comment.