diff options
author | Herve Jourdain <herve.jourdain@neuf.fr> | 2016-06-09 15:41:31 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-02-15 20:06:41 -0800 |
commit | d9a3ebef27979f6c3f586a3b35b07521ae1faeed (patch) | |
tree | b6d4fdd202b67673bfe479513d41079bbd709d41 /meta/recipes-devtools/run-postinsts | |
parent | cf6c8a94a40080154fd2a2b32250799397a47a1f (diff) | |
download | poky-d9a3ebef27979f6c3f586a3b35b07521ae1faeed.tar.gz |
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.
(From OE-Core rev: 327f263be285525adcbbf472db6ac7722c84ac2f)
Signed-off-by: Herve Jourdain <herve.jourdain@neuf.fr>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/run-postinsts')
0 files changed, 0 insertions, 0 deletions