lib/bb/main.py: Fix use of BBPOSTCONF and BBPRECONF
PATCH 1/1 lib/bb/main.py: Fix use of BBPOSTCONF and BBPRECONF
From: Mariano Lopez <[email protected]>
The functionality of BBPOSTCONF and BBPRECONF was added in commit 21b314d4d1e5b8fbeb4cc57006f0a110f0b3aa8f but there was a typo in the variable name that raises an exception in bitbake.
[YOCTO #9235]
Signed-off-by Mariano Lopez <[email protected]>
--- bitbake/lib/bb/main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
bitbake/lib/bb/main.py +2 -2
@@ -281,10 +281,10 @@ class BitBakeConfigParameters(cookerdata.ConfigParameters): # use configuration files from environment variables if "BBPRECONF" in os.environ: - option.prefile.append(os.environ["BBPRECONF"]) + options.prefile.append(os.environ["BBPRECONF"]) if "BBPOSTCONF" in os.environ: - option.postfile.append(os.environ["BBPOSTCONF"]) + options.postfile.append(os.environ["BBPOSTCONF"]) # fill in proper log name if not supplied if options.writeeventlog is not None and len(options.writeeventlog) == 0:
Signature · 1 line
2.6.6
Looking good!
Quoted 36 lines · On Tue, 2016-06-07 at 12:27 +0000, [email protected] wrote:
From: Mariano Lopez <[email protected]>
The functionality of BBPOSTCONF and BBPRECONF was added in commit
21b314d4d1e5b8fbeb4cc57006f0a110f0b3aa8fbut there was a typo in the variable name that raises an exception in bitbake.[YOCTO #9235]
Signed-off-by Mariano Lopez <[email protected]>---
bitbake/lib/bb/main.py | 4 ++--1 file changed, 2 insertions(+), 2 deletions(-)bitbake/lib/bb/main.py +0
-0@@ -281,10 +281,10 @@ classBitBakeConfigParameters(cookerdata.ConfigParameters):
# use configuration files from environment variables if "BBPRECONF" in os.environ: - option.prefile.append(os.environ["BBPRECONF"]) + options.prefile.append(os.environ["BBPRECONF"]) if "BBPOSTCONF" in os.environ: - option.postfile.append(os.environ["BBPOSTCONF"]) + options.postfile.append(os.environ["BBPOSTCONF"]) # fill in proper log name if not supplied if options.writeeventlog is not None and len(options.writeeventlog) == 0: -- 2.6.6