diff options
-rw-r--r-- | meta/lib/oe/package_manager.py | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/meta/lib/oe/package_manager.py b/meta/lib/oe/package_manager.py index dfe4197ce1..0723728927 100644 --- a/meta/lib/oe/package_manager.py +++ b/meta/lib/oe/package_manager.py | |||
@@ -41,7 +41,7 @@ def opkg_query(cmd_output): | |||
41 | filename = "" | 41 | filename = "" |
42 | dep = [] | 42 | dep = [] |
43 | pkgarch = "" | 43 | pkgarch = "" |
44 | for line in cmd_output.splitlines(): | 44 | for line in cmd_output.splitlines()+['']: |
45 | line = line.rstrip() | 45 | line = line.rstrip() |
46 | if ':' in line: | 46 | if ':' in line: |
47 | if line.startswith("Package: "): | 47 | if line.startswith("Package: "): |
@@ -80,12 +80,6 @@ def opkg_query(cmd_output): | |||
80 | dep = [] | 80 | dep = [] |
81 | pkgarch = "" | 81 | pkgarch = "" |
82 | 82 | ||
83 | if pkg: | ||
84 | if not filename: | ||
85 | filename = "%s_%s_%s.ipk" % (pkg, ver, arch) | ||
86 | output[pkg] = {"arch":arch, "ver":ver, | ||
87 | "filename":filename, "deps": dep } | ||
88 | |||
89 | return output | 83 | return output |
90 | 84 | ||
91 | def failed_postinsts_abort(pkgs, log_path): | 85 | def failed_postinsts_abort(pkgs, log_path): |