diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/lib/oe/package_manager.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/lib/oe/package_manager.py b/meta/lib/oe/package_manager.py index 0cdf3b0857..692528db16 100644 --- a/meta/lib/oe/package_manager.py +++ b/meta/lib/oe/package_manager.py | |||
@@ -178,7 +178,9 @@ class DpkgIndexer(Indexer): | |||
178 | arch_list = pkg_archs.split() | 178 | arch_list = pkg_archs.split() |
179 | sdk_pkg_archs = self.d.getVar('SDK_PACKAGE_ARCHS', True) | 179 | sdk_pkg_archs = self.d.getVar('SDK_PACKAGE_ARCHS', True) |
180 | if sdk_pkg_archs is not None: | 180 | if sdk_pkg_archs is not None: |
181 | arch_list += sdk_pkg_archs.split() | 181 | for a in sdk_pkg_archs.split(): |
182 | if a not in pkg_archs: | ||
183 | arch_list.append(a) | ||
182 | 184 | ||
183 | apt_ftparchive = bb.utils.which(os.getenv('PATH'), "apt-ftparchive") | 185 | apt_ftparchive = bb.utils.which(os.getenv('PATH'), "apt-ftparchive") |
184 | gzip = bb.utils.which(os.getenv('PATH'), "gzip") | 186 | gzip = bb.utils.which(os.getenv('PATH'), "gzip") |