]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
lib/oe/sstatesig: fix wildcard matching wrong task signature files
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Mon, 2 Oct 2017 01:55:37 +0000 (14:55 +1300)
committerPaul Eggleton <paul.eggleton@linux.intel.com>
Fri, 3 Nov 2017 03:14:14 +0000 (16:14 +1300)
commit7e391bf8df107c186a729105ddc62df4eea87d0b
tree1774125b5d88197cdcb3932bd97faa7f1969e9c4
parent3b413a80578caacd9a7f405f3c51a3921d78a60d
lib/oe/sstatesig: fix wildcard matching wrong task signature files

With a '*' as a wildcard for the signature here we can also match a
portion of the task name with the result that we may match a sigdata
file for the wrong task. Luckily the signature is always the same
length - 32 characters - so we can simply use 32 '?' characters instead.
(A regex would have been another alternative, but the wildcard should be
effective and I felt like a regex would complicate the code more than
this solution).

Fixes [YOCTO #11763].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
meta/lib/oe/sstatesig.py