diff options
| author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-05-05 19:15:54 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-05-06 11:16:24 +0100 |
| commit | 1140cca023e58af5e20aed9432e4210afd67f0e1 (patch) | |
| tree | e2e521e8f5c56fb6299edea7f7e2fe07741070f7 /meta/lib/oe/package_manager | |
| parent | e293a3793573ad19f08663fbfcb8f7d9ee828ba4 (diff) | |
| download | poky-1140cca023e58af5e20aed9432e4210afd67f0e1.tar.gz | |
oeqa/qemurunner: Handle path length issues for qmp socket
After the addition of the qmp socket, runqemu started failing:
ERROR - Failed to run qemu: qemu-system-aarch64: -qmp unix:/home/yocto/actions-runner-meta-openembedded/_work/meta-openembedded/meta-openembedded/yoe/build/tmp/.3eg5fiid,server,wait:
UNIX socket path '/home/yocto/actions-runner-meta-openembedded/_work/meta-openembedded/meta-openembedded/yoe/build/tmp/.3eg5fiid' is too long
Path must be less than 108 bytes
To avoid this, run qemu within tmpdir and use a relative path to the socket.
This avoids having to patch the socket code within qemu.
Update the client code to chdir and only use a relative path to the socket
to match.
(From OE-Core rev: 5c56e72fca18dc942f5c1fd377e98d46ae0126f1)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oe/package_manager')
0 files changed, 0 insertions, 0 deletions
