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>
This commit is contained in:
parent
8af55651ae
commit
ab8cbf35d6
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue