diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-09-13 15:25:51 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-09-14 09:50:36 +0100 |
commit | 149c121209a5469435f7e8ae248f744ece33b88e (patch) | |
tree | 801e5da0bfc0cee6b6caff23c6060485b5ae4bcb /bitbake | |
parent | 293764e43502448d56b7c2fdd547ef844094ef26 (diff) | |
download | poky-149c121209a5469435f7e8ae248f744ece33b88e.tar.gz |
bitbake: cooker: Fix priority for virtual recipes
When making filename comparisons for recipes for priority calculations,
we need to split off any virtual prefix. Without this, BBCLASSEXTEND
version of recipes don't follow the priority settings they should.
[YOCTO #2933]
(Bitbake rev: 055b72a230e6b0b1cababd65372c62d9ddce385e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/lib/bb/cooker.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py index 19173ae7ba..237019c08e 100644 --- a/bitbake/lib/bb/cooker.py +++ b/bitbake/lib/bb/cooker.py | |||
@@ -642,7 +642,8 @@ class BBCooker: | |||
642 | # Calculate priorities for each file | 642 | # Calculate priorities for each file |
643 | matched = set() | 643 | matched = set() |
644 | for p in self.status.pkg_fn: | 644 | for p in self.status.pkg_fn: |
645 | self.status.bbfile_priority[p] = self.calc_bbfile_priority(p, matched) | 645 | realfn, cls = bb.cache.Cache.virtualfn2realfn(p) |
646 | self.status.bbfile_priority[p] = self.calc_bbfile_priority(realfn, matched) | ||
646 | 647 | ||
647 | # Don't show the warning if the BBFILE_PATTERN did match .bbappend files | 648 | # Don't show the warning if the BBFILE_PATTERN did match .bbappend files |
648 | unmatched = set() | 649 | unmatched = set() |