z4yx / petalinux-docker

Dockerfile to build docker images with Petalinux (Tested on version 2018.3~2021.1)
MIT License
111 stars 64 forks source link

Failed to source bitbake #13

Open treffnix1983 opened 2 years ago

treffnix1983 commented 2 years ago

Hi, I have noticed a problem, or maybe I missed something. I was able to build the docker file without any problems. When I then create the project and run the command: petalinux-config --get-hw-description=./../

The I get the following feedback: ERROR: Failed to source bitbake

Did someone had the same problem? How can I solve this. Best regards Manuel

z4yx commented 2 years ago

Which version of Petalinux are you using?

treffnix1983 commented 2 years ago

Hi, I use petalinux 2020.1

treffnix1983 commented 2 years ago

https://stackoverflow.com/questions/65415251/petalinux-2020-1-config-failed This seems to be the same situation.

treffnix1983 commented 2 years ago

As test I set up the Petalinux 2020.1 in a virtual machine. And I had the same issue. I created the project in a shared folder. As I created this project in a native folder everything worked out fine. Maybe this is the same project with the docker build since I created the project in the mounted volume, Is this possible?

z4yx commented 2 years ago

I can't reproduce the problem mentioned in the Stackoverflow post: https://asciinema.org/a/wOr8upjJAgC2Ipq3gJ3G4KhtK