Error after adding meta-mender-core

These are the steps to reproduce the error

git clone git:// -b kirkstone
git clone -b kirkstone
source poky/oe-init-build-env
bitbake-layers add-layer ../meta-mender/meta-mender-core
bitbake --parse-only

These steps generates the following error

ERROR: ExpansionError during parsing /home/maffan/yocto/meta-mender/meta-mender-core/recipes-bsp/grub/                                                             | ETA:  0:00:01
Traceback (most recent call last):
  File "<expansion>", line 1, in <module>
bb.data_smart.ExpansionError: Failure expanding expression ${@'' if d.getVar('MENDER_EFI_LOADER').startswith('u-boot') else ''} which triggered exception AttributeError: 'NoneType' object has no attribute 'startswith'
The variable dependency chain for the failure is: ${@'' if d.getVar('MENDER_EFI_LOADER').startswith('u-boot') else ''}

ERROR: Parsing halted due to errors, see error messages above

Summary: There were 2 ERROR messages, returning a non-zero exit code.

Is this a bug or am I doing something wrong?

Hi @maffan,

Its a known issue with meta-mender-core being in effect without INHERIT += "mender-full". The easiest workaround is to set


in your local.conf or `DISTRO´ configuration file - or proceeding to a full integration.


Hi @TheYoctoJester,

Thank you for your quick response! I’ll just make sure to add that to one of my config files.