diff options
author | Jan Luebbe <jlu@pengutronix.de> | 2020-04-01 16:58:04 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-04-02 15:24:59 +0100 |
commit | cb180dc45fbd8ad11658348e856e5f6b9d8dc2e8 (patch) | |
tree | d2bb3ef020cc9d66dd6f8e84b3df94c9437eb986 /meta/files/common-licenses/Apache-2.0-with-LLVM-exception | |
parent | 28642102360776c80909fbe5d6d979db541a60de (diff) | |
download | poky-cb180dc45fbd8ad11658348e856e5f6b9d8dc2e8.tar.gz |
lib/oe/package_manager: avoid installing provided packages via apt
If there already is a package providing (and conflicting against)
packages what should be installed, apt will try remove the conflicting
package (target-sdk-provides-dummy) and any that depend on it (like apt
and dpkg). This usually fails because of the protection of essential
packages. In that case, no -dev/-dbg packages are installed to the SDK.
Avoid this problem by checking which packages are already provided and
removing them from the list to be installed. Also sort the list to make
it easier to read when debugging.
(From OE-Core rev: 3ffb339dd55f8ca7c952fd3390608510f772e19f)
Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/files/common-licenses/Apache-2.0-with-LLVM-exception')
0 files changed, 0 insertions, 0 deletions