dnf load substitutions from installroot (#51206)

Fixes #51059

Signed-off-by: Adam Miller <admiller@redhat.com>
pull/51450/head
Adam Miller 6 years ago committed by Brian Coca
parent 60d134aeaf
commit 61ed229732

@ -0,0 +1,3 @@
minor_changes:
- dnf module now supports loading substitution overrides from the installroot

@ -530,6 +530,9 @@ class DnfModule(YumDnf):
# Set installroot
conf.installroot = installroot
# Load substitutions from the filesystem
conf.substitutions.update_from_etc(installroot)
# Handle different DNF versions immutable mutable datatypes and
# dnf v1/v2/v3
#

Loading…
Cancel
Save