public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
* [PATCH v2] python-smartpm: use md5 as the digest for rpm_sys channel
@ 2016-09-14  8:46 Markus Lehtonen
  2016-09-14  8:46 ` Markus Lehtonen
  0 siblings, 1 reply; 2+ messages in thread
From: Markus Lehtonen @ 2016-09-14  8:46 UTC (permalink / raw)
  To: openembedded-core

When reading smartpm sources more closely I found out that it has an internal
utility function for doing file hashes. It does hashing in a more memory
efficient way, processing the file in chunks. Thus, it is better to use it
instead of blindly reading the whole file into memory as v1 of this patch did.

Markus Lehtonen (1):
  python-smartpm: use md5 as the digest for rpm_sys channel

 ...m_sys-use-md5sum-instead-of-mtime-as-the-.patch | 38 ++++++++++++++++++++++
 meta/recipes-devtools/python/python-smartpm_git.bb |  1 +
 2 files changed, 39 insertions(+)
 create mode 100644 meta/recipes-devtools/python/python-smartpm/channels-rpm_sys-use-md5sum-instead-of-mtime-as-the-.patch

-- 
2.6.6



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-09-14  8:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-14  8:46 [PATCH v2] python-smartpm: use md5 as the digest for rpm_sys channel Markus Lehtonen
2016-09-14  8:46 ` Markus Lehtonen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox