lorax and anaconda now use isfinal, it simplifies things for us.
This commit is contained in:
parent
e215694a6b
commit
e70fa6c60f
@ -832,12 +832,6 @@ class Pungi(pypungi.PungiBase):
|
||||
variant = self.config.get('pungi', 'flavor')
|
||||
bugurl = self.config.get('pungi', 'bugurl')
|
||||
isfinal = self.config.get('pungi', 'isfinal')
|
||||
# I want to pass in if the release is a final/GA release or not but lorax takes in if its a beta or not
|
||||
# so set isbeta to be the oposite of isfinal
|
||||
if isfinal:
|
||||
isbeta = "False"
|
||||
else:
|
||||
isbeta = "True"
|
||||
|
||||
workdir = self.workdir
|
||||
outputdir = self.topdir
|
||||
@ -846,9 +840,8 @@ class Pungi(pypungi.PungiBase):
|
||||
lorax = pylorax.Lorax()
|
||||
lorax.configure()
|
||||
|
||||
# FIXME get the actual is_beta value
|
||||
lorax.run(self.ayum, product=product, version=version, release=release,
|
||||
variant=variant, bugurl=bugurl, is_beta=isbeta,
|
||||
variant=variant, bugurl=bugurl, isfinal=isfinal,
|
||||
workdir=workdir, outputdir=outputdir)
|
||||
|
||||
# write out the tree data for snake
|
||||
|
Loading…
Reference in New Issue
Block a user