Pull request #76: fix(coreos-efi-secureboot.bbclass): fix cache invalidation
Merge in ICO/coreos from fix/broken-keyhash to master * commit '6e8620a51f3082da56218551ea1791b30358a061': fix(coreos-efi-secureboot.bbclass): fix cache invalidation
This commit is contained in:
commit
ab90913b9c
|
|
@ -41,10 +41,11 @@ def get_coreos_secureboot_keydir_hash(d):
|
||||||
keydir = d.getVar('COREOS_EFI_SECUREBOOT_KEYDIR')
|
keydir = d.getVar('COREOS_EFI_SECUREBOOT_KEYDIR')
|
||||||
value = ""
|
value = ""
|
||||||
|
|
||||||
for filepath in os.listdir(keydir):
|
for keyname in os.listdir(keydir):
|
||||||
|
filepath = os.path.join(keydir, keyname)
|
||||||
if os.path.isfile(filepath):
|
if os.path.isfile(filepath):
|
||||||
md5 = bb.utils.md5_file(filepath)
|
md5 = bb.utils.md5_file(filepath)
|
||||||
value += f"{filepath}:md5:{md5} "
|
value += f"{keyname}:md5:{md5} "
|
||||||
|
|
||||||
return value
|
return value
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue