From 36d77b8cef5e7a3b2a6bea75a8aa1a420e8545dc Mon Sep 17 00:00:00 2001 From: Karanbir Singh Date: Nov 14 2016 13:25:10 +0000 Subject: productName isnt available in yumpayload, bring that in --- diff --git a/SOURCES/anaconda-centos-disable-mirrors.patch b/SOURCES/anaconda-centos-disable-mirrors.patch index fb5b2eb..0d67be2 100644 --- a/SOURCES/anaconda-centos-disable-mirrors.patch +++ b/SOURCES/anaconda-centos-disable-mirrors.patch @@ -13,3 +13,14 @@ diff -uNr anaconda-19.31.79__orig/pyanaconda/packaging/yumpayload.py anaconda-19 def getRepo(self, repo_id): """ Return the yum repo object. """ +diff -uNr anaconda-21.48.22.56__orig/pyanaconda/packaging/yumpayload.py anaconda-21.48.22.56/pyanaconda/packaging/yumpayload.py +--- anaconda-21.48.22.56__orig/pyanaconda/packaging/yumpayload.py 2015-12-07 21:29:36.058347960 +0000 ++++ anaconda-21.48.22.56/pyanaconda/packaging/yumpayload.py 2015-12-07 21:32:50.255770594 +0000 +@@ -43,6 +43,7 @@ + from pyanaconda.iutil import execReadlines + from pyanaconda.simpleconfig import simple_replace + from functools import wraps ++from pyanaconda.product import productName + + import logging + log = logging.getLogger("packaging")