lorax: provide runtime lorax config in debug log
This commit is contained in:
parent
6b55c8f8f0
commit
1f811523b5
@ -187,6 +187,9 @@ def main():
|
|||||||
if opts.sharedir:
|
if opts.sharedir:
|
||||||
lorax.conf.set("lorax", "sharedir", opts.sharedir)
|
lorax.conf.set("lorax", "sharedir", opts.sharedir)
|
||||||
|
|
||||||
|
with open(lorax.conf.get("lorax", "logdir") + '/lorax.conf', 'w') as f:
|
||||||
|
lorax.conf.write(f)
|
||||||
|
|
||||||
lorax.run(dnfbase, opts.product, opts.version, opts.release,
|
lorax.run(dnfbase, opts.product, opts.version, opts.release,
|
||||||
opts.variant, opts.bugurl, opts.isfinal,
|
opts.variant, opts.bugurl, opts.isfinal,
|
||||||
workdir=tempdir, outputdir=opts.outputdir, buildarch=opts.buildarch,
|
workdir=tempdir, outputdir=opts.outputdir, buildarch=opts.buildarch,
|
||||||
|
Loading…
Reference in New Issue
Block a user