Error after adding meta-mender-core

These are the steps to reproduce the error

git clone git://git.yoctoproject.org/poky -b kirkstone
git clone https://github.com/mendersoftware/meta-mender.git -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/grub-efi-mender-precompiled_2.04.bb                                                             | ETA:  0:00:01
Traceback (most recent call last):
  File "<expansion>", line 1, in <module>
bb.data_smart.ExpansionError: Failure expanding expression ${@'uboot_version_logic.inc' 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: ${@'uboot_version_logic.inc' 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

MENDER_EFI_LOADER = ""

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

Greetz,
Josef

Hi @TheYoctoJester,

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

Regards,
Marcus