]> git.apps.os.sepia.ceph.com Git - teuthology.git/commit
kernel: fix commit hash matching in need_to_install() 376/head
authorIlya Dryomov <idryomov@redhat.com>
Thu, 4 Dec 2014 06:49:56 +0000 (09:49 +0300)
committerIlya Dryomov <idryomov@redhat.com>
Thu, 4 Dec 2014 08:02:52 +0000 (11:02 +0300)
commit10d7f9095fbb42747f832aea129a9cc73d9ebe24
treedcbd1f58e8d45562d315fb3482311eb98e4e3b9a
parent8b2dd5f639e759891f41b21ccf22bbe863b4f063
kernel: fix commit hash matching in need_to_install()

We don't need to install a new kernel if the "want" (version) commit
hash and the "have" (cur_sha1) commit hash match but the former is
shorter than the latter.

Signed-off-by: Ilya Dryomov <idryomov@redhat.com>
teuthology/task/kernel.py