summaryrefslogtreecommitdiffstats
path: root/meta/lib/oe
diff options
context:
space:
mode:
authorAníbal Limón <anibal.limon@linux.intel.com>2014-11-03 16:16:25 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-11-09 10:21:22 +0000
commit1d1979182844e748cf87a99e28e442fe76677043 (patch)
tree4843f88185a3f088248334d0b712cbd56262f967 /meta/lib/oe
parented3e25379c22da57a829f323b9404dd240de2272 (diff)
downloadpoky-1d1979182844e748cf87a99e28e442fe76677043.tar.gz
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 <ricardo.ribalda@gmail.com> (From OE-Core rev: f6fb8c16f49fd9a2b124ad55f5c4fed82d7e6dca) Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oe')
-rw-r--r--meta/lib/oe/package_manager.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oe/package_manager.py b/meta/lib/oe/package_manager.py
index 1af5c86f58..e18e071106 100644
--- a/meta/lib/oe/package_manager.py
+++ b/meta/lib/oe/package_manager.py
@@ -1485,7 +1485,7 @@ class DpkgPM(PackageManager):
1485 1485
1486 self.apt_args = d.getVar("APT_ARGS", True) 1486 self.apt_args = d.getVar("APT_ARGS", True)
1487 1487
1488 self.all_arch_list = self.d.getVar('PACKAGE_ARCHS', True).split() 1488 self.all_arch_list = archs.split()
1489 all_mlb_pkg_arch_list = (self.d.getVar('ALL_MULTILIB_PACKAGE_ARCHS', True) or "").replace('-', '_').split() 1489 all_mlb_pkg_arch_list = (self.d.getVar('ALL_MULTILIB_PACKAGE_ARCHS', True) or "").replace('-', '_').split()
1490 self.all_arch_list.extend(arch for arch in all_mlb_pkg_arch_list if arch not in self.all_arch_list) 1490 self.all_arch_list.extend(arch for arch in all_mlb_pkg_arch_list if arch not in self.all_arch_list)
1491 1491