diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2023-03-31 01:27:24 +0200 |
---|---|---|
committer | Steve Sakoman <steve@sakoman.com> | 2023-04-14 06:30:30 -1000 |
commit | bc0bc0504e8fa36b7f956e9dbb51fb72789ceb0c (patch) | |
tree | 6fa6ee074a94cba4e563e15abe43aa5e70e64aae /scripts/task-time | |
parent | d4e7033be5943648991248dd3115ea1a015576d2 (diff) | |
download | poky-bc0bc0504e8fa36b7f956e9dbb51fb72789ceb0c.tar.gz |
runqemu: respect IMAGE_LINK_NAME
* when searching for qemuboot.conf
* don't assume that IMAGE_LINK_NAME is always
<rootfs>-<machine> (with <rootfs>-<machine>.qemuboot.conf)
* runqemu: use IMAGE_LINK_NAME set by testimage.bbclass or query with bitbake -e
* testimage.bbclass was setting DEPLOY_DIR which I don't see used
anywhere else, so I assume it was supposed to be DEPLOY_DIR_IMAGE as mentioned
in corresponding runqemu code, do the same with IMAGE_LINK_NAME variable
* add virtual/kernel as bitbake -e target in run_bitbake_env to make
sure IMAGE_LINK_NAME is defined (kernel-artifact-names.bbclass inherits
image-artifact-names.bbclass as well)
* improve .qemuboot.conf search
1st search for file matching the rootfs and only when not found
try again with .rootfs suffix removed
[YOCTO #12937]
(From OE-Core rev: 82b7a8d5e81d766d0a5c2d0fef0f4c13a8f80c31)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 716eb55bb963db7b02d985849cb025898aabc855)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'scripts/task-time')
0 files changed, 0 insertions, 0 deletions