[oe-commits] =?UTF-8?Q?An=C3=ADbal=20Lim=C3=B3n=20?=: package_manager: DpkgPM fix populate_sdk
git at git.openembedded.org
git at git.openembedded.org
Sat Nov 8 11:16:53 UTC 2014
Module: openembedded-core.git
Branch: master-next
Commit: baa1f55bc394bbc6b420d513a58cb7feaaeda200
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=baa1f55bc394bbc6b420d513a58cb7feaaeda200
Author: Aníbal Limón <anibal.limon at linux.intel.com>
Date: Mon Nov 3 16:16:25 2014 -0600
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 at gmail.com>
Signed-off-by: Aníbal Limón <anibal.limon at linux.intel.com>
Signed-off-by: Ross Burton <ross.burton at intel.com>
---
meta/lib/oe/package_manager.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/lib/oe/package_manager.py b/meta/lib/oe/package_manager.py
index 1af5c86..e18e071 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)
More information about the Openembedded-commits
mailing list