]> code.ossystems Code Review - openembedded-core.git/commit
python-smartpm: use md5 as the digest for rpm_sys channel
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Wed, 14 Sep 2016 08:46:06 +0000 (11:46 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 14 Sep 2016 21:20:05 +0000 (22:20 +0100)
commite7267b4e78461e71a1175f93e2eb5e90272c2b47
treec48f1986b3cdaad3fcbbaa3f892fc16e1c322ba6
parent7c0788cd2390fd0e1ec84bc9dbebcb67daee429f
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 <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/python/python-smartpm/channels-rpm_sys-use-md5sum-instead-of-mtime-as-the-.patch [new file with mode: 0644]
meta/recipes-devtools/python/python-smartpm_git.bb