'how to find a solution for the runqemu error?

I am getting this error, after use this command runqemu qemux86 nographic

runqemu - INFO - Running MACHINE=qemux86 bitbake -e ...
runqemu - ERROR - /root/poky/build/tmp/deploy/images/qemux86 not a directory valid DEPLOY_DIR_IMAGE
ls: cannot access '/root/poky/build/tmp/deploy/images/qemux86/*.qemuboot.conf': No such file or directory
runqemu - ERROR - Command 'ls -t /root/poky/build/tmp/deploy/images/qemux86/*.qemuboot.conf' returned non-zero exit status 2.
runqemu - INFO - Cleaning up


Solution 1:[1]

Solution:

  1. check path, whitch shown in second line "runqemu - ERROR - /root/.../qemux86 not a directory valid DEPLOY_DIR_IMAG"
  2. I my case folder ".../quemux86" was missing, but there was a dirrectory ".../quemux86-64"
  3. ln -s qemux86-64 qemux86 - fix the problem :)

Solution 2:[2]

I faced the same problem. But, I don't even know why, it works when I run the following.

runqemu

So maybe that could help.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Yunnosch
Solution 2 cigien