Yocto VS nodejs
So I’ve been working on a Yocto project for a bit now, for a client’s project.
I spent way too much time looking for how to get nodejs to compile into the image. The recipe’s already there, in meta-openembedded/meta-oe/recipes-devtools/nodejs. But I just couldn’t find the flag to enable it with Yocto Kirkstone.
The few forum posts I had found were telling me to add IMAGE_INSTALL_APPEND = ” nodejs” to the conf file. Oops. That was returning an error that the syntax was wrong to append any kind of variable anymore.
It turns out, it’s relatively simple to update it, and I found the answer here. Instead of IMAGE_INSTALL_APPEND, use IMAGE_INSTALL:append = ” nodejs”.
I’m writing this down so that others maybe running into the same issue can figure it out with a bit of an easier time than I had.