mirror of
https://git.yoctoproject.org/meta-security
synced 2026-01-12 03:10:13 +00:00
dm-verity-img.bbclass: fix syntax warning
Fixes warning ``` SyntaxWarning: "is not" with a literal. Did you mean "!="? ``` Signed-off-by: Eero Aaltonen <eero.aaltonen@vaisala.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
committed by
Armin Kuster
parent
bd7a25c4dd
commit
4c786d4e09
@@ -87,7 +87,7 @@ python __anonymous() {
|
||||
if verity_image != pn:
|
||||
return # This doesn't concern this image
|
||||
|
||||
if len(verity_type.split()) is not 1:
|
||||
if len(verity_type.split()) != 1:
|
||||
bb.fatal('DM_VERITY_IMAGE_TYPE must contain exactly one type')
|
||||
|
||||
d.appendVar('IMAGE_FSTYPES', ' %s.verity' % verity_type)
|
||||
|
||||
Reference in New Issue
Block a user