mirror of
https://git.yoctoproject.org/poky
synced 2026-04-27 21:32:13 +02:00
bitbake: apply r1075 from upstream to get postinsts working again
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4625 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
@@ -93,7 +93,7 @@ def handle(fn, d, include = 0):
|
||||
init(d)
|
||||
|
||||
if ext == ".bbclass":
|
||||
__classname__ = root.replace('-','_')
|
||||
__classname__ = root
|
||||
classes.append(__classname__)
|
||||
__inherit_cache = data.getVar('__inherit_cache', d) or []
|
||||
if not fn in __inherit_cache:
|
||||
@@ -247,7 +247,7 @@ def feeder(lineno, s, fn, root, d):
|
||||
|
||||
m = __func_start_regexp__.match(s)
|
||||
if m:
|
||||
__infunc__ = (m.group("func") or "__anonymous").replace('-','_')
|
||||
__infunc__ = m.group("func") or "__anonymous"
|
||||
key = __infunc__
|
||||
if data.getVar(key, d):
|
||||
# clean up old version of this piece of metadata, as its
|
||||
|
||||
Reference in New Issue
Block a user