From: Laurentiu Palcu Date: Mon, 3 Feb 2014 09:41:45 +0000 (+0200) Subject: lib/oe/package_manager.py: OpkgPM, bad recommendation handling change X-Git-Tag: 2015-4~3703 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=7e518e399da51de3b159bd6804735b2f14c39357;p=openembedded-core.git 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 --- 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):