diff options
-rw-r--r-- | meta/lib/oe/package_manager.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/meta/lib/oe/package_manager.py b/meta/lib/oe/package_manager.py index 6dc8fbd9e4..a3c0a8eb30 100644 --- a/meta/lib/oe/package_manager.py +++ b/meta/lib/oe/package_manager.py | |||
@@ -1134,7 +1134,8 @@ class OpkgPM(PackageManager): | |||
1134 | 1134 | ||
1135 | if format == "file": | 1135 | if format == "file": |
1136 | tmp_output = "" | 1136 | tmp_output = "" |
1137 | for pkg, pkg_file, pkg_arch in tuple(output.split('\n')): | 1137 | for line in output.split('\n'): |
1138 | pkg, pkg_file, pkg_arch = line.split() | ||
1138 | full_path = os.path.join(self.deploy_dir, pkg_arch, pkg_file) | 1139 | full_path = os.path.join(self.deploy_dir, pkg_arch, pkg_file) |
1139 | if os.path.exists(full_path): | 1140 | if os.path.exists(full_path): |
1140 | tmp_output += "%s %s %s\n" % (pkg, full_path, pkg_arch) | 1141 | tmp_output += "%s %s %s\n" % (pkg, full_path, pkg_arch) |
@@ -1435,7 +1436,8 @@ class DpkgPM(PackageManager): | |||
1435 | 1436 | ||
1436 | if format == "file": | 1437 | if format == "file": |
1437 | tmp_output = "" | 1438 | tmp_output = "" |
1438 | for pkg, pkg_file, pkg_arch in tuple(output.split('\n')): | 1439 | for line in tuple(output.split('\n')): |
1440 | pkg, pkg_file, pkg_arch = line.split() | ||
1439 | full_path = os.path.join(self.deploy_dir, pkg_arch, pkg_file) | 1441 | full_path = os.path.join(self.deploy_dir, pkg_arch, pkg_file) |
1440 | if os.path.exists(full_path): | 1442 | if os.path.exists(full_path): |
1441 | tmp_output += "%s %s %s\n" % (pkg, full_path, pkg_arch) | 1443 | tmp_output += "%s %s %s\n" % (pkg, full_path, pkg_arch) |