diff options
| author | Robert Yang <liezhi.yang@windriver.com> | 2019-03-21 15:20:21 +0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-03-24 17:01:34 +0000 |
| commit | 4b2b3339dfdc3719cce93d43e3198edd9a332d16 (patch) | |
| tree | 27c3436406a3ea58e10f0d4b6e0261ffb6997271 /bitbake/lib/bb/cooker.py | |
| parent | a7f3cbb4a20c1d50a84ca4bec0d30760c9aec46a (diff) | |
| download | poky-4b2b3339dfdc3719cce93d43e3198edd9a332d16.tar.gz | |
bitbake: cooker: Fix bbfile_config_priorities when BBFILE_PATTERN is empty
The layer was not in bbfile_config_priorities when BBFILE_PATTERN is empty,
this caused "bitbake-layers show-layers" can't show these layers, this was
incorrect since these layer did exist. Add these layer to
bbfile_config_priorities can fix the problem.
Fixed:
Add BBFILE_PATTERN_core = "" in oe-core/meta/conf/layer.conf
$ bitbake show-layers | grep oe-core
There was nothing, now the layer is shown
(Bitbake rev: 0ff5cdb0cca9266ca29127639494bcfd95e36831)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/cooker.py')
| -rw-r--r-- | bitbake/lib/bb/cooker.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py index 1982e880ba..9ccaa79f57 100644 --- a/bitbake/lib/bb/cooker.py +++ b/bitbake/lib/bb/cooker.py | |||
| @@ -1216,8 +1216,8 @@ class BBCooker: | |||
| 1216 | continue | 1216 | continue |
| 1217 | elif regex == "": | 1217 | elif regex == "": |
| 1218 | parselog.debug(1, "BBFILE_PATTERN_%s is empty" % c) | 1218 | parselog.debug(1, "BBFILE_PATTERN_%s is empty" % c) |
| 1219 | cre = re.compile('^NULL$') | ||
| 1219 | errors = False | 1220 | errors = False |
| 1220 | continue | ||
| 1221 | else: | 1221 | else: |
| 1222 | try: | 1222 | try: |
| 1223 | cre = re.compile(regex) | 1223 | cre = re.compile(regex) |
