]> code.ossystems Code Review - openembedded-core.git/commitdiff
package_manager: DpkgPM fix populate_sdk
authorAníbal Limón <anibal.limon@linux.intel.com>
Mon, 3 Nov 2014 22:16:25 +0000 (16:16 -0600)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 9 Nov 2014 10:17:04 +0000 (10:17 +0000)
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 <ricardo.ribalda@gmail.com>

Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/lib/oe/package_manager.py

index 1af5c86f58f5dcefd0bd6064ebc0c0355978a407..e18e071106e5fa1fff31f9ed461027d3b5dd9208 100644 (file)
@@ -1485,7 +1485,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)