* [PATCH] lib/bb/main.py: Fix use of BBPOSTCONF and BBPRECONF
@ 2016-06-07 12:27 mariano.lopez
2016-06-08 16:57 ` Benjamin Esquivel
0 siblings, 1 reply; 2+ messages in thread
From: mariano.lopez @ 2016-06-07 12:27 UTC (permalink / raw)
To: bitbake-devel
From: Mariano Lopez <mariano.lopez@linux.intel.com>
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@linux.intel.com>
---
bitbake/lib/bb/main.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/bitbake/lib/bb/main.py b/bitbake/lib/bb/main.py
index b296ef8..283f29b 100755
--- a/bitbake/lib/bb/main.py
+++ b/bitbake/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:
--
2.6.6
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] lib/bb/main.py: Fix use of BBPOSTCONF and BBPRECONF
2016-06-07 12:27 [PATCH] lib/bb/main.py: Fix use of BBPOSTCONF and BBPRECONF mariano.lopez
@ 2016-06-08 16:57 ` Benjamin Esquivel
0 siblings, 0 replies; 2+ messages in thread
From: Benjamin Esquivel @ 2016-06-08 16:57 UTC (permalink / raw)
To: mariano.lopez, bitbake-devel
Looking good!
On Tue, 2016-06-07 at 12:27 +0000, mariano.lopez@linux.intel.com wrote:
> From: Mariano Lopez <mariano.lopez@linux.intel.com>
>
> 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@linux.intel.com>
> ---
> bitbake/lib/bb/main.py | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/bitbake/lib/bb/main.py b/bitbake/lib/bb/main.py
> index b296ef8..283f29b 100755
> --- a/bitbake/lib/bb/main.py
> +++ b/bitbake/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:
> --
> 2.6.6
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-06-08 16:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-07 12:27 [PATCH] lib/bb/main.py: Fix use of BBPOSTCONF and BBPRECONF mariano.lopez
2016-06-08 16:57 ` Benjamin Esquivel
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.