LayerIndex/Checker/Usual Issues

From Openembedded.org
Revision as of 10:27, 1 June 2021 by Dl9pf (talk | contribs) (Created page with "Usual issues that lead to yocto-check-layer failing: a) The layer does change recipes just by being present * this means that usually a .bbappend has a change which is not c...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Usual issues that lead to yocto-check-layer failing:

a) The layer does change recipes just by being present

  • this means that usually a .bbappend has a change which is not conditional or in other ways inactive until enabled by the user
    • Patterns that can be used for this are:
      • _append_someoverride - to activate the layer, an override needs to be added
      • FOO_ENABLE = "1" and ${@bb.utils.contains('FOO_ENABLE', '1', 'case_yes', 'case_no', d)}
        • e.g. require ${@bb.utils.contains('FOO_ENABLE', '1', 'foo_bar.inc', , d)}