Преглед на файлове

providers.py: Fix PACKAGES_DYNAMIC handling of packages with '++' in the name (from poky)

Richard Purdie преди 15 години
родител
ревизия
10aea1a81a
променени са 2 файла, в които са добавени 2 реда и са изтрити 0 реда
  1. 1 0
      ChangeLog
  2. 1 0
      lib/bb/providers.py

+ 1 - 0
ChangeLog

@@ -146,6 +146,7 @@ Changes in Bitbake 1.9.x:
 	- Move prunedir function to utils.py and add explode_dep_versions function
 	- Raise an exception if SRCREV == 'INVALID'
 	- Fix hg fetcher username/password handling and fix crash
+	- Fix PACKAGES_DYNAMIC handling of packages with '++' in the name
 
 Changes in Bitbake 1.8.0:
 	- Release 1.7.x as a stable series

+ 1 - 0
lib/bb/providers.py

@@ -296,6 +296,7 @@ def getRuntimeProviders(dataCache, rdepend):
 
     # Only search dynamic packages if we can't find anything in other variables
     for pattern in dataCache.packages_dynamic:
+        pattern = pattern.replace('+', "\+")
         try:
             regexp = re.compile(pattern)
         except: