[yocto] [auh][PATCH] upgradehelper.py: fix arguments to _pkg_upgradable()

Alexander Kanavin alexander.kanavin at linux.intel.com
Wed Feb 28 06:25:35 PST 2018


Maintainer whitelisting was broken, in particular.

Signed-off-by: Alexander Kanavin <alexander.kanavin at linux.intel.com>
---
 upgradehelper.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/upgradehelper.py b/upgradehelper.py
index b22b915..169e9ce 100755
--- a/upgradehelper.py
+++ b/upgradehelper.py
@@ -718,7 +718,7 @@ class UniverseUpdater(Updater):
             # Always do the upgrade if recipes are specified
             if self.recipes and pkg[0] in self.recipes:
                 pkgs_list.append(pkg)
-            elif self._pkg_upgradable(pkg[0], pkg[1], pkg[2]):
+            elif self._pkg_upgradable(pkg[0], pkg[2], pkg[3]):
                 pkgs_list.append(pkg)
 
         return pkgs_list
-- 
2.15.1




More information about the yocto mailing list