]> code.ossystems Code Review - openembedded-core.git/commit
python-smartpm: really ignore conflicts during install with --attempt
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Thu, 6 Feb 2014 13:39:01 +0000 (13:39 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 11 Feb 2014 11:56:35 +0000 (11:56 +0000)
commit210a426584b77ad2331332059af85bb9f4e2081f
treeb82fc96e2819e5a45f9caa4a318d053bc7a143ed
parent244e1d73ef58e92d73c098044c66bd784644b933
python-smartpm: really ignore conflicts during install with --attempt

The original patch added in OE-Core commit
bdf07b1698d228dc7ff555199a269b1ff8ceca19 was supposed to ignore
conflicts, but it was unable to do so because it wasn't raising errors
in the right place. When the --attempt option is used (as is done in
complementary package installation for RPM), raise errors immediately
on conflicts, catch errors at the right point so that requested packages
and their dependencies can be ignored, and print appropriate warnings
when doing so.

Fixes [YOCTO #5313].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/python/python-smartpm/smart-attempt.patch