This prevents post-install strings from looking out of control, and should
still make for unique names.
---
pyanaconda/yuminstall.py | 9 +++------
1 files changed, 3 insertions(+), 6 deletions(-)
@@ -520,7 +518,7 @@ class AnacondaYum(yum.YumBase):
if self.anaconda.mediaDevice or self.isodir:
repo.mediaid = getMediaId(self.tree)
- log.info("set mediaid of repo %s to: %s" % (rid, repo.mediaid))
+ log.info("set mediaid of repo %s to: %s" % (repo.name, repo.mediaid))
if self.anaconda.proxy:
self.setProxy(self.anaconda, repo)
@@ -788,9 +786,8 @@ class AnacondaYum(yum.YumBase):
#Add the Driver disc repos to Yum
for d in glob.glob(DD_RPMS):
dirname = os.path.basename(d)
- rid = "anaconda-%s" % dirname