summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorLaurentiu Palcu <laurentiu.palcu@intel.com>2014-02-03 11:41:45 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-02-11 11:50:32 +0000
commit7e518e399da51de3b159bd6804735b2f14c39357 (patch)
tree163818efb97bfd375211e20bbb17806e1e40ec77 /meta
parent276f2a8a072ce243daa74210934ee63046e9c480 (diff)
downloadopenembedded-core-7e518e399da51de3b159bd6804735b2f14c39357.tar.gz
openembedded-core-7e518e399da51de3b159bd6804735b2f14c39357.tar.bz2
openembedded-core-7e518e399da51de3b159bd6804735b2f14c39357.zip
lib/oe/package_manager.py: OpkgPM, bad recommendation handling change
The following commit: rootfs_ipk: Ensure that BAD_RECOMMENDATIONS are honoured for all architectures changed the way BAD_RECOMMENDATIONS are handled. Make the change in the new code too. Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Diffstat (limited to 'meta')
-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):