[oe-commits] [bitbake] branch master updated: lib/bb/main.py: Fix use of BBPOSTCONF and BBPRECONF

git at git.openembedded.org git at git.openembedded.org
Thu Jun 9 17:02:44 UTC 2016


rpurdie pushed a commit to branch master
in repository bitbake.

The following commit(s) were added to refs/heads/master by this push:
       new  6d1379c   lib/bb/main.py: Fix use of BBPOSTCONF and BBPRECONF
6d1379c is described below

commit 6d1379c8818400e5cdc442e6142f08a110fd5b95
Author: Mariano Lopez <mariano.lopez at linux.intel.com>
AuthorDate: Tue Jun 7 12:27:39 2016 +0000

    lib/bb/main.py: Fix use of BBPOSTCONF and BBPRECONF
    
    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 <mariano.lopez at linux.intel.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 lib/bb/main.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/bb/main.py b/lib/bb/main.py
index b296ef8..283f29b 100755
--- a/lib/bb/main.py
+++ b/lib/bb/main.py
@@ -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:

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list