Hi,
I am trying to integrate mender with dunfell yocto project for target stm32mpu153.
I have followed for available doc and examples and here is:
-
mender port layer
stm32mpu_mender_port_layer -
system manifest
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<remote fetch="ssh://git@bitbucket.org/electricityexchange" name="viotas"/>
<remote fetch="https://github.com" name="github"/>
<remote fetch="http://git.openembedded.org" name="oe"/>
<remote fetch="https://github.com/STMicroelectronics" name="OpenSTLinux"/>
<remote fetch="https://github.com/mendersoftware" name="mender"/>
<default remote="OpenSTLinux"/>
<project name="yocto_env" remote="viotas" revision="dunfell/umeter" path="."/>
<project name="meta-um-bsp" remote="viotas" revision="vio-um0025A" path="layers/meta-um-bsp"/>
<project name="meta-vio-business" remote="viotas" revision="master" path="layers/meta-vio-business"/>
<project name="meta-mender-st-stm32mp15x-port" remote="viotas" revision="master" path="layers/meta-mender-community/meta-mender-st-stm32mp">
<linkfile src="scripts/stm32mp-setup-mender.sh" dest="stm32mp-setup-mender.sh"/>
</project>
<project name="bitbake" path="layers/openembedded-core/bitbake" remote="oe" revision="a394eeec6aeb98c6395cb5da2036ce936bdaa0a0"/>
<project name="meta-openembedded" path="layers/meta-openembedded" remote="oe" revision="5bba79488b7d393d2258d6e917f7bf7b0d7c4073"/>
<project name="meta-qt5/meta-qt5" path="layers/meta-qt5" remote="github" revision="0d8eb956015acdea7e77cd6672d08dce18061510"/>
<project name="meta-st-openstlinux" path="layers/meta-st/meta-st-openstlinux" revision="d6947f5a1898744aa15a96b68e8945f4f553175e"/>
<project name="meta-st-stm32mp" path="layers/meta-st/meta-st-stm32mp" revision="7b55c34159fcfd57b4965f7aa9284200eea09d20"/>
<project name="meta-st-stm32mp-addons" path="layers/meta-st/meta-st-stm32mp-addons" revision="81065195a63e98be8f423ab422960e9d7896f4d5"/>
<project name="meta-st-scripts" path="layers/meta-st/scripts" revision="d2ba39bc40952ff6eb06d2b0e496910a74209660"/>
<project name="openembedded-core" path="layers/openembedded-core" remote="oe" revision="72431ee8de5e3a53d259cebf420a7713ac9e1f14"/>
<project name="meta-mender" remote="mender" revision="dunfell" path="layers/meta-mender"/>
<project name="meta-mender-community" remote="mender" revision="dunfell" path="layers/meta-mender-community"/>
</manifest>
- layer integration just before build
./stm32mp-setup-mender.sh
layer path priority
==========================================================================
meta-python /var/work/jenkins/micrometer_sd/to_del/layers/meta-openembedded/meta-python 7
meta-oe /var/work/jenkins/micrometer_sd/to_del/layers/meta-openembedded/meta-oe 6
meta-vio-business /var/work/jenkins/micrometer_sd/to_del/layers/meta-vio-business 10
meta-um-bsp /var/work/jenkins/micrometer_sd/to_del/layers/meta-um-bsp 1
meta-gnome /var/work/jenkins/micrometer_sd/to_del/layers/meta-openembedded/meta-gnome 7
meta-initramfs /var/work/jenkins/micrometer_sd/to_del/layers/meta-openembedded/meta-initramfs 8
meta-multimedia /var/work/jenkins/micrometer_sd/to_del/layers/meta-openembedded/meta-multimedia 6
meta-networking /var/work/jenkins/micrometer_sd/to_del/layers/meta-openembedded/meta-networking 5
meta-webserver /var/work/jenkins/micrometer_sd/to_del/layers/meta-openembedded/meta-webserver 6
meta-filesystems /var/work/jenkins/micrometer_sd/to_del/layers/meta-openembedded/meta-filesystems 6
meta-perl /var/work/jenkins/micrometer_sd/to_del/layers/meta-openembedded/meta-perl 6
meta-st-stm32mp /var/work/jenkins/micrometer_sd/to_del/layers/meta-st/meta-st-stm32mp 6
meta-qt5 /var/work/jenkins/micrometer_sd/to_del/layers/meta-qt5 7
meta-mender-core /var/work/jenkins/micrometer_sd/to_del/layers/meta-mender/meta-mender-core 6
meta-mender-demo /var/work/jenkins/micrometer_sd/to_del/layers/meta-mender/meta-mender-demo 10
meta-mender-st-stm32mp /var/work/jenkins/micrometer_sd/to_del/layers/meta-mender-community/meta-mender-st-stm32mp 92
meta-st-openstlinux /var/work/jenkins/micrometer_sd/to_del/layers/meta-st/meta-st-openstlinux 5
meta /var/work/jenkins/micrometer_sd/to_del/layers/openembedded-core/meta 5
The issue:
NOTE: Resolving any missing task queue dependencies
ERROR: Nothing RPROVIDES 'mender-clientpackagegroup-core-buildessential' (but /var/work/jenkins/micrometer_sd/to_del/layers/meta-vio-business/recipes-core/images/um-image-full.bb RDEPENDS on or otherwise requires it)
NOTE: Runtime target 'mender-clientpackagegroup-core-buildessential' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['mender-clientpackagegroup-core-buildessential']
ERROR: Required build target 'um-image-full' has no buildable providers.
Missing or unbuildable dependency chain was: ['um-image-full', 'mender-clientpackagegroup-core-buildessential']
I figured out an example I have built did not required that packet.
Is it possible that our yocto project is set in such a way that the packet is required but it is not by default?