Skip to contentSkip to conversation

package_manager: DpkgPM fix populate_sdk

PATCH New Aníbal Limón 1 participant 1 message Nov 3, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package_manager: DpkgPM fix populate_sdk

DpkgPM change all_arch_list variable set from PACKAGE_ARCHS to passed archs variable because is different when is executed from rootfs.py and sdk.py.

Credits to: Ricardo Ribalda <[email protected]>

---
 meta/lib/oe/package_manager.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/lib/oe/package_manager.py +1 -1
index ffb83b2..e44e28a 100644
@@ -1478,7 +1478,7 @@ class DpkgPM(PackageManager):
 
         self.apt_args = d.getVar("APT_ARGS", True)
 
-        self.all_arch_list = self.d.getVar('PACKAGE_ARCHS', True).split()
+        self.all_arch_list = archs.split()
         all_mlb_pkg_arch_list = (self.d.getVar('ALL_MULTILIB_PACKAGE_ARCHS', True) or "").replace('-', '_').split()
         self.all_arch_list.extend(arch for arch in all_mlb_pkg_arch_list if arch not in self.all_arch_list)
 
Signature · 1 line
1.9.1