update lorax and livemedia_creator to use isfinal
This commit is contained in:
parent
2af864c438
commit
0ba566aebe
@ -455,7 +455,7 @@ def make_livecd( disk_img, squashfs_args="", templatedir=None,
|
||||
arch = DataHolder( basearch=kernel_arch, libdir=None, buildarch=None )
|
||||
# TODO: Need to get release info from someplace...
|
||||
product = DataHolder( name=project, version=releasever, release="",
|
||||
variant="", bugurl="", is_beta=False )
|
||||
variant="", bugurl="", isfinal=False )
|
||||
|
||||
rb = RuntimeBuilder( product, arch, fake_yum )
|
||||
log.info( "Creating runtime" )
|
||||
|
@ -61,8 +61,8 @@ def main(args):
|
||||
optional.add_option("-b", "--bugurl",
|
||||
help="bug reporting URL for the product", metavar="URL",
|
||||
default="your distribution provided bug reporting tool")
|
||||
optional.add_option("--isbeta", help="",
|
||||
action="store_true", default=False, dest="is_beta")
|
||||
optional.add_option("--isfinal", help="",
|
||||
action="store_true", default=False, dest="isfinal")
|
||||
optional.add_option("-c", "--config", default="/etc/lorax/lorax.conf",
|
||||
help="config file", metavar="STRING")
|
||||
optional.add_option("--proxy", default=None,
|
||||
@ -122,7 +122,7 @@ def main(args):
|
||||
lorax = pylorax.Lorax()
|
||||
lorax.configure(conf_file=opts.config)
|
||||
lorax.run(yb, opts.product, opts.version, opts.release,
|
||||
opts.variant, opts.bugurl, opts.is_beta,
|
||||
opts.variant, opts.bugurl, opts.isfinal,
|
||||
workdir=tempdir, outputdir=outputdir, buildarch=opts.buildarch)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user