dnf properly gpg check local packages based on param (#47455)

* dnf properly gpg check local packages based on param

Fixes #43624

Signed-off-by: Adam Miller <admiller@redhat.com>
pull/47535/head
Adam Miller 7 years ago committed by GitHub
parent 0e3e646189
commit 079705f8da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -0,0 +1,3 @@
---
minor_changes:
- "dnf properly honor disable_gpg_check for local (on local disk of remote node) package installation"

@ -489,6 +489,7 @@ class DnfModule(YumDnf):
# Set whether to check gpg signatures # Set whether to check gpg signatures
conf.gpgcheck = not disable_gpg_check conf.gpgcheck = not disable_gpg_check
conf.localpkg_gpgcheck = not disable_gpg_check
# Don't prompt for user confirmations # Don't prompt for user confirmations
conf.assumeyes = True conf.assumeyes = True

Loading…
Cancel
Save