From 007491c31c6693b44dcd992919c93d23c4d6681c Mon Sep 17 00:00:00 2001 From: Karanbir Singh Date: Dec 07 2015 21:34:08 +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 9b5cf00..a6843ef 100644 --- a/SOURCES/anaconda-centos-disable-mirrors.patch +++ b/SOURCES/anaconda-centos-disable-mirrors.patch @@ -23,3 +23,14 @@ diff -uNr anaconda-21.48.22.56__orig/pyanaconda/packaging/yumpayload.py anaconda 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")