Closed jfernandz closed 3 years ago
There were a few extra steps I had to take to get this to work.
It would look something like this:
~% docker run \
-e DISPLAY=$DISPLAY \
--network host \
-v ${HOME}/.Xauthority:/home/pokyuser/.Xauthority \
-v /tmp/.X11-unix/:/tmp/.X11-unix \
--volume=/tmp/foo:/home/pokyuser/building/ \
-it crops/poky/latest:extra_deps \
--workdir=/home/pokyuser/building/
pokyuser@desk0:~/building$ cd poky/build/
pokyuser@desk0:~/building/poky/build$ cd ..
pokyuser@desk0:~/building/poky$ . ./oe-init-build-env
<Snipped>
...
</Snipped>
pokyuser@desk0:~/building/poky/build$ bitbake quilt-native
<Snipped>
...
</Snipped>
NOTE: Executing Tasks
NOTE: Tasks Summary: Attempted 11 tasks of which 0 didn't need to be rerun and all succeeded.
pokyuser@desk0:~/building/poky/build$ bitbake core-image-minimal -g -u taskexp
pokyuser@desk0:~/building/poky/build$
However due to the fact that you see a window pop up briefly, this may be due to a host configuration issue, or the version of bitbake/metadata that is being used. If you point me to the metadata you are using, I'd be willing to try to reproduce it. But due to the interaction with the host(I'm using Fedora) it might not be easy to track down.
There would also be the option of running vnc inside of the container and forwarding the ports, which would remove the host interaction issue.
Apparently I don't need to bind mount .Xauthority
or /tmp/.X11-unix
, the problem was the fresh build directory, when I first build quilt-native
taskexp UI spawns and works as expected.
Thank you, I'd never have guessed about this bug.
Hi everybody,
I'm trying to run
taskexp
UI to check all dependencies of an image, however doing this in crops container it is being a little bit painful. I've created a new Dockerfile to add your image some dependencies that apparentlytaskexp
UI needs:So I can build the image
and then run it with
but now, when I try to run bitbake to have a sight at dependencies of an image, I have a strange error with no more details
Command execution failed:
as you can see in the gif:What do you think might this be due? Thank you all! :grin: