[oe-commits] Laurentiu Palcu : lib/oe/package_manager.py: OpkgPM, bad recommendation handling change
git at git.openembedded.org
git at git.openembedded.org
Tue Feb 11 11:56:31 UTC 2014
Module: openembedded-core.git
Branch: master
Commit: 7e518e399da51de3b159bd6804735b2f14c39357
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=7e518e399da51de3b159bd6804735b2f14c39357
Author: Laurentiu Palcu <laurentiu.palcu at intel.com>
Date: Mon Feb 3 11:41:45 2014 +0200
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 at intel.com>
---
meta/lib/oe/package_manager.py | 10 ++++------
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/meta/lib/oe/package_manager.py b/meta/lib/oe/package_manager.py
index 49bc12c..969292c 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):
More information about the Openembedded-commits
mailing list