generic-poky/bitbake/bin
Robert Yang 4a09c91ce4 bitbake: bitbake-layers: fix get_file_layer
The get_file_layer can't handle the nested layer correctly, e.g.:

meta-intel/conf/layer.conf
meta-intel/meta-cedartrail/conf/layer.conf

They are two layers, the file:
meta-intel/common/recipes-bsp/amt/lms_7.1.20.bb
belongs to meta-intel's layer, but the get_file_layer() may return
meta-cedartrail accordig to BBLAYERS' order, since it uses:

for layerdir in self.bblayers:
    if regex.match(os.path.join(layerdir, 'test')):
        return self.get_layer_name(layerdir)

which doesn't care the filename, re-match the filename would fix the
problem.

[YOCTO #3387]

(Bitbake rev: 7a31b9eac4d894c302f0e052a132c31b17d13d1f)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-01-25 12:42:09 +00:00
..
bitbake bitbake: bin/bitbake, bb/__init__: Move BBDEBUG handling to bin/bitbake 2012-12-14 12:36:04 +00:00
bitbake-diffsigs bitbake: bitbake-diffsigs: allow specifying task & follow deps recursively 2012-09-07 12:10:45 +01:00
bitbake-dumpsig bitbake: lib/bb/siggen.py: make signature dump/compare functions return a list 2012-09-07 12:10:44 +01:00
bitbake-layers bitbake: bitbake-layers: fix get_file_layer 2013-01-25 12:42:09 +00:00
bitbake-prserv bitbake/bitbake-prserv: Set file mode bits "x". 2012-03-02 16:22:27 +00:00
bitbake-runtask bitbake: Update users of getVar/setVar to use the data store functions directly 2011-11-27 10:35:30 +00:00
bitbake-selftest bitbake: Fixup bitbake-selftest 2012-05-04 17:41:47 +01:00
bitdoc bitbake: Update users of getVar/setVar to use the data store functions directly 2011-11-27 10:35:30 +00:00
image-writer bitbake: hig.py: refactor into individual components 2013-01-16 12:51:33 +00:00