mirror of
https://git.yoctoproject.org/poky
synced 2026-02-07 17:26:36 +01:00
python-smartpm: Don't ignore error if RPM transaction fails without problems
SmartPM could misinterpret RPM transaction error as success, if ts.run() (RPM Python API) returns an empty problems list. This could happen for example if the RPM database is partially corrupted such that the transaction does not have any problems like conflicts or missing dependencies, but still can't be committed. The added patch fixes the problem in the upstream sources; one of the existing patches has to be adjusted to still apply. (From OE-Core rev: 1dc5f5d5c844585eec114be9480e0e4d8e60d09c) Signed-off-by: Daniel Klauer <daniel.klauer@gin.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
e89c6c4aa6
commit
be0cabf816
@@ -17,6 +17,7 @@ SRC_URI = "\
|
||||
file://smart-recommends.patch \
|
||||
file://smart-improve-error-reporting.patch \
|
||||
file://smart-channelsdir.patch \
|
||||
file://smart-rpm-transaction-failure-check.patch \
|
||||
file://smart-attempt.patch \
|
||||
file://smart-attempt-fix.patch \
|
||||
file://smart-add-for-rpm-ignoresize-check.patch \
|
||||
|
||||
Reference in New Issue
Block a user