]> code.ossystems Code Review - openembedded-core.git/commit
sanity.bbclass: Detect and fail if 'inherit' is used in conf file
authorGregor Zatko <gzatko@gmail.com>
Sun, 24 May 2020 10:24:04 +0000 (12:24 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 24 May 2020 22:55:31 +0000 (23:55 +0100)
commit07bf9b460fe97dec86439302a83bbefa8bac9d70
tree46a0b83ca2a40b364f99b5e39779d14162510e61
parent3d5aa170d2e88b852bd2a4452aab9311a24badef
sanity.bbclass: Detect and fail if 'inherit' is used in conf file

'inherit' directive may not be used in conf files as it's supposed
to be used for the inheritance of classes.
Correct form in conf file is INHERIT.

This commit adds:
- a sanity check to find whether the wrong case exists
- fail the build if so
- tell user about the difference in directives

[YOCTO #5426]

Signed-off-by: Gregor Zatko <gzatko@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/sanity.bbclass