diff options
author | Aníbal Limón <anibal.limon@linux.intel.com> | 2014-11-03 16:16:25 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-11-09 10:17:04 +0000 |
commit | f6fb8c16f49fd9a2b124ad55f5c4fed82d7e6dca (patch) | |
tree | 50b80046cba5c0cc2a1b51d5d121221f57e5c023 /meta/lib | |
parent | c9cc652e88ddedddf8a2f23fb9b8c024616526d7 (diff) | |
download | openembedded-core-contrib-f6fb8c16f49fd9a2b124ad55f5c4fed82d7e6dca.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>
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/lib')
-rw-r--r-- | meta/lib/oe/package_manager.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oe/package_manager.py b/meta/lib/oe/package_manager.py index 1af5c86f58f..e18e071106e 100644 --- a/meta/lib/oe/package_manager.py +++ b/meta/lib/oe/package_manager.py @@ -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) |