]> code.ossystems Code Review - openembedded-core.git/commit
smartpm: if RPM transaction fails with an empty list of problems in attempt mode...
authorHerve Jourdain <herve.jourdain@neuf.fr>
Thu, 9 Jun 2016 07:41:31 +0000 (15:41 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 16 Feb 2017 04:06:28 +0000 (20:06 -0800)
commit327f263be285525adcbbf472db6ac7722c84ac2f
tree5388c573bf9f758c6217f2aebf4a33bd50a88f03
parentdc55d982aa3d35fa08749b817dbfd87e499d01ab
smartpm: if RPM transaction fails with an empty list of problems in attempt mode, ignore it!

Since commit be0cabf816a84c59e0e951b92a570121ed843822 on 2016/05/17, smartpm will retry the transaction if ts.run() returns with an empty list of problems, and we're in attempt mode.
But then, since all the packages are already installed, the transaction will fail with "package already installed" error.

In attempt mode, it's fine to not retry nor generate an error when the transaction fails for no reason linked to files/packages conflicts, so this patch fixes this behaviour.

Signed-off-by: Herve Jourdain <herve.jourdain@neuf.fr>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-devtools/python/python-smartpm/smart-attempt.patch