Signed-off-by: Richard Purdie <richard.pur...@linuxfoundation.org> --- scripts/run-config | 8 ++++++++ 1 file changed, 8 insertions(+)
diff --git a/scripts/run-config b/scripts/run-config index 3566d3b..a0e0204 100755 --- a/scripts/run-config +++ b/scripts/run-config @@ -133,6 +133,14 @@ def bitbakecmd(builddir, cmd, report, stepnum, logsuffix, oeenv=True): print("Running '%s' with output to %s" % (cmd, log)) flush() + autoconf = builddir + "/conf/auto.conf" + if os.path.exists(autoconf): + with open(autoconf, "r") as inf, open(log, "a") as outf: + outf.write("auto.conf settings:\n") + for line in inf.readlines(): + outf.write(line) + outf.write("\n") + with subprocess.Popen(cmd, shell=True, cwd=builddir + "/..", stdout=subprocess.PIPE, stderr=subprocess.STDOUT, bufsize=1) as p, open(log, 'ab') as f: for line in p.stdout: if not args.quietlogging: -- 2.25.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#50473): https://lists.yoctoproject.org/g/yocto/message/50473 Mute This Topic: https://lists.yoctoproject.org/mt/76695557/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-