summaryrefslogtreecommitdiffstats
path: root/meta/lib/oe
diff options
context:
space:
mode:
Diffstat (limited to 'meta/lib/oe')
-rw-r--r--meta/lib/oe/package_manager.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/lib/oe/package_manager.py b/meta/lib/oe/package_manager.py
index f801333e54..69bef1dfbc 100644
--- a/meta/lib/oe/package_manager.py
+++ b/meta/lib/oe/package_manager.py
@@ -679,10 +679,10 @@ class RpmPM(PackageManager):
679 def _search_pkg_name_in_feeds(self, pkg, feed_archs): 679 def _search_pkg_name_in_feeds(self, pkg, feed_archs):
680 for arch in feed_archs: 680 for arch in feed_archs:
681 arch = arch.replace('-', '_') 681 arch = arch.replace('-', '_')
682 regex_match = re.compile(r"^%s-[^-]*-[^-]*@%s$" % \
683 (re.escape(pkg), re.escape(arch)))
682 for p in self.fullpkglist: 684 for p in self.fullpkglist:
683 regex_match = r"^%s-[^-]*-[^-]*@%s$" % \ 685 if regex_match.match(p) is not None:
684 (re.escape(pkg), re.escape(arch))
685 if re.match(regex_match, p) is not None:
686 # First found is best match 686 # First found is best match
687 # bb.note('%s -> %s' % (pkg, pkg + '@' + arch)) 687 # bb.note('%s -> %s' % (pkg, pkg + '@' + arch))
688 return pkg + '@' + arch 688 return pkg + '@' + arch