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:53:44 +0000 |
commit | ab8cbf35d6d9906e72ebc25d18f19a1f3dc82fd9 (patch) | |
tree | 38dec6c75e106a19ac174693f33dc6065a99eb00 | |
parent | 8af55651ae30d4ae24569033d07f2a5d3dbd53d5 (diff) | |
download | poky-ab8cbf35d6d9906e72ebc25d18f19a1f3dc82fd9.tar.gz |
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.
(From OE-Core rev: 7e518e399da51de3b159bd6804735b2f14c39357)
Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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): | |||
1010 | continue | 1010 | continue |
1011 | 1011 | ||
1012 | for line in output.split('\n'): | 1012 | for line in output.split('\n'): |
1013 | if line.startswith("Package:") or \ | 1013 | if line.startswith("Status:"): |
1014 | line.startswith("Architecture:") or \ | 1014 | status.write("Status: deinstall hold not-installed\n") |
1015 | line.startswith("Version:"): | 1015 | else: |
1016 | status.write(line) | 1016 | status.write(line + "\n") |
1017 | |||
1018 | status.write("Status: deinstall hold not-installed\n") | ||
1019 | 1017 | ||
1020 | 1018 | ||
1021 | class DpkgPM(PackageManager): | 1019 | class DpkgPM(PackageManager): |