summaryrefslogtreecommitdiff
path: root/meta/lib
diff options
context:
space:
mode:
Diffstat (limited to 'meta/lib')
-rw-r--r--meta/lib/oe/package_manager.py10
1 files changed, 4 insertions, 6 deletions
diff --git a/meta/lib/oe/package_manager.py b/meta/lib/oe/package_manager.py
index 49bc12c745..969292c093 100644
--- a/meta/lib/oe/package_manager.py
+++ b/meta/lib/oe/package_manager.py
@@ -1010,12 +1010,10 @@ class OpkgPM(PackageManager):
continue
for line in output.split('\n'):
- if line.startswith("Package:") or \
- line.startswith("Architecture:") or \
- line.startswith("Version:"):
- status.write(line)
-
- status.write("Status: deinstall hold not-installed\n")
+ if line.startswith("Status:"):
+ status.write("Status: deinstall hold not-installed\n")
+ else:
+ status.write(line + "\n")
class DpkgPM(PackageManager):