1
0
mirror of https://git.yoctoproject.org/poky synced 2026-06-01 00:59:48 +00:00

OpkgPM: use --add-ignore-recommends to process BAD_RECOMMENDATIONS

Currently, BAD_RECOMMENDATIONS on the opkg backed relies on editing the
opkg status file (it sets BAD_RECOMMENDATIONS pkg want state to
deinstalled and pinned). This is brittle, and not consistent across the
different solver backends. Use new --add-ignore-recommends flag instead.

(From OE-Core rev: 0d11e813ba9b4e8de9e6e5099ff85f5d914243bc)

Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Alejandro del Castillo
2019-02-07 09:57:59 -06:00
committed by Richard Purdie
parent df31968a4c
commit d8e12f2bfc
2 changed files with 2 additions and 41 deletions
-2
View File
@@ -892,8 +892,6 @@ class OpkgRootfs(DpkgOpkgRootfs):
self.pm.update()
self.pm.handle_bad_recommendations()
if self.progress_reporter:
self.progress_reporter.next_stage()