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: lucaceresoli/bug-15201-perf-libtraceevent-missing~34540 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7e518e399da51de3b159bd6804735b2f14c39357;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.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 49bc12c745c..969292c0931 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):