From e7267b4e78461e71a1175f93e2eb5e90272c2b47 Mon Sep 17 00:00:00 2001 From: Markus Lehtonen Date: Wed, 14 Sep 2016 11:46:06 +0300 Subject: python-smartpm: use md5 as the digest for rpm_sys channel Use md5 sum instead of mtime as the "digest" method for rpm_sys channel. The digest is used to determine if the channel has been updated. It was found out that mtime was not a reliable digest. On some systems mtime of the rpm db does not get updated after every transaction if transactions (smart install / remove commands) are fired in quick succession. As a consequence smartpm cache and rpm db get out of sync. [YOCTO #10244] Signed-off-by: Markus Lehtonen Signed-off-by: Richard Purdie --- meta/recipes-devtools/python/python-smartpm_git.bb | 1 + 1 file changed, 1 insertion(+) (limited to 'meta/recipes-devtools/python/python-smartpm_git.bb') diff --git a/meta/recipes-devtools/python/python-smartpm_git.bb b/meta/recipes-devtools/python/python-smartpm_git.bb index 0c260482df..861910cc29 100644 --- a/meta/recipes-devtools/python/python-smartpm_git.bb +++ b/meta/recipes-devtools/python/python-smartpm_git.bb @@ -26,6 +26,7 @@ SRC_URI = "\ file://smart-locale.patch \ file://smartpm-rpm5-support-check-signatures.patch \ file://smart-add-deugging-when-targetpath-is-empty.patch \ + file://channels-rpm_sys-use-md5sum-instead-of-mtime-as-the-.patch \ " SRCREV = "407a7eca766431257dcd1da15175cc36a1bb22d0" -- cgit v1.2.3