]> code.ossystems Code Review - openembedded-core.git/commit
yocto-check-layer: disregard checks if referencing another README file
authorJon Mason <jdmason@kudzu.us>
Sat, 4 Dec 2021 18:18:09 +0000 (13:18 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 4 Dec 2021 23:38:42 +0000 (23:38 +0000)
commit443c73d638519d6a7ea44d1c0e80d76306687ddc
tree251377468281b5408249c7f354dc4f147d246412
parent5d4937bce191b7e22b807c0595d4845c88ecc560
yocto-check-layer: disregard checks if referencing another README file

It is permissible to have a layer's README reference another README.  If
this is the case, avoid other checks.  Do this by checking for the word
README (case insensitive) in the README file.  This might be too
permissive, but follows the pattern of looking for exact words (like
"patch" or "maintainer") in READMEs.

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/lib/checklayer/cases/common.py