Issue adding python on SAMA5d27-SOM1-EK1

Following this post I easily build and deployed image, thank you.

I am new to this hub. Sorry if it is not the right place to ask this question.

I want to add python binaries to image. But I could not manage it.

What I did is;
in sources directory:
git clone git://git.openembedded.org/meta-openembedded -b thud

then added following lines to build/conf/bblayers.conf and then rerun bitbake as in tyour post.

{TOPDIR}/../sources/meta-openembedded/meta-oe \ {TOPDIR}/…/sources/meta-openembedded/meta-networking
{TOPDIR}/../sources/meta-openembedded/meta-python \ {TOPDIR}/…/sources/meta-openembedded/meta-multimedia \

After deploying, no python binaries showed up in image. Am I missing something?

@habipyesilyurt welcome to mender forum. Adding layers is not enough. You need to add package to final image. You can add to conf/local.conf something like: IMAGE_INSTALL_append += " python" (or python3). This should then deploy python to your image. Hope this helps.

1 Like

Thank you very much @MarekBelisko. It worked.

1 Like