diff options
author | Laurentiu Palcu <laurentiu.palcu@intel.com> | 2014-02-03 11:41:45 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-02-11 11:50:32 +0000 |
commit | 7e518e399da51de3b159bd6804735b2f14c39357 (patch) | |
tree | 163818efb97bfd375211e20bbb17806e1e40ec77 /meta/lib/oe | |
parent | 276f2a8a072ce243daa74210934ee63046e9c480 (diff) | |
download | openembedded-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/lib/oe')
-rw-r--r-- | meta/lib/oe/package_manager.py | 10 |
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): |