[bitbake-devel] using same logic for overrides

Submitted by 张忠山 on Sept. 30, 2020, 3:11 a.m. | Patch ID: 176897

Details

Message ID 20200930031129.9934-1-zzs213@126.com
State New
Headers show

Commit Message

张忠山 Sept. 30, 2020, 3:11 a.m.
From: 张忠山 <zzs213@126.com>

Signed-off-by: 张忠山 <zzs213@126.com>
---
 bitbake/lib/bb/data_smart.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch hide | download patch | download mbox

diff --git a/bitbake/lib/bb/data_smart.py b/bitbake/lib/bb/data_smart.py
index 7f1b6dcb4f..7689987f05 100644
--- a/bitbake/lib/bb/data_smart.py
+++ b/bitbake/lib/bb/data_smart.py
@@ -648,7 +648,7 @@  class DataSmart(MutableMapping):
         if '_' in var:
             override = var[var.rfind('_')+1:]
             shortvar = var[:var.rfind('_')]
-            while override and override.islower():
+            while override and __override_regexp__.match(override):
                 try:
                     if shortvar in self.overridedata:
                         # Force CoW by recreating the list first