ca7df3
From 7d805f7dd19dff4eff13627a1480fab364a4d337 Mon Sep 17 00:00:00 2001
ca7df3
From: Radek Vykydal <rvykydal@redhat.com>
ca7df3
Date: Wed, 3 Feb 2021 16:28:32 +0100
ca7df3
Subject: [PATCH 3/3] Take dnf substitutions from installer environment
ca7df3
 configuration
ca7df3
ca7df3
Resolves: rhbz#1920735
ca7df3
ca7df3
https://github.com/rhinstaller/anaconda/pull/3139
ca7df3
https://github.com/rhinstaller/anaconda/commit/4dbb10c4a3a099870e88f4421d9da95689ec3c86
ca7df3
---
ca7df3
 pyanaconda/payload/dnf/payload.py | 2 +-
ca7df3
 1 file changed, 1 insertion(+), 1 deletion(-)
ca7df3
ca7df3
diff --git a/pyanaconda/payload/dnf/payload.py b/pyanaconda/payload/dnf/payload.py
ca7df3
index 718feedb70..47e00a49bd 100644
ca7df3
--- a/pyanaconda/payload/dnf/payload.py
ca7df3
+++ b/pyanaconda/payload/dnf/payload.py
ca7df3
@@ -668,7 +668,7 @@ class DNFPayload(Payload):
ca7df3
         config.installroot = conf.target.system_root
ca7df3
         config.prepend_installroot('persistdir')
ca7df3
 
ca7df3
-        self._base.conf.substitutions.update_from_etc(config.installroot)
ca7df3
+        self._base.conf.substitutions.update_from_etc("/")
ca7df3
 
ca7df3
         if self.data.packages.multiLib:
ca7df3
             config.multilib_policy = "all"
ca7df3
-- 
ca7df3
2.29.2
ca7df3