diff options
author | Aníbal Limón <anibal.limon@linux.intel.com> | 2014-11-26 08:22:13 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-11-26 17:01:44 +0000 |
commit | d9612ac36d59eb9e800f06339965d66f27c66ae0 (patch) | |
tree | b301ecf2064a5c2ae26df138503380f9a6c32eac | |
parent | 3dd696e03e66fa98b58a17b7f34ffe4002ddc9c6 (diff) | |
download | openembedded-core-d9612ac36d59eb9e800f06339965d66f27c66ae0.tar.gz openembedded-core-d9612ac36d59eb9e800f06339965d66f27c66ae0.tar.bz2 openembedded-core-d9612ac36d59eb9e800f06339965d66f27c66ae0.zip |
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>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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 27fdf26e07..19895e531b 100644 --- a/meta/lib/oe/package_manager.py +++ b/meta/lib/oe/package_manager.py @@ -1477,7 +1477,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) |