I was able to solve it by forcing recompiling nodejs with `bitbake -f -c
compile nodejs`

Not sure what happened there

--
Alessandro Tagliapietra



On Wed, Apr 14, 2021 at 11:51 AM Alessandro Tagliapietra <
[email protected]> wrote:

> Hi everyone,
>
> I've installed nodejs and node-red  by using meta-oe and meta-iot-cloud,
> with
>
> IMAGE_INSTALL_append = " nodejs node-red bash"
>
> it was initially working but then I've got some pseudo aborts that fixed
> automatically and then I saw that:
>  - /usr/bin/node doesn't have the +x flag
>  - the file is 1.1G big (however the image is 200MB)
>  - trying to run it says "cannot execute binary file: Exec format error"
>
> any idea why?
>
> Target is core-image-minimal with machine qemuarm.
> I've checked the source of the file with `oe-pkgdata-util find-path` it
> came from the nodejs recipe. I've also tried bitbake -c clean nodejs and
> nothing changed
> 
>
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#53140): https://lists.yoctoproject.org/g/yocto/message/53140
Mute This Topic: https://lists.yoctoproject.org/mt/82099781/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to