Fix product.name.lower() in RuntimeBuilder changing TreeBuilder
Let RuntimeBuilder use a copy of the 'product' object instead.
This commit is contained in:
parent
796e0ee45f
commit
30ac2e9aa5
@ -89,6 +89,7 @@ class RuntimeBuilder(object):
|
||||
'''Builds the anaconda runtime image.'''
|
||||
def __init__(self, product, arch, yum, templatedir=None):
|
||||
root = yum.conf.installroot
|
||||
product = product.copy()
|
||||
product.name = product.name.lower()
|
||||
v = DataHolder(arch=arch, product=product, yum=yum, root=root,
|
||||
basearch=arch.basearch, libdir=arch.libdir,
|
||||
|
Loading…
Reference in New Issue
Block a user