aws4embeddedlinux / meta-aws

The metadata layer for baking AWS device software to Embedded Linux distributions built by the Yocto Project build system.
MIT License
124 stars 80 forks source link

Zeus Branch #420

Closed anamod closed 2 years ago

anamod commented 2 years ago

Hi! English is not my first language and I was wondering what it means "Breakingfix only" near the Zeus release branch. Cause I tried to add meta-aws in a recipes in my yocto (Vs Zeus 2.3) and it says:

user@a7eec5096576:/yocto/build$ bitbake engicam-evaluation-image ERROR: Unable to start bitbake server (None) ERROR: Server log for this session (/yocto/build/bitbake-cookerdaemon.log): --- Starting bitbake server pid 60 at 2022-07-12 12:52:37.678989 --- ERROR: Layer meta-aws is not compatible with the core layer which only supports these series: zeus (layer is compatible with kirkstone)

rpcme commented 2 years ago

Hello, did you check out the zeus branch after cloning? LAYERSERIES_COMPAT on zeus branch is zeus, and you should only receive this error if LAYER_COMPAT is kirkstone - which could mean that zeus branch is not checked out and you're still on mainline.

anamod commented 2 years ago

@rpcme I checked the LAYER_COMPAT, and it's actually kirkstone (as u said). But what can I do to made it compatible w/ Zeus?

which could mean that zeus branch is not checked out and you're still on mainline

I dont get how I can resolve this (sorry but I'm totally new to this stuff and it's pretty confusing)

thomas-roos commented 2 years ago

Hi, no problem - just do an git checkout zeus in the meta-aws folder. Zeus is already end of life - so we recommend using a more recent version like kirkstone. This is also the reason for "breakfix only". Basically this is all you need to start building:

mkdir yoctotest
cd yoctotest/
git clone git://git.yoctoproject.org/poky -b  kirkstone
git clone https://github.com/aws4embeddedlinux/meta-aws -b kirkstone
git clone https://github.com/openembedded/meta-openembedded.git -b kirkstone
source poky/oe-init-build-env
bitbake-layers add-layer ../meta-openembedded/meta-oe
bitbake-layers add-layer ../meta-openembedded/meta-python
bitbake-layers add-layer ../meta-openembedded/meta-networking
bitbake-layers add-layer ../meta-aws

strongly recommending start reading manuals here: https://docs.yoctoproject.org/overview-manual/concepts.html#layers

anamod commented 2 years ago

I read online that Zeus is EOL but unfortunately I have to use it; it's for work and we are using hardware that only support Zeus 2.3

thomas-roos commented 2 years ago

Just let us know if you get stuck - we are here to help you!