diff options
| author | Otavio Salvador <otavio@ossystems.com.br> | 2026-07-14 09:52:15 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-07-14 09:52:15 -0300 |
| commit | 4d5f4a128a7d9e8d59e52580e5c3e09b26d10ee3 (patch) | |
| tree | 435159eb4d4ff1c468f4f83e5cf494e63f212f4c | |
| parent | d634c2fb5039bf2ef0edeee06d1eac3bf5d41fac (diff) | |
| parent | 38df8058895c7abb88889bb7133b30b872e6e805 (diff) | |
| download | meta-freescale-4d5f4a128a7d9e8d59e52580e5c3e09b26d10ee3.tar.gz | |
Merge pull request #2554 from Freescale/oelint-cleanup-4-config-suppress
oelint: Suppress layer-inapplicable rules
| -rw-r--r-- | .oelint.cfg | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/.oelint.cfg b/.oelint.cfg index fbf1ede14..37c94ca3c 100644 --- a/.oelint.cfg +++ b/.oelint.cfg | |||
| @@ -2,8 +2,23 @@ | |||
| 2 | # directory as the working directory (see contrib/oelint/run-oelint.sh). | 2 | # directory as the working directory (see contrib/oelint/run-oelint.sh). |
| 3 | # | 3 | # |
| 4 | # Layer-specific parser hints live in oelint.constants.json and are passed by | 4 | # Layer-specific parser hints live in oelint.constants.json and are passed by |
| 5 | # contrib/oelint/run-oelint.sh. Rule exceptions should stay inline as | 5 | # contrib/oelint/run-oelint.sh. Per-recipe exceptions should stay inline as |
| 6 | # '# nooelint: <rule.id>' comments next to the finding, so new recipes are fully | 6 | # '# nooelint: <rule.id>' comments next to the finding, so new recipes are fully |
| 7 | # linted and each exception is documented in place. | 7 | # linted and each exception is documented in place. Only rules that provably |
| 8 | # never apply to the whole layer are suppressed here: | ||
| 9 | # | ||
| 10 | # * oelint.var.bbclassextend - meta-freescale is a BSP layer; the bulk of its | ||
| 11 | # recipes package machine-specific firmware and prebuilt binaries that are | ||
| 12 | # not cross-compilable libraries, so BBCLASSEXTEND (native/nativesdk) does | ||
| 13 | # not apply. | ||
| 14 | # * oelint.var.suggestedvar.CVE_PRODUCT / .BUGTRACKER - advisory 'suggested' | ||
| 15 | # variables. Most recipes here package NXP firmware/BSP components with no | ||
| 16 | # upstream bug tracker and no meaningful NVD CPE product; guessing a | ||
| 17 | # CVE_PRODUCT would create false or missed CVE matches, which is worse than | ||
| 18 | # leaving it unset. Set them inline on the rare recipe that has a real value. | ||
| 8 | [oelint] | 19 | [oelint] |
| 9 | release = wrynose | 20 | release = wrynose |
| 21 | suppress = | ||
| 22 | oelint.var.bbclassextend | ||
| 23 | oelint.var.suggestedvar.CVE_PRODUCT | ||
| 24 | oelint.var.suggestedvar.BUGTRACKER | ||
